TensorFlow
Stay organized with collections
Save and categorize content based on your preferences.
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
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
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# TensorFlow\n\npublic final class **TensorFlow** \nStatic utility methods describing the TensorFlow runtime. \n\n### Public Methods\n\n|---------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [OpList](/jvm/api_docs/java/org/tensorflow/proto/framework/OpList) | [loadLibrary](/jvm/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. |\n| static [OpList](/jvm/api_docs/java/org/tensorflow/proto/framework/OpList) | [registeredOpList](/jvm/api_docs/java/org/tensorflow/TensorFlow#registeredOpList())() All the TensorFlow operations available in this address space. |\n| static String | [version](/jvm/api_docs/java/org/tensorflow/TensorFlow#version())() Returns the version of the underlying TensorFlow runtime. |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public static [OpList](/jvm/api_docs/java/org/tensorflow/proto/framework/OpList)\n**loadLibrary**\n(String filename)\n\nLoad the dynamic library in filename and register the operations and kernels present in that\nlibrary. \n\n##### Parameters\n\n| filename | Path of the dynamic library containing operations and kernels to load. |\n|----------|------------------------------------------------------------------------|\n\n##### Returns\n\n- A [OpList](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer message defining the operations defined in the library. \n\n##### Throws\n\n| UnsatisfiedLinkError | if filename cannot be loaded. |\n|----------------------|-------------------------------|\n\n#### public static [OpList](/jvm/api_docs/java/org/tensorflow/proto/framework/OpList)\n**registeredOpList**\n()\n\nAll the TensorFlow operations available in this address space. \n\n##### Returns\n\n- A [OpList](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer, which lists all the available TensorFlow operations. \n\n#### public static String\n**version**\n()\n\nReturns the version of the underlying TensorFlow runtime."]]