Searched refs:invalidIndex (Results 1 – 3 of 3) sorted by relevance
87 XCTAssertThrowsError(try interpreter.input(at: AddModel.invalidIndex)) { error in in testInputTensorAtIndex_ThrowsInvalidIndex()91 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testInputTensorAtIndex_ThrowsInvalidIndex()124 XCTAssertThrowsError(try interpreter.output(at: AddModel.invalidIndex)) { error in in testOutputTensorAtIndex_ThrowsInvalidIndex()128 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testOutputTensorAtIndex_ThrowsInvalidIndex()147 at: AddModel.invalidIndex, in testResizeInputTensorAtIndexToShape_ThrowsInvalidIndex()154 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testResizeInputTensorAtIndexToShape_ThrowsInvalidIndex()170 toInputAt: AddModel.invalidIndex in testCopyDataToInputTensorAtIndex_ThrowsInvalidIndex()176 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testCopyDataToInputTensorAtIndex_ThrowsInvalidIndex()278 static let invalidIndex = 1 variable
243 std::string invalidIndex[MAX_INDEXES]; in index_outside_sample_mask_range() member266 << testConfigs.invalidIndex[invalidIdx] in index_outside_sample_mask_range()
670 int *invalidIndex = nullptr) { in isReassociationValid() argument678 if (invalidIndex) in isReassociationValid()679 *invalidIndex = it.index(); in isReassociationValid()685 if (invalidIndex) in isReassociationValid()686 *invalidIndex = it.index(); in isReassociationValid()692 if (invalidIndex) in isReassociationValid()693 *invalidIndex = reassociation.size() - 1; in isReassociationValid()