提交 22fde24a 编写于 作者: P phlrain

fix erp error

上级 7ab3f36e
......@@ -22,7 +22,6 @@ limitations under the License. */
namespace phi {
std::vector<int> GetAxis(const DataLayout& from, const DataLayout& to) {
LOG(ERROR) << from << "\t" << to;
PADDLE_ENFORCE_NE(
from,
to,
......
......@@ -636,7 +636,7 @@
- backward_api : erf_grad
forward : erf (Tensor x) -> Tensor(out)
args : (Tensor x, Tensor out, Tensor out_grad)
args : (Tensor x, Tensor out_grad)
output : Tensor(x_grad)
infer_meta :
func : UnchangedInferMeta
......@@ -644,7 +644,6 @@
kernel :
func : erf_grad
data_type : out_grad
layout : out_grad
- backward_api : erfinv_grad
forward : erf (Tensor x) -> Tensor(out)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册