Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

addControlInput(Operation) - Method in class org.tensorflow.OperationBuilder
Ensure that the operation does not execute before the control operation does.
addInput(Output<?>) - Method in class org.tensorflow.OperationBuilder
Returns the builder to create an operation.
addInputList(Output<?>[]) - Method in class org.tensorflow.OperationBuilder
 
addTarget(String) - Method in class org.tensorflow.Session.Runner
Make Session.Runner.run() execute operation, but not return any evaluated Tensors.
addTarget(Operation) - Method in class org.tensorflow.Session.Runner
Make Session.Runner.run() execute operation, but not return any evaluated Tensors.
asOutput() - Method in class org.tensorflow.op.core.Constant
 
asOutput() - Method in interface org.tensorflow.Operand
Returns the symbolic handle of a tensor.
asOutput() - Method in class org.tensorflow.Output
 
asOutputs(Iterable<? extends Operand<?>>) - Static method in class org.tensorflow.op.Operands
Converts a list of Operand into an array of Output.

B

booleanValue() - Method in class org.tensorflow.Tensor
Returns the value in a scalar Boolean tensor.
build() - Method in class org.tensorflow.OperationBuilder
Add the Operation being built to the Graph.
bytesValue() - Method in class org.tensorflow.Tensor
Returns the value in a scalar String tensor.

C

