aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/graph_mobilenet.cpp2
-rw-r--r--examples/graph_mobilenet_v2.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/graph_mobilenet.cpp b/examples/graph_mobilenet.cpp
index 19a395d492..8d5e7f6dc4 100644
--- a/examples/graph_mobilenet.cpp
+++ b/examples/graph_mobilenet.cpp
@@ -323,7 +323,7 @@ private:
3U, 3U,
get_weights_accessor(data_path, total_path + "depthwise_weights.npy"),
get_weights_accessor(data_path, total_path + "depthwise_bias.npy"),
- dwc_pad_stride_info, depth_weights_quant_info)
+ dwc_pad_stride_info, 1, depth_weights_quant_info)
.set_name(total_path + "depthwise/depthwise")
<< ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f)).set_name(total_path + "depthwise/Relu6")
<< ConvolutionLayer(
diff --git a/examples/graph_mobilenet_v2.cpp b/examples/graph_mobilenet_v2.cpp
index 2f15d0b0ea..8805999f99 100644
--- a/examples/graph_mobilenet_v2.cpp
+++ b/examples/graph_mobilenet_v2.cpp
@@ -364,7 +364,7 @@ private:
<< DepthwiseConvolutionLayer(3U, 3U,
get_weights_accessor(data_path, "expanded_conv_depthwise_depthwise_weights.npy"),
get_weights_accessor(data_path, "expanded_conv_depthwise_depthwise_biases.npy"),
- PadStrideInfo(1, 1, 1, 1), dwc_q.at(0))
+ PadStrideInfo(1, 1, 1, 1), 1, dwc_q.at(0))
.set_name("expanded_conv/depthwise/depthwise")
<< ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f)).set_name("expanded_conv/depthwise/Relu6")
<< ConvolutionLayer(1U, 1U, 16U,
@@ -425,7 +425,7 @@ private:
<< DepthwiseConvolutionLayer(3U, 3U,
get_weights_accessor(data_path, total_path + "depthwise_depthwise_weights.npy"),
get_weights_accessor(data_path, total_path + "depthwise_depthwise_biases.npy"),
- dwc_pad_stride_info, dwi)
+ dwc_pad_stride_info, 1, dwi)
.set_name(param_path + "/depthwise/depthwise")
<< ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f)).set_name(param_path + "/depthwise/Relu6")
<< ConvolutionLayer(1U, 1U, output_channels,