aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2022-03-30 18:42:23 +0100
committerRamy Elgammal <ramy.elgammal@arm.com>2022-04-04 10:18:05 +0000
commitb4cd2dc3deb7e55afeee7c8192ee7e3819e9cc97 (patch)
treefcc75d8f3fa99fe73ec6c25cfaa103caea7bed43 /examples
parent171fc3d160736e10f859c6f2a24d1c7a59bcd9e3 (diff)
downloadComputeLibrary-b4cd2dc3deb7e55afeee7c8192ee7e3819e9cc97.tar.gz
Remove Non-Inclusive Term "Master"
Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Resolves: COMPMID-5017 Change-Id: I377d04512df357191e5a60d6dcf35121e71bf153 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7360 Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/graph_ssd_mobilenet.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/examples/graph_ssd_mobilenet.cpp b/examples/graph_ssd_mobilenet.cpp
index c0859227ab..9fe7f5b454 100644
--- a/examples/graph_ssd_mobilenet.cpp
+++ b/examples/graph_ssd_mobilenet.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2021 Arm Limited.
+ * Copyright (c) 2018-2022 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -121,12 +121,12 @@ private:
SimpleOption<std::string> *detection_scores_opt{ nullptr };
SimpleOption<std::string> *num_detections_opt{ nullptr };
- ConcatLayer get_node_A_float(IStream &master_graph, const std::string &data_path, std::string &&param_path,
+ ConcatLayer get_node_A_float(IStream &main_graph, const std::string &data_path, std::string &&param_path,
unsigned int conv_filt,
PadStrideInfo dwc_pad_stride_info, PadStrideInfo conv_pad_stride_info)
{
const std::string total_path = param_path + "_";
- SubStream sg(master_graph);
+ SubStream sg(main_graph);
sg << DepthwiseConvolutionLayer(
3U, 3U,
@@ -157,12 +157,12 @@ private:
return ConcatLayer(std::move(sg));
}
- ConcatLayer get_node_B_float(IStream &master_graph, const std::string &data_path, std::string &&param_path,
+ ConcatLayer get_node_B_float(IStream &main_graph, const std::string &data_path, std::string &&param_path,
unsigned int conv_filt,
PadStrideInfo conv_pad_stride_info_1, PadStrideInfo conv_pad_stride_info_2)
{
const std::string total_path = param_path + "_";
- SubStream sg(master_graph);
+ SubStream sg(main_graph);
sg << ConvolutionLayer(
1, 1, conv_filt / 2,
@@ -193,11 +193,11 @@ private:
return ConcatLayer(std::move(sg));
}
- ConcatLayer get_node_C_float(IStream &master_graph, const std::string &data_path, std::string &&param_path,
+ ConcatLayer get_node_C_float(IStream &main_graph, const std::string &data_path, std::string &&param_path,
unsigned int conv_filt, PadStrideInfo conv_pad_stride_info)
{
const std::string total_path = param_path + "_";
- SubStream sg(master_graph);
+ SubStream sg(main_graph);
sg << ConvolutionLayer(
1U, 1U, conv_filt,
get_weights_accessor(data_path, total_path + "w.npy"),
@@ -381,13 +381,13 @@ private:
detection_ouput << OutputLayer(get_detection_output_accessor(common_params, { input_descriptor.shape }));
}
- ConcatLayer get_node_A_qasymm(IStream &master_graph, const std::string &data_path, std::string &&param_path,
+ ConcatLayer get_node_A_qasymm(IStream &main_graph, const std::string &data_path, std::string &&param_path,
unsigned int conv_filt,
PadStrideInfo dwc_pad_stride_info, PadStrideInfo conv_pad_stride_info,
std::pair<QuantizationInfo, QuantizationInfo> depth_quant_info, std::pair<QuantizationInfo, QuantizationInfo> point_quant_info)
{
const std::string total_path = param_path + "_";
- SubStream sg(master_graph);
+ SubStream sg(main_graph);
sg << DepthwiseConvolutionLayer(
3U, 3U,
@@ -408,13 +408,13 @@ private:
return ConcatLayer(std::move(sg));
}
- ConcatLayer get_node_B_qasymm(IStream &master_graph, const std::string &data_path, std::string &&param_path,
+ ConcatLayer get_node_B_qasymm(IStream &main_graph, const std::string &data_path, std::string &&param_path,
unsigned int conv_filt,
PadStrideInfo conv_pad_stride_info_1x1, PadStrideInfo conv_pad_stride_info_3x3,
const std::pair<QuantizationInfo, QuantizationInfo> quant_info_1x1, const std::pair<QuantizationInfo, QuantizationInfo> quant_info_3x3)
{
const std::string total_path = param_path + "_";
- SubStream sg(master_graph);
+ SubStream sg(main_graph);
sg << ConvolutionLayer(
1, 1, conv_filt / 2,
@@ -435,12 +435,12 @@ private:
return ConcatLayer(std::move(sg));
}
- ConcatLayer get_node_C_qasymm(IStream &master_graph, const std::string &data_path, std::string &&param_path,
+ ConcatLayer get_node_C_qasymm(IStream &main_graph, const std::string &data_path, std::string &&param_path,
unsigned int conv_filt, PadStrideInfo conv_pad_stride_info,
const std::pair<QuantizationInfo, QuantizationInfo> quant_info, TensorShape reshape_shape)
{
const std::string total_path = param_path + "_";
- SubStream sg(master_graph);
+ SubStream sg(main_graph);
sg << ConvolutionLayer(
1U, 1U, conv_filt,
get_weights_accessor(data_path, total_path + "w.npy"),