提交 ef882a3b 编写于 作者: U Unknown 提交者: liutuo

格式检查

上级 e15b19ef
......@@ -52,7 +52,7 @@ struct EltwiseFunctor : EltwiseFunctorBase {
case PROD:
#pragma omp parallel for
for (index_t i = 0; i < size; ++i) {
output_ptr[i] = input0_ptr[i] * input1_ptr[i];
output_ptr[i] = input0_ptr[i] * input1_ptr[i];
}
break;
case SUM:
......
......@@ -12,8 +12,8 @@ namespace kernels {
template <typename T>
void CWiseFunctor<DeviceType::OPENCL, T>::operator()(const Tensor *input,
Tensor *output,
StatsFuture *future) {
Tensor *output,
StatsFuture *future) {
const index_t batch = input->dim(0);
const index_t height = input->dim(1);
const index_t width = input->dim(2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册