@@ -205,7 +205,7 @@ The definition of its corresponding backward operator, if applicable, is similar
- `REGISTER_OP` registers the `ops::MulOp` class, type named `mul`, its type `ProtoMaker` is `ops::MulOpMaker`, registering `ops::MulOpGrad` as `mul_grad`.
- `REGISTER_OP_WITHOUT_GRADIENT` registers an operator without gradient.
- `REGISTER_OP_CPU_KERNEL` registers `ops::MulKernel` class and specialized template types `paddle::platform::CPUPlace` and `float`, which also registers `ops::MulKernel`.
- `REGISTER_OP_CPU_KERNEL` registers `ops::MulKernel` class and specialized template types `paddle::platform::CPUPlace` and `float`, which also registers `ops::MulGradKernel`.
@@ -359,7 +359,7 @@ Registering the Op | Ops are registered in <code class="docutils liter
<ulclass="simple">
<li><codeclass="docutils literal"><spanclass="pre">REGISTER_OP</span></code> registers the <codeclass="docutils literal"><spanclass="pre">ops::MulOp</span></code> class, type named <codeclass="docutils literal"><spanclass="pre">mul</span></code>, its type <codeclass="docutils literal"><spanclass="pre">ProtoMaker</span></code> is <codeclass="docutils literal"><spanclass="pre">ops::MulOpMaker</span></code>, registering <codeclass="docutils literal"><spanclass="pre">ops::MulOpGrad</span></code> as <codeclass="docutils literal"><spanclass="pre">mul_grad</span></code>.</li>
<li><codeclass="docutils literal"><spanclass="pre">REGISTER_OP_WITHOUT_GRADIENT</span></code> registers an operator without gradient.</li>
<li><codeclass="docutils literal"><spanclass="pre">REGISTER_OP_CPU_KERNEL</span></code> registers <codeclass="docutils literal"><spanclass="pre">ops::MulKernel</span></code> class and specialized template types <codeclass="docutils literal"><spanclass="pre">paddle::platform::CPUPlace</span></code> and <codeclass="docutils literal"><spanclass="pre">float</span></code>, which also registers <codeclass="docutils literal"><spanclass="pre">ops::MulKernel</span></code>.</li>
<li><codeclass="docutils literal"><spanclass="pre">REGISTER_OP_CPU_KERNEL</span></code> registers <codeclass="docutils literal"><spanclass="pre">ops::MulKernel</span></code> class and specialized template types <codeclass="docutils literal"><spanclass="pre">paddle::platform::CPUPlace</span></code> and <codeclass="docutils literal"><spanclass="pre">float</span></code>, which also registers <codeclass="docutils literal"><spanclass="pre">ops::MulGradKernel</span></code>.</li>