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

Commit cd83160e authored by Xusong Wang's avatar Xusong Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix condition in mutateOperationOperandTypeSkip for conv ops."

parents 2781b367 8804423c
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;
                }