Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DInterpreterTests.swift137 XCTAssertNoThrow(try interpreter.resizeInput(at: AddModel.validIndex, to: [2, 2, 3])) in testInterpreter_ResizeInputTensorAtIndexToShape()
142 XCTAssertThrowsError(try interpreter.resizeInput( in testInterpreter_ResizeInputTensorAtIndexToShape_ThrowsInvalidIndex()
155 try interpreter.resizeInput(at: AddModel.validIndex, to: AddModel.shape) in testInterpreter_CopyDataToInputTensorAtIndex()
175 try interpreter.resizeInput(at: AddModel.validIndex, to: AddModel.shape) in testInterpreter_CopyDataToInputTensorAtIndex_ThrowsInvalidDataCount()
197 try interpreter.resizeInput(at: AddModel.validIndex, to: AddModel.shape) in setUpAddModelInputTensor()
204 try interpreter.resizeInput(at: AddQuantizedModel.inputOutputIndex, to: AddQuantizedModel.shape) in setUpAddQuantizedModelInputTensor()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DNativeInterpreterWrapper.java134 resizeInput(i, newShape); in run()
171 void resizeInput(int idx, int[] dims) { in resizeInput() method in NativeInterpreterWrapper
172 if (resizeInput(interpreterHandle, errorHandle, idx, dims)) { in resizeInput()
180 private static native boolean resizeInput( in resizeInput() method in NativeInterpreterWrapper
DInterpreter.java283 public void resizeInput(int idx, @NonNull int[] dims) { in resizeInput() method in Interpreter
285 wrapper.resizeInput(idx, dims); in resizeInput()
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DViewController.swift126 try interpreter.resizeInput(at: 0, to: [2]) in invokeAdd()
157 try interpreter.resizeInput(at: 0, to: [2]) in invokeAddQuantized()
197 try interpreter.resizeInput(at: index, to: shape) in invokeMultiAdd()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java174 tfLite.resizeInput(0, new int[] {RECORDING_LENGTH, 1}); in onCreate()
175 tfLite.resizeInput(1, new int[] {1}); in onCreate()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DNativeInterpreterWrapperTest.java218 wrapper.resizeInput(0, inputDims); in testRunWithByte()
292 wrapper.resizeInput(0, inputDims); in testRunWithByteBufferHavingBytes()
336 wrapper.resizeInput(0, inputDims); in testRunWithByteBufferHavingFloats()
DInterpreterTest.java220 interpreter.resizeInput(0, inputDims); in testResizeInput()
/external/tensorflow/tensorflow/lite/experimental/swift/Sources/
DInterpreter.swift194 public func resizeInput(at index: Int, to shape: TensorShape) throws { in resizeInput() function
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dinference.md259 tensor (via `Interpreter.resizeInput()`) before running inference.