Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DOperationsUtils.cpp174 NN_OPS_CHECK(double_multiplier >= 0.); in QuantizeMultiplierSmallerThanOne()
175 NN_OPS_CHECK(double_multiplier < 1.); in QuantizeMultiplierSmallerThanOne()
181 NN_OPS_CHECK(double_multiplier > 0.); in QuantizeMultiplierSmallerThanOne()
185 NN_OPS_CHECK(q_fixed <= (1LL << 31)); in QuantizeMultiplierSmallerThanOne()
190 NN_OPS_CHECK(*right_shift >= 0); in QuantizeMultiplierSmallerThanOne()
191 NN_OPS_CHECK(q_fixed <= std::numeric_limits<int32_t>::max()); in QuantizeMultiplierSmallerThanOne()
199 NN_OPS_CHECK(double_multiplier > 1.); in QuantizeMultiplierGreaterThanOne()
202 NN_OPS_CHECK(q_fixed <= (1LL << 31)); in QuantizeMultiplierGreaterThanOne()
207 NN_OPS_CHECK(*left_shift >= 0); in QuantizeMultiplierGreaterThanOne()
208 NN_OPS_CHECK(q_fixed <= std::numeric_limits<int32_t>::max()); in QuantizeMultiplierGreaterThanOne()
[all …]
/frameworks/ml/nn/common/operations/
DPow.cpp60 NN_OPS_CHECK(baseShape.type == exponentShape.type); in prepare()
DReshape.cpp87 NN_OPS_CHECK(numInputDims <= 4); in padGeneric()
/frameworks/ml/nn/common/include/
DOperationsUtils.h30 #define NN_OPS_CHECK(x) NN_RET_CHECK(x) macro