Lines Matching refs:op
555 static bool removeOperationInputSkip(const Operation& op, size_t input) { in removeOperationInputSkip() argument
563 switch (op.type) { in removeOperationInputSkip()
565 if (op.inputs.size() > 2 && input != op.inputs.size() - 1) { in removeOperationInputSkip()
570 if ((op.inputs.size() == 12 && input == 11) || (op.inputs.size() == 9 && input == 8)) { in removeOperationInputSkip()
578 if ((op.inputs.size() == 11 && input == 10) || (op.inputs.size() == 8 && input == 7)) { in removeOperationInputSkip()
583 if (op.inputs.size() == 4 && input == 3) { in removeOperationInputSkip()
590 if (op.inputs.size() == 3 && input == 2) { in removeOperationInputSkip()
595 if (op.inputs.size() == 4 && input == 3) { in removeOperationInputSkip()
600 if (op.inputs.size() == 2 && input == 1) { in removeOperationInputSkip()
605 if (op.inputs.size() == 6 && input == 5) { in removeOperationInputSkip()
610 if (op.inputs.size() == 3 && input == 2) { in removeOperationInputSkip()
623 const Operation& op = model.operations[operation]; in removeOperationInputTest() local
624 if (removeOperationInputSkip(op, input)) { in removeOperationInputTest()
662 static bool addOperationInputSkip(const Operation& op) { in addOperationInputSkip() argument
666 if ((op.type == OperationType::L2_NORMALIZATION && op.inputs.size() == 1) || in addOperationInputSkip()
667 (op.type == OperationType::LOCAL_RESPONSE_NORMALIZATION && op.inputs.size() == 5) || in addOperationInputSkip()
668 (op.type == OperationType::SOFTMAX && op.inputs.size() == 2)) { in addOperationInputSkip()