close() - Method in class org.tensorflow.Graph
Release resources associated with the Graph.
close() - Method in class org.tensorflow.SavedModelBundle
Releases resources (the Graph and Session) associated with the saved model bundle.
close() - Method in class org.tensorflow.Session
Release resources associated with the Session.
close() - Method in class org.tensorflow.Tensor
Release resources associated with the Tensor.
Constant<T> - Class in org.tensorflow.op.core
An operator producing a constant value.
copyTo(U) - Method in class org.tensorflow.Tensor
Copies the contents of the tensor to dst and returns dst.
create(Scope, Object, Class<T>) - Static method in class org.tensorflow.op.core.Constant
Create a constant from a Java object.
create(Scope, long[], IntBuffer) - Static method in class org.tensorflow.op.core.Constant
Create a DataType.INT32 constant with data from the given buffer.
create(Scope, long[], FloatBuffer) - Static method in class org.tensorflow.op.core.Constant
Create a DataType.FLOAT constant with data from the given buffer.
create(Scope, long[], DoubleBuffer) - Static method in class org.tensorflow.op.core.Constant
Create a DataType.DOUBLE constant with data from the given buffer.
create(Scope, long[], LongBuffer) - Static method in class org.tensorflow.op.core.Constant
Create a DataType.INT64 constant with data from the given buffer.
create(Scope, Class<T>, long[], ByteBuffer) - Static method in class org.tensorflow.op.core.Constant
Create a constant with data from the given buffer.
create(Object, Class<T>) - Static method in class org.tensorflow.Tensor
Creates a Tensor from a Java object.
create(Object) - Static method in class org.tensorflow.Tensor
Creates a tensor from an object whose class is inspected to figure out what the underlying data type should be.
create(long[], IntBuffer) - Static method in class org.tensorflow.Tensor
Create a Integer Tensor with data from the given buffer.
create(long[], FloatBuffer) - Static method in class org.tensorflow.Tensor
Create a Float Tensor with data from the given buffer.
create(long[], DoubleBuffer) - Static method in class org.tensorflow.Tensor
Create a Double Tensor with data from the given buffer.
create(long[], LongBuffer) - Static method in class org.tensorflow.Tensor
Create an Long Tensor with data from the given buffer.
create(Class<T>, long[], ByteBuffer) - Static method in class org.tensorflow.Tensor
Create a Tensor of any type with data from the given buffer.
create(String) - Static method in class org.tensorflow.Tensors
Creates a scalar String tensor using the default, UTF-8 encoding.
create(String, Charset) - Static method in class org.tensorflow.Tensors
Creates a scalar String tensor using a specified encoding.
create(float) - Static method in class org.tensorflow.Tensors
Creates a scalar tensor containing a single float element.
create(float[]) - Static method in class org.tensorflow.Tensors
Creates a rank-1 tensor of float elements.
create(float[][]) - Static method in class org.tensorflow.Tensors
Creates a rank-2 tensor of float elements.
create(float[][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-3 tensor of float elements.
create(float[][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-4 tensor of float elements.
create(float[][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-5 tensor of float elements.
create(float[][][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-6 tensor of float elements.
create(double) - Static method in class org.tensorflow.Tensors
Creates a scalar tensor containing a single double element.
create(double[]) - Static method in class org.tensorflow.Tensors
Creates a rank-1 tensor of double elements.
create(double[][]) - Static method in class org.tensorflow.Tensors
Creates a rank-2 tensor of double elements.
create(double[][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-3 tensor of double elements.
create(double[][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-4 tensor of double elements.
create(double[][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-5 tensor of double elements.
create(double[][][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-6 tensor of double elements.
create(int) - Static method in class org.tensorflow.Tensors
Creates a scalar tensor containing a single int element.
create(int[]) - Static method in class org.tensorflow.Tensors
Creates a rank-1 tensor of int elements.
create(int[][]) - Static method in class org.tensorflow.Tensors
Creates a rank-2 tensor of int elements.
create(int[][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-3 tensor of int elements.
create(int[][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-4 tensor of int elements.
create(int[][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-5 tensor of int elements.
create(int[][][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-6 tensor of int elements.
create(byte[]) - Static method in class org.tensorflow.Tensors
Creates a scalar tensor containing a single byte element.
create(byte[][]) - Static method in class org.tensorflow.Tensors
Creates a rank-1 tensor of byte elements.
create(byte[][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-2 tensor of byte elements.
create(byte[][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-3 tensor of byte elements.
create(byte[][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-4 tensor of byte elements.
create(byte[][][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-5 tensor of byte elements.
create(long) - Static method in class org.tensorflow.Tensors
Creates a scalar tensor containing a single long element.
create(long[]) - Static method in class org.tensorflow.Tensors
Creates a rank-1 tensor of long elements.
create(long[][]) - Static method in class org.tensorflow.Tensors
Creates a rank-2 tensor of long elements.
create(long[][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-3 tensor of long elements.
create(long[][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-4 tensor of long elements.
create(long[][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-5 tensor of long elements.
create(long[][][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-6 tensor of long elements.
create(boolean) - Static method in class org.tensorflow.Tensors
Creates a scalar tensor containing a single boolean element.
create(boolean[]) - Static method in class org.tensorflow.Tensors
Creates a rank-1 tensor of boolean elements.
create(boolean[][]) - Static method in class org.tensorflow.Tensors
Creates a rank-2 tensor of boolean elements.
create(boolean[][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-3 tensor of boolean elements.
create(boolean[][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-4 tensor of boolean elements.
create(boolean[][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-5 tensor of boolean elements.
create(boolean[][][][][][]) - Static method in class org.tensorflow.Tensors
Creates a rank-6 tensor of boolean elements.

D

DataType - Enum in org.tensorflow
Represents the type of elements in a Tensor as an enum.
dataType() - Method in class org.tensorflow.Output
Returns the DataType of the tensor referred to by this Output.
dataType() - Method in class org.tensorflow.Tensor
Returns the DataType of elements stored in the Tensor.
doubleValue() - Method in class org.tensorflow.Tensor
Returns the value in a scalar Double tensor.

E

equals(Object) - Method in class org.tensorflow.op.PrimitiveOp
 
equals(Object) - Method in class org.tensorflow.Operation
 
equals(Object) - Method in class org.tensorflow.Output
 
expect(Class<U>) - Method in class org.tensorflow.Tensor
Returns this Tensor object with the type Tensor<U>.

F

feed(String, Tensor<?>) - Method in class org.tensorflow.Session.Runner
Avoid evaluating operation and substitute t for the value it produces.
feed(String, int, Tensor<?>) - Method in class org.tensorflow.Session.Runner
Avoid evaluating the index-th output of operation by substituting t for the value it produces.
feed(Output<?>, Tensor<?>) - Method in class org.tensorflow.Session.Runner
Use t instead of the Tensor referred to by executing the operation referred to by output.
fetch(String) - Method in class org.tensorflow.Session.Runner
Make Session.Runner.run() return the output of operation.
fetch(String, int) - Method in class org.tensorflow.Session.Runner
Make Session.Runner.run() return the index-th output of operation.
fetch(Output<?>) - Method in class org.tensorflow.Session.Runner
Makes Session.Runner.run() return the Tensor referred to by output.
floatValue() - Method in class org.tensorflow.Tensor
Returns the value in a scalar Float tensor.
fromClass(Class<?>) - Static method in enum org.tensorflow.DataType
Returns the DataType of a Tensor whose elements have the type specified by class c.

G

Graph - Class in org.tensorflow
A data flow graph representing a TensorFlow computation.
Graph() - Constructor for class org.tensorflow.Graph
Create an empty Graph.
graph() - Method in class org.tensorflow.op.Scope
Returns the graph managed by this scope.
graph() - Method in class org.tensorflow.SavedModelBundle
Returns the graph that describes the computation performed by the model.

H

hashCode() - Method in class org.tensorflow.op.PrimitiveOp
 
hashCode() - Method in class org.tensorflow.Operation
 
hashCode() - Method in class org.tensorflow.Output
 

I

importGraphDef(byte[]) - Method in class org.tensorflow.Graph
Import a serialized representation of a TensorFlow graph.
importGraphDef(byte[], String) - Method in class org.tensorflow.Graph
Import a serialized representation of a TensorFlow graph.
index() - Method in class org.tensorflow.Output
Returns the index into the outputs of the Operation.
inputListLength(String) - Method in class org.tensorflow.Operation
Returns the size of the given inputs list of Tensors for this operation.
intValue() - Method in class org.tensorflow.Tensor
Returns the value in a scalar Integer tensor.

L

load(String, String...) - Static method in class org.tensorflow.SavedModelBundle
Load a saved model from an export directory.
loadLibrary(String) - Static method in class org.tensorflow.TensorFlow
Load the dynamic library in filename and register the operations and kernels present in that library.
longValue() - Method in class org.tensorflow.Tensor
Returns the value in a scalar Long tensor.

M

make(long, long...) - Static method in class org.tensorflow.Shape
Create a Shape representing an N-dimensional value.
makeOpName(String) - Method in class org.tensorflow.op.Scope
Create a unique name for an operator, using a provided default if necessary.
metadata - Variable in class org.tensorflow.Session.Run
(Experimental): Metadata about the run.
metaGraphDef() - Method in class org.tensorflow.SavedModelBundle
Returns the serialized MetaGraphDef protocol buffer associated with the saved model.

N

name() - Method in class org.tensorflow.Operation
Returns the full name of the Operation.
numBytes() - Method in class org.tensorflow.Tensor
Returns the size, in bytes, of the tensor data.
numDimensions() - Method in class org.tensorflow.Shape
Number of dimensions represented by this shape.
numDimensions() - Method in class org.tensorflow.Tensor
Returns the number of dimensions (sometimes referred to as rank) of the Tensor.
numElements() - Method in class org.tensorflow.Tensor
Returns the number of elements in a flattened (1-D) view of the tensor.
numOutputs() - Method in class org.tensorflow.Operation
Returns the number of tensors produced by this operation.

O

Op - Interface in org.tensorflow.op
A marker interface for all operation wrappers.
op() - Method in class org.tensorflow.Output
Returns the Operation that will produce the tensor referred to by this Output.
opBuilder(String, String) - Method in class org.tensorflow.Graph
Returns a builder to add Operations to the Graph.
Operand<T> - Interface in org.tensorflow
Interface implemented by operands of a TensorFlow operation.
Operands - Class in org.tensorflow.op
Utilities for manipulating operand related types and lists.
operation(String) - Method in class org.tensorflow.Graph
Returns the operation (node in the Graph) with the provided name.
operation - Variable in class org.tensorflow.op.PrimitiveOp
Underlying operation.
Operation - Class in org.tensorflow
A Graph node that performs computation on Tensors.
OperationBuilder - Class in org.tensorflow
A builder for Operations in a Graph.
operations() - Method in class org.tensorflow.Graph
Iterator over all the Operations in the graph.
Operator - Annotation Type in org.tensorflow.op.annotation
Annotation used by classes to make TensorFlow operations conveniently accessible via org.tensorflow.op.Ops.
org.tensorflow - package org.tensorflow
Defines classes to build, save, load and execute TensorFlow models.
org.tensorflow.op - package org.tensorflow.op
 
org.tensorflow.op.annotation - package org.tensorflow.op.annotation
 
org.tensorflow.op.core - package org.tensorflow.op.core
 
org.tensorflow.types - package org.tensorflow.types
Defines classes that represent TensorFlow data types.
output(int) - Method in class org.tensorflow.Operation
Returns a symbolic handle to one of the tensors produced by this operation.
Output<T> - Class in org.tensorflow
A symbolic handle to a tensor produced by an Operation.
Output(Operation, int) - Constructor for class org.tensorflow.Output
Handle to the idx-th output of the Operation op.
outputList(int, int) - Method in class org.tensorflow.Operation
Returns symbolic handles to a list of tensors produced by this operation.
outputListLength(String) - Method in class org.tensorflow.Operation
Returns the size of the list of Tensors produced by this operation.
outputs - Variable in class org.tensorflow.Session.Run
Tensors from requested fetches.

P

PrimitiveOp - Class in org.tensorflow.op
A base class for Op implementations that are backed by a single Operation.
PrimitiveOp(Operation) - Constructor for class org.tensorflow.op.PrimitiveOp
Constructor.

R

registeredOpList() - Static method in class org.tensorflow.TensorFlow
All the TensorFlow operations available in this address space.
Run() - Constructor for class org.tensorflow.Session.Run
 
run() - Method in class org.tensorflow.Session.Runner
Execute the graph fragments necessary to compute all requested fetches.
runAndFetchMetadata() - Method in class org.tensorflow.Session.Runner
Execute graph fragments to compute requested fetches and return metadata about the run.
runner() - Method in class org.tensorflow.Session
Create a Runner to execute graph operations and evaluate Tensors.
Runner() - Constructor for class org.tensorflow.Session.Runner
 

S

SavedModelBundle - Class in org.tensorflow
SavedModelBundle represents a model loaded from storage.
scalar() - Static method in class org.tensorflow.Shape
Create a Shape representing a scalar value.
Scope - Class in org.tensorflow.op
Manages groups of related properties when creating Tensorflow Operations, such as a common name prefix.
Scope(Graph) - Constructor for class org.tensorflow.op.Scope
Create a new top-level scope.
session() - Method in class org.tensorflow.SavedModelBundle
Returns the Session with which to perform computation using the model.
Session - Class in org.tensorflow
Driver for Graph execution.
Session(Graph) - Constructor for class org.tensorflow.Session
Construct a new session with the associated Graph.
Session(Graph, byte[]) - Constructor for class org.tensorflow.Session
Construct a new session with the associated Graph and configuration options.
Session.Run - Class in org.tensorflow
Output tensors and metadata obtained when executing a session.
Session.Runner - Class in org.tensorflow
Run Operations and evaluate Tensors.
setAttr(String, String) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, byte[]) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, long) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, long[]) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, float) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, float[]) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, boolean) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, boolean[]) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, DataType) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, DataType[]) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, Tensor<?>) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, Tensor<?>[]) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, Shape) - Method in class org.tensorflow.OperationBuilder
 
setAttr(String, String[]) - Method in class org.tensorflow.OperationBuilder
 
setDevice(String) - Method in class org.tensorflow.OperationBuilder
 
setOptions(byte[]) - Method in class org.tensorflow.Session.Runner
(Experimental method): set options (typically for debugging) for this run.
shape() - Method in class org.tensorflow.Output
Returns the (possibly partially known) shape of the tensor referred to by this Output.
Shape - Class in org.tensorflow
The possibly partially known shape of a tensor produced by an operation.
shape() - Method in class org.tensorflow.Tensor
Returns the shape of the Tensor, i.e., the sizes of each dimension.
size(int) - Method in class org.tensorflow.Shape
The size of the i-th dimension.

T

Tensor<T> - Class in org.tensorflow
A statically typed multi-dimensional array whose elements are of a type described by T.
TensorFlow - Class in org.tensorflow
Static utility methods describing the TensorFlow runtime.
TensorFlowException - Exception in org.tensorflow
Unchecked exception thrown when executing TensorFlow Graphs.
Tensors - Class in org.tensorflow
Type-safe factory methods for creating Tensor objects.
toGraphDef() - Method in class org.tensorflow.Graph
Generate a serialized representation of the Graph.
toString() - Method in class org.tensorflow.op.PrimitiveOp
 
toString() - Method in class org.tensorflow.Operation
 
toString() - Method in class org.tensorflow.Output
 
toString() - Method in class org.tensorflow.Shape
Succinct description of the shape meant for debugging.
toString() - Method in class org.tensorflow.Tensor
Returns a string describing the type and shape of the Tensor.
type() - Method in class org.tensorflow.Operation
Returns the type of the operation, i.e., the name of the computation performed by the operation.

U

UInt8 - Class in org.tensorflow.types
Represents an 8-bit unsigned integer.
unknown() - Static method in class org.tensorflow.Shape
Create a Shape representing an unknown number of dimensions.

V

valueOf(String) - Static method in enum org.tensorflow.DataType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.tensorflow.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Static method in class org.tensorflow.TensorFlow
Returns the version of the underlying TensorFlow runtime.

W

withName(String) - Method in class org.tensorflow.op.Scope
Return a new scope that uses the provided name for an op.
withSubScope(String) - Method in class org.tensorflow.op.Scope
Returns a new scope where added operations will have the provided name prefix.
writeTo(IntBuffer) - Method in class org.tensorflow.Tensor
Write the data of a Integer tensor into the given buffer.
writeTo(FloatBuffer) - Method in class org.tensorflow.Tensor
Write the data of a Float tensor into the given buffer.
writeTo(DoubleBuffer) - Method in class org.tensorflow.Tensor
Write the data of a Double tensor into the given buffer.
writeTo(LongBuffer) - Method in class org.tensorflow.Tensor
Write the data of a Long tensor into the given buffer.
writeTo(ByteBuffer) - Method in class org.tensorflow.Tensor
Write the tensor data into the given buffer.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2015–2017. All rights reserved.