Home
last modified time | relevance | path

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

/external/XNNPACK/test/
Dclamp-operator-tester.h137 xnn_operator_t clamp_op = nullptr; in TestU8() local
143 0, &clamp_op)); in TestU8()
144 ASSERT_NE(nullptr, clamp_op); in TestU8()
147 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_clamp_op(clamp_op, xnn_delete_o… in TestU8()
151 clamp_op, in TestU8()
157 xnn_run_operator(clamp_op, nullptr /* thread pool */)); in TestU8()
199 xnn_operator_t clamp_op = nullptr; in TestF32() local
207 0, &clamp_op)); in TestF32()
208 ASSERT_NE(nullptr, clamp_op); in TestF32()
211 …std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)> auto_clamp_op(clamp_op, xnn_delete_o… in TestF32()
[all …]
/external/XNNPACK/src/operators/
Dunary-elementwise-nc.c535 xnn_operator_t clamp_op, in xnn_setup_clamp_nc_u8() argument
541 if (clamp_op->type != xnn_operator_type_clamp_nc_u8) { in xnn_setup_clamp_nc_u8()
544 xnn_operator_type_to_string(clamp_op->type)); in xnn_setup_clamp_nc_u8()
547 clamp_op->state = xnn_run_state_invalid; in xnn_setup_clamp_nc_u8()
550 clamp_op, in xnn_setup_clamp_nc_u8()
553 &clamp_op->params.u8_minmax, sizeof(clamp_op->params.u8_minmax)); in xnn_setup_clamp_nc_u8()
557 xnn_operator_t clamp_op, in xnn_setup_clamp_nc_f32() argument
563 if (clamp_op->type != xnn_operator_type_clamp_nc_f32) { in xnn_setup_clamp_nc_f32()
566 xnn_operator_type_to_string(clamp_op->type)); in xnn_setup_clamp_nc_f32()
569 clamp_op->state = xnn_run_state_invalid; in xnn_setup_clamp_nc_f32()
[all …]
/external/XNNPACK/include/
Dxnnpack.h1220 xnn_operator_t clamp_op,
2217 xnn_operator_t clamp_op,
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h999 clamp_op = [](ElementwiseT low, ElementwiseT value, ElementwiseT high) {
1006 std::move(ConvertTernaryFunction(clamp_op))));
1016 clamp_op = [](ElementwiseT low, ElementwiseT value, ElementwiseT high) {
1026 std::move(ConvertTernaryFunction(clamp_op))));