# TensorFlow

public final class **TensorFlow**
Static utility methods describing the TensorFlow runtime.

### Public Methods

|---|---|
| static byte\[\] | [loadLibrary](https://www.tensorflow.org/versions/r2.6/api_docs/java/org/tensorflow/TensorFlow#loadLibrary(java.lang.String)) (String filename) Load the dynamic library in filename and register the operations and kernels present in that library. |
| static byte\[\] | [registeredOpList](https://www.tensorflow.org/versions/r2.6/api_docs/java/org/tensorflow/TensorFlow#registeredOpList()) () All the TensorFlow operations available in this address space. |
| static String | [version](https://www.tensorflow.org/versions/r2.6/api_docs/java/org/tensorflow/TensorFlow#version()) () Returns the version of the underlying TensorFlow runtime. |

### Inherited Methods

From class java.lang.Object

|---|---|
| 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](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) 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](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer, which lists all the available TensorFlow operations.

#### public static String
**version**
()


Returns the version of the underlying TensorFlow runtime.