“8238164fe8ce6f4574c38302057646946d14e813”上不存在“develop/doc/howto/cluster/multi_cluster/k8s_aws_en.html”
提交 24b0736b 编写于 作者: L liuruilong

format files

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