TensorFlow

public final class TensorFlow

Static utility methods describing the TensorFlow runtime.

static OpList
loadLibrary(String filename)
Load the dynamic library in filename and register the operations and kernels present in that library.
static OpList
registeredOpList()
All the TensorFlow operations available in this address space.
static String
version()
Returns the version of the underlying TensorFlow runtime.
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static OpList loadLibrary (String filename)

Load the dynamic library in filename and register the operations and kernels present in that library.

Parameters
filename Path of the dynamic library containing operations and kernels to load.
Returns
  • A OpList protocol buffer message defining the operations defined in the library.
Throws
UnsatisfiedLinkError if filename cannot be loaded.

public static OpList registeredOpList ()

All the TensorFlow operations available in this address space.

Returns
  • A OpList protocol buffer, which lists all the available TensorFlow operations.

public static String version ()

Returns the version of the underlying TensorFlow runtime.