GraphOpCreation.Builder

public static final class GraphOpCreation.Builder

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

Métodos Públicos

GraphOpCreation.Builder
addAllInputNames (valores Iterable <String>)
 Names of the input tensors to the op.
GraphOpCreation.Builder
addAllOutputTensorIds (valores Iterable <? extends Integer>)
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
addInputNames (valor String)
 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 (valor int)
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
GraphOpCreation
build ()
GraphOpCreation
GraphOpCreation.Builder
limpar ()
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 (campo com.google.protobuf.Descriptors.FieldDescriptor)
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
clone ()
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
Fragmento
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).
Fragmento
getGraphId ()
 Unique ID of the graph (generated by debugger).
com.google.protobuf.ByteString
getGraphIdBytes ()
 Unique ID of the graph (generated by debugger).
Fragmento
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).
Fragmento
getInputNames (índice interno )
 Names of the input tensors to the op.
com.google.protobuf.ByteString
getInputNamesBytes (índice interno )
 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.
Fragmento
getOpName ()
 Name of the op (e.g., "Dense/MatMul_1").
com.google.protobuf.ByteString
getOpNameBytes ()
 Name of the op (e.g., "Dense/MatMul_1").
Fragmento
getOpType ()
 Type of the op (e.g., "MatMul").
com.google.protobuf.ByteString
getOpTypeBytes ()
 Type of the op (e.g., "MatMul").
int
getOutputTensorIds (índice int)
 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.
boleano
hasCodeLocation ()
 The unique ID for code location (stack trace) of the op's creation.
final booleano
GraphOpCreation.Builder
mergeCodeLocation (valor CodeLocation )
 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 (valor CodeLocation )
 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 (valor String)
 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
GraphOpCreation.Builder
setGraphId (valor String)
 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 (valor String)
 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 (valor int)
 Number of output tensors emitted by the op.
GraphOpCreation.Builder
setOpName (valor String)
 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 (valor String)
 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 (índice int, valor int)
 Unique IDs for the output tensors of this op.
GraphOpCreation.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
final GraphOpCreation.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Métodos herdados

Métodos Públicos

public GraphOpCreation.Builder addAllInputNames (Iterable <String> values)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public GraphOpCreation.Builder addAllOutputTensorIds (valores Iterable <? extends Integer>)

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public GraphOpCreation.Builder addInputNames (String value)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public GraphOpCreation.Builder addInputNamesBytes (com.google.protobuf.ByteString value)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public GraphOpCreation.Builder addOutputTensorIds (valor int)

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public GraphOpCreation.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public GraphOpCreation build ()

public GraphOpCreation buildPartial ()

public GraphOpCreation.Builder clear ()

public GraphOpCreation.Builder clearCodeLocation ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public GraphOpCreation.Builder clearDeviceName ()

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public GraphOpCreation.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public GraphOpCreation.Builder clearGraphId ()

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public GraphOpCreation.Builder clearGraphName ()

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public GraphOpCreation.Builder clearInputNames ()

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public GraphOpCreation.Builder clearNumOutputs ()

 Number of output tensors emitted by the op.
 
int32 num_outputs = 7;

public GraphOpCreation.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public GraphOpCreation.Builder clearOpName ()

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public GraphOpCreation.Builder clearOpType ()

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public GraphOpCreation.Builder clearOutputTensorIds ()

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public GraphOpCreation.Builder clone ()

public CodeLocation getCodeLocation ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public CodeLocation.Builder getCodeLocationBuilder ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public CodeLocationOrBuilder getCodeLocationOrBuilder ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public GraphOpCreation getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getDeviceName ()

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public com.google.protobuf.ByteString getDeviceNameBytes ()

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public String getGraphId ()

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public com.google.protobuf.ByteString getGraphIdBytes ()

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public String getGraphName ()

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public com.google.protobuf.ByteString getGraphNameBytes ()

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public String getInputNames (índice interno )

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public com.google.protobuf.ByteString getInputNamesBytes (int index)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public int getInputNamesCount ()

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public com.google.protobuf.ProtocolStringList getInputNamesList ()

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public int getNumOutputs ()

 Number of output tensors emitted by the op.
 
int32 num_outputs = 7;

public String getOpName ()

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public com.google.protobuf.ByteString getOpNameBytes ()

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public String getOpType ()

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public com.google.protobuf.ByteString getOpTypeBytes ()

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public int getOutputTensorIds (int index)

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public int getOutputTensorIdsCount ()

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public List <Integer> getOutputTensorIdsList ()

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public boolean hasCodeLocation ()

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public final boolean isInitialized ()

public GraphOpCreation.Builder mergeCodeLocation (valor CodeLocation )

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public GraphOpCreation.Builder mergeFrom (com.google.protobuf.Message other)

public GraphOpCreation.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public final GraphOpCreation.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public GraphOpCreation.Builder setCodeLocation (valor CodeLocation )

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public GraphOpCreation.Builder setCodeLocation ( CodeLocation.Builder builderForValue)

 The unique ID for code location (stack trace) of the op's creation.
 
.tensorflow.CodeLocation code_location = 8;

public GraphOpCreation.Builder setDeviceName (String value)

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public GraphOpCreation.Builder setDeviceNameBytes (valor com.google.protobuf.ByteString)

 Name of the device that the op is assigned to (if available).
 
string device_name = 5;

public GraphOpCreation.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public GraphOpCreation.Builder setGraphId (String value)

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public GraphOpCreation.Builder setGraphIdBytes (com.google.protobuf.ByteString value)

 Unique ID of the graph (generated by debugger).
 This is the ID of the immediately-enclosing graph.
 
string graph_id = 4;

public GraphOpCreation.Builder setGraphName (String value)

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public GraphOpCreation.Builder setGraphNameBytes (com.google.protobuf.ByteString value)

 Name of the graph that the op is a part of (if available).
 
string graph_name = 3;

public GraphOpCreation.Builder setInputNames (int index, String value)

 Names of the input tensors to the op.
 
repeated string input_names = 6;

public GraphOpCreation.Builder setNumOutputs (valor int)

 Number of output tensors emitted by the op.
 
int32 num_outputs = 7;

public GraphOpCreation.Builder setOpName (String value)

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public GraphOpCreation.Builder setOpNameBytes (valor com.google.protobuf.ByteString)

 Name of the op (e.g., "Dense/MatMul_1").
 
string op_name = 2;

public GraphOpCreation.Builder setOpType (String value)

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public GraphOpCreation.Builder setOpTypeBytes (com.google.protobuf.ByteString value)

 Type of the op (e.g., "MatMul").
 
string op_type = 1;

public GraphOpCreation.Builder setOutputTensorIds (int index, int value)

 Unique IDs for the output tensors of this op.
 
repeated int32 output_tensor_ids = 9;

public GraphOpCreation.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

public final GraphOpCreation.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)