HomeSort by relevance Sort by last modified time
    Searched refs:NativeInterpreterWrapper (Results 1 - 5 of 5) sorted by null

  /external/tensorflow/tensorflow/contrib/lite/java/src/main/java/org/tensorflow/lite/
Tensor.java 23 * <p>The native handle of a {@code Tensor} belongs to {@code NativeInterpreterWrapper}, thus not
34 if (NativeInterpreterWrapper.dataTypeOf(dst) != dtype) {
39 dtype, dst.getClass().getName(), NativeInterpreterWrapper.dataTypeOf(dst)));
41 int[] dstShape = NativeInterpreterWrapper.shapeOf(dst);
Interpreter.java 67 wrapper = new NativeInterpreterWrapper(modelFile.getAbsolutePath());
77 wrapper = new NativeInterpreterWrapper(mappedByteBuffer);
171 NativeInterpreterWrapper wrapper;
NativeInterpreterWrapper.java 28 * <p><b>WARNING:</b> Resources consumed by the {@code NativeInterpreterWrapper} object must be
30 * NativeInterpreterWrapper} object is no longer needed.
32 final class NativeInterpreterWrapper implements AutoCloseable {
34 NativeInterpreterWrapper(String modelPath) {
41 * Initializes a {@code NativeInterpreterWrapper} with a {@code MappedByteBuffer}. The
43 * NativeInterpreterWrapper}.
45 NativeInterpreterWrapper(MappedByteBuffer mappedByteBuffer) {
52 /** Releases resources associated with this {@code NativeInterpreterWrapper}. */
  /external/tensorflow/tensorflow/contrib/lite/java/src/test/java/org/tensorflow/lite/
NativeInterpreterWrapperTest.java 27 /** Unit tests for {@link org.tensorflow.lite.NativeInterpreterWrapper}. */
52 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(FLOAT_MODEL_PATH);
60 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(INVALID_MODEL_PATH);
70 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(MODEL_WITH_CUSTOM_OP_PATH);
81 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(FLOAT_MODEL_PATH);
99 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(INT_MODEL_PATH)
    [all...]
TensorTest.java 34 private NativeInterpreterWrapper wrapper;
39 wrapper = new NativeInterpreterWrapper(MODEL_PATH);

Completed in 208 milliseconds