GraphOpCreation.Builder

public static final class GraphOpCreation.Builder

 The creation of an op in a TensorFlow Graph (e.g., FuncGraph in TF2).
 
Protobuf type tensorflow.GraphOpCreation

Public Methods

GraphOpCreation.Builder
addAllInputNames (Iterable<String> values)
 Names of the input tensors to the op.
GraphOpCreation.Builder
addAllOutputTensorIds (Iterable<? extends Integer> values)
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
addInputNames (String value)
 Names of the input tensors to the op.
GraphOpCreation.Builder
addInputNamesBytes (com.google.protobuf.ByteString value)
 Names of the input tensors to the op.
GraphOpCreation.Builder
addOutputTensorIds (int value)
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphOpCreation
GraphOpCreation
GraphOpCreation.Builder
GraphOpCreation.Builder
clearCodeLocation ()
 The unique ID for code location (stack trace) of the op's creation.
GraphOpCreation.Builder
clearDeviceName ()
 Name of the device that the op is assigned to (if available).
GraphOpCreation.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
GraphOpCreation.Builder
clearGraphId ()
 Unique ID of the graph (generated by debugger).
GraphOpCreation.Builder
clearGraphName ()
 Name of the graph that the op is a part of (if available).
GraphOpCreation.Builder
clearInputNames ()
 Names of the input tensors to the op.
GraphOpCreation.Builder
clearNumOutputs ()
 Number of output tensors emitted by the op.
GraphOpCreation.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
GraphOpCreation.Builder
clearOpName ()
 Name of the op (e.g., "Dense/MatMul_1").
GraphOpCreation.Builder
clearOpType ()
 Type of the op (e.g., "MatMul").
GraphOpCreation.Builder
clearOutputTensorIds ()
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
CodeLocation
getCodeLocation ()
 The unique ID for code location (stack trace) of the op's creation.
CodeLocation.Builder
getCodeLocationBuilder ()
 The unique ID for code location (stack trace) of the op's creation.
CodeLocationOrBuilder
getCodeLocationOrBuilder ()
 The unique ID for code location (stack trace) of the op's creation.
GraphOpCreation
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getDeviceName ()
 Name of the device that the op is assigned to (if available).
com.google.protobuf.ByteString
getDeviceNameBytes ()
 Name of the device that the op is assigned to (if available).
String
getGraphId ()
 Unique ID of the graph (generated by debugger).
com.google.protobuf.ByteString
getGraphIdBytes ()
 Unique ID of the graph (generated by debugger).
String
getGraphName ()
 Name of the graph that the op is a part of (if available).
com.google.protobuf.ByteString
getGraphNameBytes ()
 Name of the graph that the op is a part of (if available).
String
getInputNames (int index)
 Names of the input tensors to the op.
com.google.protobuf.ByteString
getInputNamesBytes (int index)
 Names of the input tensors to the op.
int
getInputNamesCount ()
 Names of the input tensors to the op.
com.google.protobuf.ProtocolStringList
getInputNamesList ()
 Names of the input tensors to the op.
int
getNumOutputs ()
 Number of output tensors emitted by the op.
String
getOpName ()
 Name of the op (e.g., "Dense/MatMul_1").
com.google.protobuf.ByteString
getOpNameBytes ()
 Name of the op (e.g., "Dense/MatMul_1").
String
getOpType ()
 Type of the op (e.g., "MatMul").
com.google.protobuf.ByteString
getOpTypeBytes ()
 Type of the op (e.g., "MatMul").
int
getOutputTensorIds (int index)
 Unique IDs for the output tensors of this op.
int
getOutputTensorIdsCount ()
 Unique IDs for the output tensors of this op.
List<Integer>
getOutputTensorIdsList ()
 Unique IDs for the output tensors of this op.
boolean
hasCodeLocation ()
 The unique ID for code location (stack trace) of the op's creation.
final boolean
GraphOpCreation.Builder
mergeCodeLocation ( CodeLocation value)
 The unique ID for code location (stack trace) of the op's creation.
GraphOpCreation.Builder
mergeFrom (com.google.protobuf.Message other)
GraphOpCreation.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final GraphOpCreation.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
GraphOpCreation.Builder
setCodeLocation ( CodeLocation value)
 The unique ID for code location (stack trace) of the op's creation.
GraphOpCreation.Builder
setCodeLocation ( CodeLocation.Builder builderForValue)
 The unique ID for code location (stack trace) of the op's creation.
GraphOpCreation.Builder
setDeviceName (String value)
 Name of the device that the op is assigned to (if available).
GraphOpCreation.Builder
setDeviceNameBytes (com.google.protobuf.ByteString value)
 Name of the device that the op is assigned to (if available).
GraphOpCreation.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphOpCreation.Builder
setGraphId (String value)
 Unique ID of the graph (generated by debugger).
GraphOpCreation.Builder
setGraphIdBytes (com.google.protobuf.ByteString value)
 Unique ID of the graph (generated by debugger).
GraphOpCreation.Builder
setGraphName (String value)
 Name of the graph that the op is a part of (if available).
GraphOpCreation.Builder
setGraphNameBytes (com.google.protobuf.ByteString value)
 Name of the graph that the op is a part of (if available).
GraphOpCreation.Builder
setInputNames (int index, String value)
 Names of the input tensors to the op.
GraphOpCreation.Builder
setNumOutputs (int value)
 Number of output tensors emitted by the op.
GraphOpCreation.Builder
setOpName (String value)
 Name of the op (e.g., "Dense/MatMul_1").
GraphOpCreation.Builder
setOpNameBytes (com.google.protobuf.ByteString value)
 Name of the op (e.g., "Dense/MatMul_1").
GraphOpCreation.Builder
setOpType (String value)
 Type of the op (e.g., "MatMul").
GraphOpCreation.Builder
setOpTypeBytes (com.google.protobuf.ByteString value)
 Type of the op (e.g., "MatMul").
GraphOpCreation.Builder
setOutputTensorIds (int index, int value)
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final GraphOpCreation.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods