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

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

Fix condition in mutateOperationOperandTypeSkip for conv ops.

am: f80e3e78

Change-Id: Ic6bf0ce3c425f709e6c2edd33f7432af7e59d5be
parents 384fcd1e f80e3e78
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;
                }