Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20784431 authored by Xusong Wang's avatar Xusong Wang Committed by android-build-merger
Browse files

Fix condition in mutateOperationOperandTypeSkip for conv ops. am: f80e3e78

am: 47841b4d

Change-Id: I6c567bc7d4513480bb4581af9c5e48d7065de42c
parents 43e4a63e 47841b4d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -388,7 +388,8 @@ 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 ||
                if (operand == operation.inputs[1] &&
                    (type == OperandType::TENSOR_QUANT8_ASYMM ||
                     type == OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL)) {
                    return true;
                }