public interface
ExecutionEnvironment
Known Indirect Subclasses |
Defines an environment for creating and executing TensorFlow Operation
s.
Public Methods
abstract OperationBuilder |
Public Methods
public abstract OperationBuilder opBuilder (String type, String name)
Returns a builder to create a new Operation
.
Parameters
type | of the Operation (i.e., identifies the computation to be performed) |
---|---|
name | to refer to the created Operation in this environment scope. |
Returns
- an
OperationBuilder
to create an Operation whenOperationBuilder.build()
is invoked. IfOperationBuilder.build()
is not invoked, then some resources may leak.