TensorFlow

public final class TensorFlow

Static utility methods describing the TensorFlow runtime.

Public Methods

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.

Inherited Methods

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.