Lines Matching refs:newOperandCode
478 for (int32_t newOperandCode : kAvailableOperandCodes) { in testMutatingInputOperandCode() local
479 if (newOperandCode == originalOperandCode || in testMutatingInputOperandCode()
480 operandTypesToSkip.find(newOperandCode) != operandTypesToSkip.end()) { in testMutatingInputOperandCode()
487 if ((newOperandCode == ANEURALNETWORKS_INT32 && in testMutatingInputOperandCode()
489 (newOperandCode == ANEURALNETWORKS_BOOL && in testMutatingInputOperandCode()
497 (newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT16 || in testMutatingInputOperandCode()
498 newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT32)) { in testMutatingInputOperandCode()
505 (newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT16 || in testMutatingInputOperandCode()
506 newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT32 || in testMutatingInputOperandCode()
507 newOperandCode == ANEURALNETWORKS_TENSOR_INT32 || in testMutatingInputOperandCode()
508 newOperandCode == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM || in testMutatingInputOperandCode()
509 newOperandCode == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED)) { in testMutatingInputOperandCode()
518 if ((newOperandCode == ANEURALNETWORKS_INT32 && in testMutatingInputOperandCode()
520 (newOperandCode == ANEURALNETWORKS_BOOL && in testMutatingInputOperandCode()
526 newType.operandType.type = newOperandCode; in testMutatingInputOperandCode()
550 for (int32_t newOperandCode : kAvailableOperandCodes) { in testMutatingOutputOperandCode() local
551 if (newOperandCode == originalOperandCode) { in testMutatingOutputOperandCode()
556 (newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT16 || in testMutatingOutputOperandCode()
557 newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT32)) { in testMutatingOutputOperandCode()
564 (newOperandCode == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM || in testMutatingOutputOperandCode()
565 newOperandCode == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED)) { in testMutatingOutputOperandCode()
571 (newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT16 || in testMutatingOutputOperandCode()
572 newOperandCode == ANEURALNETWORKS_TENSOR_FLOAT32 || in testMutatingOutputOperandCode()
573 newOperandCode == ANEURALNETWORKS_TENSOR_INT32 || in testMutatingOutputOperandCode()
574 newOperandCode == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM)) { in testMutatingOutputOperandCode()
577 newType.operandType.type = newOperandCode; in testMutatingOutputOperandCode()