Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support for ARG(MIN|MAX)"

This commit is contained in:
Przemyslaw Szczepaniak 2019-12-11 10:56:20 +00:00 committed by Android (Google) Code Review
commit 463f1a18fd

View file

@ -340,7 +340,8 @@ static bool mutateOperationOperandTypeSkip(size_t operand, OperandType type, con
case OperationType::ARGMAX:
case OperationType::ARGMIN: {
if (type == OperandType::TENSOR_FLOAT16 || type == OperandType::TENSOR_FLOAT32 ||
type == OperandType::TENSOR_INT32 || type == OperandType::TENSOR_QUANT8_ASYMM) {
type == OperandType::TENSOR_INT32 || type == OperandType::TENSOR_QUANT8_ASYMM ||
type == OperandType::TENSOR_QUANT8_ASYMM_SIGNED) {
return true;
}
} break;