Home
last modified time | relevance | path

Searched refs:xnn_operator (Results 1 – 25 of 48) sorted by relevance

12

/external/XNNPACK/src/
Dsoftmax-nc.c97 softmax_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_softmax_nc_q8()
99 …error("failed to allocate %zu bytes for SoftMax operator descriptor", sizeof(struct xnn_operator)); in xnn_create_softmax_nc_q8()
219 softmax_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_softmax_nc_f32()
221 …error("failed to allocate %zu bytes for SoftMax operator descriptor", sizeof(struct xnn_operator)); in xnn_create_softmax_nc_f32()
Dclamp-nc.c72 clamp_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_clamp_nc_u8()
74 …g_error("failed to allocate %zu bytes for Clamp operator descriptor", sizeof(struct xnn_operator)); in xnn_create_clamp_nc_u8()
158 clamp_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_clamp_nc_f32()
160 …g_error("failed to allocate %zu bytes for Clamp operator descriptor", sizeof(struct xnn_operator)); in xnn_create_clamp_nc_f32()
Dsigmoid-nc.c105 sigmoid_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_sigmoid_nc_q8()
107 …error("failed to allocate %zu bytes for Sigmoid operator descriptor", sizeof(struct xnn_operator)); in xnn_create_sigmoid_nc_q8()
200 sigmoid_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_sigmoid_nc_f32()
202 …_log_error("failed to allocate %zu bytes for xnn_operator structure", sizeof(struct xnn_operator)); in xnn_create_sigmoid_nc_f32()
Dglobal-average-pooling-nwc.c106 global_average_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_global_average_pooling_nwc_q8()
108 …o allocate %zu bytes for Global Average Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_global_average_pooling_nwc_q8()
207 global_average_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_global_average_pooling_nwc_f32()
209 …o allocate %zu bytes for Global Average Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_global_average_pooling_nwc_f32()
Dadd-nc.c125 add_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_add_nc_q8()
127 …log_error("failed to allocate %zu bytes for Add operator descriptor", sizeof(struct xnn_operator)); in xnn_create_add_nc_q8()
225 add_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_add_nc_f32()
227 …log_error("failed to allocate %zu bytes for Add operator descriptor", sizeof(struct xnn_operator)); in xnn_create_add_nc_f32()
Dglobal-average-pooling-ncw.c74 global_average_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_global_average_pooling_ncw_f32()
76 …o allocate %zu bytes for Global Average Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_global_average_pooling_ncw_f32()
Dchannel-pad-nc.c65 channel_pad_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_channel_pad_nc_x32()
67 …r("failed to allocate %zu bytes for Channel Pad operator descriptor", sizeof(struct xnn_operator)); in xnn_create_channel_pad_nc_x32()
Dhardswish-nc.c60 hardswish_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_hardswish_nc_f32()
62 …_log_error("failed to allocate %zu bytes for xnn_operator structure", sizeof(struct xnn_operator)); in xnn_create_hardswish_nc_f32()
Dfully-connected-nc.c126 fully_connected_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_fully_connected_nc_q8()
128 …ailed to allocate %zu bytes for Fully Connected operator descriptor", sizeof(struct xnn_operator)); in xnn_create_fully_connected_nc_q8()
267 fully_connected_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_fully_connected_nc_f32()
269 …ailed to allocate %zu bytes for Fully Connected operator descriptor", sizeof(struct xnn_operator)); in xnn_create_fully_connected_nc_f32()
Dmax-pooling-nhwc.c131 max_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_max_pooling2d_nhwc_u8()
133 …r("failed to allocate %zu bytes for Max Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_max_pooling2d_nhwc_u8()
272 max_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_max_pooling2d_nhwc_f32()
274 …r("failed to allocate %zu bytes for Max Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_max_pooling2d_nhwc_f32()
Dprelu-nc.c71 prelu_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_prelu_nc_f32()
73 …g_error("failed to allocate %zu bytes for PReLU operator descriptor", sizeof(struct xnn_operator)); in xnn_create_prelu_nc_f32()
Dchannel-shuffle-nc.c73 channel_shuffle_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in create_channel_shuffle_nc()
75 …ailed to allocate %zu bytes for Channel Shuffle operator descriptor", sizeof(struct xnn_operator)); in create_channel_shuffle_nc()
Dleaky-relu-nc.c115 leaky_relu_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_leaky_relu_nc_q8()
117 …or("failed to allocate %zu bytes for Leaky ReLU operator descriptor", sizeof(struct xnn_operator)); in xnn_create_leaky_relu_nc_q8()
Dresize-bilinear-nhwc.c65 resize_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_resize_bilinear2d_nhwc_f32()
67 …ailed to allocate %zu bytes for Resize Bilinear operator descriptor", sizeof(struct xnn_operator)); in xnn_create_resize_bilinear2d_nhwc_f32()
Dunpooling-nhwc.c95 unpooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_unpooling2d_nhwc_x32()
97 …ror("failed to allocate %zu bytes for Unpooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_unpooling2d_nhwc_x32()
Dargmax-pooling-nhwc.c131 argmax_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_argmax_pooling2d_nhwc_f32()
133 …failed to allocate %zu bytes for Argmax Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_argmax_pooling2d_nhwc_f32()
Daverage-pooling-nhwc.c158 average_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_average_pooling2d_nhwc_q8()
160 …ailed to allocate %zu bytes for Average Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_average_pooling2d_nhwc_q8()
306 average_pooling_op = xnn_allocate_zero_simd_memory(sizeof(struct xnn_operator)); in xnn_create_average_pooling2d_nhwc_f32()
308 …ailed to allocate %zu bytes for Average Pooling operator descriptor", sizeof(struct xnn_operator)); in xnn_create_average_pooling2d_nhwc_f32()
/external/XNNPACK/models/
Dmodels.h15 typedef std::vector<std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)>> ExecutionPlan;
/external/XNNPACK/test/
Dchannel-shuffle-operator-tester.h122 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_channel_shuffle_op(channel_shuf… in TestX8()
170 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_channel_shuffle_op(channel_shuf… in TestX32()
Dglobal-average-pooling-operator-tester.h193 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_global_average_pooling_op(globa… in TestNWCxQ8()
268 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_global_average_pooling_op(globa… in TestNWCxF32()
344 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_global_average_pooling_op(globa… in TestNCWxF32()
Dsoftmax-operator-tester.h159 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_softmax_op(softmax_op, xnn_dele… in TestQ8()
218 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_softmax_op(softmax_op, xnn_dele… in TestF32()
Dsigmoid-operator-tester.h172 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_sigmoid_op(sigmoid_op, xnn_dele… in TestQ8()
226 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_sigmoid_op(sigmoid_op, xnn_dele… in TestF32()
Dclamp-operator-tester.h137 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_clamp_op(clamp_op, xnn_delete_o… in TestU8()
198 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_clamp_op(clamp_op, xnn_delete_o… in TestF32()
Dadd-operator-tester.h223 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_add_op(add_op, xnn_delete_opera… in TestQ8()
291 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_add_op(add_op, xnn_delete_opera… in TestF32()
/external/XNNPACK/bench/
Dend2end.cc40 for (const std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)>& op : execution_plan) { in End2EndBenchmark()

12