Searched refs:NN_OPS_CHECK (Results 1 – 7 of 7) sorted by relevance
218 NN_OPS_CHECK(double_multiplier >= 0.); in QuantizeMultiplierSmallerThanOne()219 NN_OPS_CHECK(double_multiplier < 1.); in QuantizeMultiplierSmallerThanOne()225 NN_OPS_CHECK(double_multiplier > 0.); in QuantizeMultiplierSmallerThanOne()229 NN_OPS_CHECK(q_fixed <= (1LL << 31)); in QuantizeMultiplierSmallerThanOne()234 NN_OPS_CHECK(*right_shift >= 0); in QuantizeMultiplierSmallerThanOne()235 NN_OPS_CHECK(q_fixed <= std::numeric_limits<int32_t>::max()); in QuantizeMultiplierSmallerThanOne()242 NN_OPS_CHECK(double_multiplier > 1.); in QuantizeMultiplierGreaterThanOne()245 NN_OPS_CHECK(q_fixed <= (1LL << 31)); in QuantizeMultiplierGreaterThanOne()250 NN_OPS_CHECK(*left_shift >= 0); in QuantizeMultiplierGreaterThanOne()251 NN_OPS_CHECK(q_fixed <= std::numeric_limits<int32_t>::max()); in QuantizeMultiplierGreaterThanOne()[all …]
145 NN_OPS_CHECK(numInputDims <= 4); in prepare()151 NN_OPS_CHECK(getNumberOfDimensions(beginShape) == 1); in prepare()152 NN_OPS_CHECK(getNumberOfDimensions(endShape) == 1); in prepare()153 NN_OPS_CHECK(getNumberOfDimensions(stridesShape) == 1); in prepare()155 NN_OPS_CHECK(getSizeOfDimension(beginShape, 0) == numInputDims); in prepare()156 NN_OPS_CHECK(getSizeOfDimension(endShape, 0) == numInputDims); in prepare()157 NN_OPS_CHECK(getSizeOfDimension(stridesShape, 0) == numInputDims); in prepare()159 NN_OPS_CHECK(beginShape.type == OperandType::TENSOR_INT32); in prepare()160 NN_OPS_CHECK(endShape.type == OperandType::TENSOR_INT32); in prepare()161 NN_OPS_CHECK(stridesShape.type == OperandType::TENSOR_INT32); in prepare()[all …]
83 NN_OPS_CHECK(squeezeDimsShape.type == OperandType::TENSOR_INT32); in prepare()84 NN_OPS_CHECK(getNumberOfDimensions(squeezeDimsShape) == 1); in prepare()102 NN_OPS_CHECK(current >= 0 && current < numInputDims && in prepare()
62 NN_OPS_CHECK(baseShape.type == exponentShape.type); in prepare()
95 NN_OPS_CHECK(numInputDims <= 4); in padGeneric()
553 NN_OPS_CHECK(param.depth_multiplier * channels_in == channels_out); in prepare()
32 #define NN_OPS_CHECK(x) NN_RET_CHECK(x) macro