Lines Matching refs:data_path
75 std::string data_path = common_params.data_path; in do_setup() local
78 if(!data_path.empty()) in do_setup()
80 data_path += model_path; in do_setup()
99 get_weights_accessor(data_path, "conv3_0_w_0.npy", weights_layout), in do_setup()
100 get_weights_accessor(data_path, "conv3_0_b_0.npy", weights_layout), in do_setup()
104 get_weights_accessor(data_path, "conv3_0_bn_rm_0.npy"), in do_setup()
105 get_weights_accessor(data_path, "conv3_0_bn_riv_0.npy"), in do_setup()
106 get_weights_accessor(data_path, "conv3_0_bn_s_0.npy"), in do_setup()
107 get_weights_accessor(data_path, "conv3_0_bn_b_0.npy"), in do_setup()
114 … add_residual_block(data_path, DataLayout::NCHW, 0U /* unit */, 112U /* depth */, 2U /* stride */); in do_setup()
115 … add_residual_block(data_path, DataLayout::NCHW, 1U /* unit */, 136U /* depth */, 1U /* stride */); in do_setup()
116 … add_residual_block(data_path, DataLayout::NCHW, 2U /* unit */, 136U /* depth */, 1U /* stride */); in do_setup()
117 … add_residual_block(data_path, DataLayout::NCHW, 3U /* unit */, 136U /* depth */, 1U /* stride */); in do_setup()
120 … add_residual_block(data_path, DataLayout::NCHW, 4U /* unit */, 136U /* depth */, 2U /* stride */); in do_setup()
121 … add_residual_block(data_path, DataLayout::NCHW, 5U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
122 … add_residual_block(data_path, DataLayout::NCHW, 6U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
123 … add_residual_block(data_path, DataLayout::NCHW, 7U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
124 … add_residual_block(data_path, DataLayout::NCHW, 8U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
125 … add_residual_block(data_path, DataLayout::NCHW, 9U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
126 …add_residual_block(data_path, DataLayout::NCHW, 10U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
127 …add_residual_block(data_path, DataLayout::NCHW, 11U /* unit */, 272U /* depth */, 1U /* stride */); in do_setup()
130 …add_residual_block(data_path, DataLayout::NCHW, 12U /* unit */, 272U /* depth */, 2U /* stride */); in do_setup()
131 …add_residual_block(data_path, DataLayout::NCHW, 13U /* unit */, 544U /* depth */, 1U /* stride */); in do_setup()
132 …add_residual_block(data_path, DataLayout::NCHW, 14U /* unit */, 544U /* depth */, 1U /* stride */); in do_setup()
133 …add_residual_block(data_path, DataLayout::NCHW, 15U /* unit */, 544U /* depth */, 1U /* stride */); in do_setup()
139 get_weights_accessor(data_path, "pred_w_0.npy", weights_layout), in do_setup()
140 get_weights_accessor(data_path, "pred_b_0.npy")) in do_setup()
169 void add_residual_block(const std::string &data_path, DataLayout weights_layout, in add_residual_block() argument
191 … get_weights_accessor(data_path, "gconv1_" + gconv_id_name + "_w_0.npy", weights_layout), in add_residual_block()
196 get_weights_accessor(data_path, "gconv1_" + gconv_id_name + "_bn_rm_0.npy"), in add_residual_block()
197 get_weights_accessor(data_path, "gconv1_" + gconv_id_name + "_bn_riv_0.npy"), in add_residual_block()
198 get_weights_accessor(data_path, "gconv1_" + gconv_id_name + "_bn_s_0.npy"), in add_residual_block()
199 get_weights_accessor(data_path, "gconv1_" + gconv_id_name + "_bn_b_0.npy"), in add_residual_block()
206 … get_weights_accessor(data_path, "gconv3_" + unit_id_name + "_w_0.npy", weights_layout), in add_residual_block()
211 get_weights_accessor(data_path, "gconv3_" + unit_id_name + "_bn_rm_0.npy"), in add_residual_block()
212 get_weights_accessor(data_path, "gconv3_" + unit_id_name + "_bn_riv_0.npy"), in add_residual_block()
213 get_weights_accessor(data_path, "gconv3_" + unit_id_name + "_bn_s_0.npy"), in add_residual_block()
214 get_weights_accessor(data_path, "gconv3_" + unit_id_name + "_bn_b_0.npy"), in add_residual_block()
219 … get_weights_accessor(data_path, "gconv1_" + gconv_id_1_name + "_w_0.npy", weights_layout), in add_residual_block()
224 get_weights_accessor(data_path, "gconv1_" + gconv_id_1_name + "_bn_rm_0.npy"), in add_residual_block()
225 get_weights_accessor(data_path, "gconv1_" + gconv_id_1_name + "_bn_riv_0.npy"), in add_residual_block()
226 get_weights_accessor(data_path, "gconv1_" + gconv_id_1_name + "_bn_s_0.npy"), in add_residual_block()
227 get_weights_accessor(data_path, "gconv1_" + gconv_id_1_name + "_bn_b_0.npy"), in add_residual_block()