TensorFlow

public final class TensorFlow

Static utility methods describing the TensorFlow runtime.

Public Methods

static byte[]
loadLibrary(String filename)
Load the dynamic library in filename and register the operations and kernels present in that library.
static byte[]
registeredOpList()
All the TensorFlow operations available in this address space.
static String
version()
Returns the version of the underlying TensorFlow runtime.

Inherited Methods

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 byte[] 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
  • Serialized bytes of the OpList protocol buffer message defining the operations defined in the library.
Throws
UnsatisfiedLinkError if filename cannot be loaded.

public static byte[] registeredOpList ()

All the TensorFlow operations available in this address space.

Returns
  • A serialized representation of an OpList protocol buffer, which lists all the available TensorFlow operations.

public static String version ()

Returns the version of the underlying TensorFlow runtime.