Home
last modified time | relevance | path

Searched refs:truncation_op (Results 1 – 4 of 4) sorted by relevance

/external/XNNPACK/bench/
Dtruncation.cc38 xnn_operator_t truncation_op = nullptr; in xnnpack_truncation_f32() local
41 0 /* flags */, &truncation_op); in xnnpack_truncation_f32()
42 if (status != xnn_status_success || truncation_op == nullptr) { in xnnpack_truncation_f32()
48 truncation_op, in xnnpack_truncation_f32()
58 status = xnn_run_operator(truncation_op, nullptr /* thread pool */); in xnnpack_truncation_f32()
65 status = xnn_delete_operator(truncation_op); in xnnpack_truncation_f32()
/external/XNNPACK/test/
Dtruncation-operator-tester.h105 xnn_operator_t truncation_op = nullptr; in TestF32() local
110 0, &truncation_op)); in TestF32()
111 ASSERT_NE(nullptr, truncation_op); in TestF32()
114 …_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_truncation_op(truncation_op, xnn_delete_op… in TestF32()
118 truncation_op, in TestF32()
124 xnn_run_operator(truncation_op, nullptr /* thread pool */)); in TestF32()
/external/XNNPACK/src/operators/
Dunary-elementwise-nc.c799 xnn_operator_t truncation_op, in xnn_setup_truncation_nc_f32() argument
805 if (truncation_op->type != xnn_operator_type_truncation_nc_f32) { in xnn_setup_truncation_nc_f32()
808 xnn_operator_type_to_string(truncation_op->type)); in xnn_setup_truncation_nc_f32()
811 truncation_op->state = xnn_run_state_invalid; in xnn_setup_truncation_nc_f32()
814 truncation_op, in xnn_setup_truncation_nc_f32()
817 &truncation_op->params.f32_rnd, sizeof(truncation_op->params.f32_rnd)); in xnn_setup_truncation_nc_f32()
/external/XNNPACK/include/
Dxnnpack.h1639 xnn_operator_t truncation_op,