提交 46706ae5 编写于 作者: L liuruilong

format files

上级 4815efe4
......@@ -21,7 +21,7 @@ limitations under the License. */
namespace paddle_mobile {
namespace operators {
template<typename P>
template <typename P>
void BatchnormCompute(const BatchNormParam &param) {
const Tensor *input_x = param.InputX();
auto input_x_ptr = input_x->data<float>();
......@@ -199,7 +199,8 @@ void BatchnormCompute(const BatchNormParam &param) {
}
Tensor new_scale;
auto new_scale_ptr = new_scale.mutable_data<float>(framework::make_ddim({C}));
auto new_scale_ptr =
new_scale.mutable_data<float>(framework::make_ddim({C}));
Tensor new_bias;
auto new_bias_ptr = new_bias.mutable_data<float>(framework::make_ddim({C}));
......@@ -227,7 +228,7 @@ void BatchnormCompute(const BatchNormParam &param) {
}
}
}
}
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -20,7 +20,7 @@ limitations under the License. */
namespace paddle_mobile {
namespace operators {
template<typename P>
template <typename P>
void ConvAddReluCompute(const FusionConvAddReluParam &param) {
const Tensor *input = param.Input();
Tensor filter = *param.Filter();
......@@ -110,7 +110,7 @@ void ConvAddReluCompute(const FusionConvAddReluParam &param) {
}
}
}
}
} // namespace operators
} // namespace paddle_mobile
#endif
......@@ -20,7 +20,7 @@ limitations under the License. */
namespace paddle_mobile {
namespace operators {
template<typename P>
template <typename P>
void ConvCompute(const ConvParam &param) {
const Tensor *input = param.Input();
Tensor filter = *param.Filter();
......@@ -106,7 +106,7 @@ void ConvCompute(const ConvParam &param) {
}
}
}
}
} // namespace operators
} // namespace paddle_mobile
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册