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

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.