Home | History | Annotate | Download | only in tensorflow

Lines Matching refs:TensorFlow

1 /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
16 package org.tensorflow;
24 * Helper class for loading the TensorFlow Java native library.
26 * <p>The Java TensorFlow bindings require a native (JNI) library. This library
38 * set of ClassLoader resources (under org/tensorflow/native/OS-ARCH). The resources paths used for
39 * lookup must be consistent with any packaging (such as on Maven Central) of the TensorFlow Java
44 System.getProperty("org.tensorflow.NativeLibrary.DEBUG") != null;
53 // that has already been loaded. For example, tensorflow/examples/android and
54 // tensorflow/contrib/android include the required native code in differently named libraries.
78 "Cannot find TensorFlow native library for OS: %s, architecture: %s. See "
79 + "https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java/README.md"
82 + " org.tensorflow.NativeLibrary.DEBUG=1 to the system properties of the JVM.",
121 TensorFlow.version();
133 // This is macOS, and the TensorFlow release process might have setup dependencies on
178 System.err.println("org.tensorflow.NativeLibrary: " + msg);
183 return "org/tensorflow/native/" + String.format("%s-%s/", os(), architecture()) + baseName;
217 + "*) to extract TensorFlow native libraries.");