Home
last modified time | relevance | path

Searched refs:resizeInput (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/swift/Tests/
DInterpreterTests.swift140 XCTAssertNoThrow(try interpreter.resizeInput(at: AddModel.validIndex, to: [2, 2, 3])) in testResizeInputTensorAtIndexToShape()
146 try interpreter.resizeInput( in testResizeInputTensorAtIndexToShape_ThrowsInvalidIndex()
160 try interpreter.resizeInput(at: AddModel.validIndex, to: AddModel.shape) in testCopyDataToInputTensorAtIndex()
182 try interpreter.resizeInput(at: AddModel.validIndex, to: AddModel.shape) in testCopyDataToInputTensorAtIndex_ThrowsInvalidDataCount()
206 try interpreter.resizeInput(at: AddModel.validIndex, to: AddModel.shape) in setUpAddModelInputTensor()
213 try interpreter.resizeInput(at: AddQuantizedModel.inputOutputIndex, to: AddQuantizedModel.shape) in setUpAddQuantizedModelInputTensor()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java455 public void resizeInput(int idx, @NonNull int[] dims) { in resizeInput() method in Interpreter
457 wrapper.resizeInput(idx, dims, false); in resizeInput()
470 public void resizeInput(int idx, @NonNull int[] dims, boolean strict) { in resizeInput() method in Interpreter
472 wrapper.resizeInput(idx, dims, strict); in resizeInput()
DNativeInterpreterWrapper.java189 resizeInput(i, newShape); in run()
226 void resizeInput(int idx, int[] dims) { in resizeInput() method in NativeInterpreterWrapper
227 resizeInput(idx, dims, false); in resizeInput()
231 void resizeInput(int idx, int[] dims, boolean strict) { in resizeInput() method in NativeInterpreterWrapper
232 if (resizeInput(interpreterHandle, errorHandle, idx, dims, strict)) { in resizeInput()
242 private static native boolean resizeInput( in resizeInput() method in NativeInterpreterWrapper
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DTensorTest.java264 wrapper.resizeInput(0, new int[0]); in testSetTo()
489 wrapper.resizeInput(0, new int[0]); in testCopyToScalarUnsupported()
538 wrapper.resizeInput(0, new int[] {1}); in testByteArrayStringTensorInput()
DNativeInterpreterWrapperTest.java239 wrapper.resizeInput(0, inputDims); in testRunWithByte()
360 wrapper.resizeInput(0, inputDims); in testRunWithByteBufferHavingBytes()
404 wrapper.resizeInput(0, inputDims); in testRunWithByteBufferHavingFloats()
DInterpreterTest.java238 interpreter.resizeInput(0, inputDims); in testResizeInput()
256 interpreter.resizeInput(0, inputDims); in testAllocateTensors()
284 interpreter.resizeInput(0, inputDims, true); in testUnknownDims()
297 interpreter.resizeInput(0, inputDims, true); in testUnknownDims()
/external/tensorflow/tensorflow/lite/swift/Sources/
DInterpreter.swift217 public func resizeInput(at index: Int, to shape: Tensor.Shape) throws { in resizeInput() function
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dinference.md221 tensor (via `Interpreter.resizeInput()`) before running inference.