You need to sign in or sign up before continuing.
提交 6d32e960 编写于 作者: S sneaxiy

remove redundant comments

上级 568c4e5e
......@@ -13,11 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/arg_max_op.h"
/*
REGISTER_ARG_MINMAX_OP_WITHOUT_GRADIENT(arg_max, ArgMax);
REGISTER_ARG_MINMAX_KERNEL(arg_max, ArgMax, CPU);
*/
REGISTER_OPERATOR(arg_max, paddle::operators::ArgMaxOp,
paddle::operators::ArgMaxOpMaker,
......
......@@ -14,8 +14,6 @@ limitations under the License. */
#include "paddle/fluid/operators/arg_max_op.h"
// REGISTER_ARG_MINMAX_KERNEL(arg_max, ArgMax, CUDA);
REGISTER_OP_CUDA_KERNEL(
arg_max,
paddle::operators::ArgMaxKernel<paddle::platform::CUDADeviceContext, float,
......
......@@ -13,11 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License. */
#include "paddle/fluid/operators/arg_min_op.h"
/*
REGISTER_ARG_MINMAX_OP_WITHOUT_GRADIENT(arg_min, ArgMin);
REGISTER_ARG_MINMAX_KERNEL(arg_min, ArgMin, CPU);
*/
REGISTER_OPERATOR(arg_min, paddle::operators::ArgMinOp,
paddle::operators::ArgMinOpMaker,
......
......@@ -14,8 +14,6 @@ limitations under the License. */
#include "paddle/fluid/operators/arg_min_op.h"
// REGISTER_ARG_MINMAX_KERNEL(arg_min, ArgMin, CUDA);
REGISTER_OP_CUDA_KERNEL(
arg_min,
paddle::operators::ArgMinKernel<paddle::platform::CUDADeviceContext, float,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册