未验证 提交 5dc76637 编写于 作者: C chentianyu03 提交者: GitHub

change namespace to fix conflict (#40164)

上级 0f925968
......@@ -89,7 +89,7 @@ void SigmoidCrossEntropyWithLogitsGradKernel(const Context &dev_ctx,
reduce_dim.push_back(i);
}
kernels::TensorReduceImpl<T, T, kps::AddFunctor, NonzeroFunctor<T>>(
funcs::TensorReduceImpl<T, T, kps::AddFunctor, NonzeroFunctor<T>>(
dev_ctx,
*counts_tensor,
norm_tensor,
......
......@@ -89,7 +89,7 @@ void SigmoidCrossEntropyWithLogitsKernel(const Context &dev_ctx,
reduce_dim.push_back(i);
}
kernels::TensorReduceImpl<T, T, kps::AddFunctor, NonzeroFunctor<T>>(
funcs::TensorReduceImpl<T, T, kps::AddFunctor, NonzeroFunctor<T>>(
dev_ctx,
*counts_tensor,
norm_tensor,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册