public interface
ExecutionEnvironment
| Known Indirect Subclasses |
Defines an environment for creating and executing TensorFlow Operations.
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
OperationBuilderto create an Operation whenOperationBuilder.build()is invoked. IfOperationBuilder.build()is not invoked, then some resources may leak.