Fix condition in mutateOperationOperandTypeSkip for conv ops. am: f80e3e7826
am: 47841b4de8
Change-Id: I6c567bc7d4513480bb4581af9c5e48d7065de42c
This commit is contained in:
commit
207844312a
1 changed files with 3 additions and 2 deletions
|
@ -388,8 +388,9 @@ static bool mutateOperationOperandTypeSkip(size_t operand, OperandType type, con
|
|||
case OperationType::GROUPED_CONV_2D:
|
||||
case OperationType::DEPTHWISE_CONV_2D:
|
||||
case OperationType::CONV_2D: {
|
||||
if (operand == 1 && (type == OperandType::TENSOR_QUANT8_ASYMM ||
|
||||
type == OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL)) {
|
||||
if (operand == operation.inputs[1] &&
|
||||
(type == OperandType::TENSOR_QUANT8_ASYMM ||
|
||||
type == OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL)) {
|
||||
return true;
|
||||
}
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue