Remove useless assertion
It makes validation check fail on debug build
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
return ANEURALNETWORKS_BAD_STATE;
}
- // ASSUME A tensor operand should consists of fp32 or int32 values.
- // NOTE We do not care about scalar operands.
- assert((type->dimensionCount == 0) || (type->type == ANEURALNETWORKS_TENSOR_FLOAT32 ||
- type->type == ANEURALNETWORKS_TENSOR_INT32 ||
- type->type == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM));
-
// scale and zeroPoint should be zero for scalars and non-fixed point tensors
// Quantized:
// scale: a 32 bit floating point value greater than zero