public static final class
DebuggedGraph.Builder
A debugger-instrumented graph.
tensorflow.DebuggedGraph
Public Methods
DebuggedGraph.Builder |
addAllInstrumentedOps(Iterable<String> values)
Names of the instrumented ops. |
DebuggedGraph.Builder |
addInstrumentedOps(String value)
Names of the instrumented ops. |
DebuggedGraph.Builder |
addInstrumentedOpsBytes(com.google.protobuf.ByteString value)
Names of the instrumented ops. |
DebuggedGraph.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
DebuggedGraph |
build()
|
DebuggedGraph | |
DebuggedGraph.Builder |
clear()
|
DebuggedGraph.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
DebuggedGraph.Builder |
clearGraphId()
An ID for the graph. |
DebuggedGraph.Builder |
clearGraphName()
Name of the graph (if available). |
DebuggedGraph.Builder |
clearInstrumentedGraphDef()
An encoded version of a GraphDef. |
DebuggedGraph.Builder |
clearInstrumentedOps()
Names of the instrumented ops. |
DebuggedGraph.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
DebuggedGraph.Builder |
clearOriginalGraphDef()
Original (uninstrumented) GraphDef (if available). |
DebuggedGraph.Builder |
clearOuterContextId()
IDs of the immediate enclosing context (graph), if any. |
DebuggedGraph.Builder |
clone()
|
DebuggedGraph | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getGraphId()
An ID for the graph. |
com.google.protobuf.ByteString |
getGraphIdBytes()
An ID for the graph. |
String |
getGraphName()
Name of the graph (if available). |
com.google.protobuf.ByteString |
getGraphNameBytes()
Name of the graph (if available). |
com.google.protobuf.ByteString |
getInstrumentedGraphDef()
An encoded version of a GraphDef. |
String |
getInstrumentedOps(int index)
Names of the instrumented ops. |
com.google.protobuf.ByteString |
getInstrumentedOpsBytes(int index)
Names of the instrumented ops. |
int |
getInstrumentedOpsCount()
Names of the instrumented ops. |
com.google.protobuf.ProtocolStringList |
getInstrumentedOpsList()
Names of the instrumented ops. |
com.google.protobuf.ByteString |
getOriginalGraphDef()
Original (uninstrumented) GraphDef (if available). |
String |
getOuterContextId()
IDs of the immediate enclosing context (graph), if any. |
com.google.protobuf.ByteString |
getOuterContextIdBytes()
IDs of the immediate enclosing context (graph), if any. |
final boolean | |
DebuggedGraph.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
DebuggedGraph.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final DebuggedGraph.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
DebuggedGraph.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
DebuggedGraph.Builder |
setGraphId(String value)
An ID for the graph. |
DebuggedGraph.Builder |
setGraphIdBytes(com.google.protobuf.ByteString value)
An ID for the graph. |
DebuggedGraph.Builder |
setGraphName(String value)
Name of the graph (if available). |
DebuggedGraph.Builder |
setGraphNameBytes(com.google.protobuf.ByteString value)
Name of the graph (if available). |
DebuggedGraph.Builder |
setInstrumentedGraphDef(com.google.protobuf.ByteString value)
An encoded version of a GraphDef. |
DebuggedGraph.Builder |
setInstrumentedOps(int index, String value)
Names of the instrumented ops. |
DebuggedGraph.Builder |
setOriginalGraphDef(com.google.protobuf.ByteString value)
Original (uninstrumented) GraphDef (if available). |
DebuggedGraph.Builder |
setOuterContextId(String value)
IDs of the immediate enclosing context (graph), if any. |
DebuggedGraph.Builder |
setOuterContextIdBytes(com.google.protobuf.ByteString value)
IDs of the immediate enclosing context (graph), if any. |
DebuggedGraph.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final DebuggedGraph.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public DebuggedGraph.Builder addAllInstrumentedOps (Iterable<String> values)
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public DebuggedGraph.Builder addInstrumentedOps (String value)
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public DebuggedGraph.Builder addInstrumentedOpsBytes (com.google.protobuf.ByteString value)
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public DebuggedGraph.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public DebuggedGraph.Builder clearGraphId ()
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;
public DebuggedGraph.Builder clearGraphName ()
Name of the graph (if available).
string graph_name = 2;
public DebuggedGraph.Builder clearInstrumentedGraphDef ()
An encoded version of a GraphDef. This graph may include the debugger-inserted ops.
bytes instrumented_graph_def = 5;
public DebuggedGraph.Builder clearInstrumentedOps ()
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public DebuggedGraph.Builder clearOriginalGraphDef ()
Original (uninstrumented) GraphDef (if available).
bytes original_graph_def = 4;
public DebuggedGraph.Builder clearOuterContextId ()
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getGraphId ()
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;
public com.google.protobuf.ByteString getGraphIdBytes ()
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;
public String getGraphName ()
Name of the graph (if available).
string graph_name = 2;
public com.google.protobuf.ByteString getGraphNameBytes ()
Name of the graph (if available).
string graph_name = 2;
public com.google.protobuf.ByteString getInstrumentedGraphDef ()
An encoded version of a GraphDef. This graph may include the debugger-inserted ops.
bytes instrumented_graph_def = 5;
public String getInstrumentedOps (int index)
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public com.google.protobuf.ByteString getInstrumentedOpsBytes (int index)
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public int getInstrumentedOpsCount ()
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public com.google.protobuf.ProtocolStringList getInstrumentedOpsList ()
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public com.google.protobuf.ByteString getOriginalGraphDef ()
Original (uninstrumented) GraphDef (if available).
bytes original_graph_def = 4;
public String getOuterContextId ()
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;
public com.google.protobuf.ByteString getOuterContextIdBytes ()
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;
public final boolean isInitialized ()
public DebuggedGraph.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final DebuggedGraph.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public DebuggedGraph.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public DebuggedGraph.Builder setGraphId (String value)
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;
public DebuggedGraph.Builder setGraphIdBytes (com.google.protobuf.ByteString value)
An ID for the graph. This can be used up to look up graph names. Generated by the debugger.
string graph_id = 1;
public DebuggedGraph.Builder setGraphName (String value)
Name of the graph (if available).
string graph_name = 2;
public DebuggedGraph.Builder setGraphNameBytes (com.google.protobuf.ByteString value)
Name of the graph (if available).
string graph_name = 2;
public DebuggedGraph.Builder setInstrumentedGraphDef (com.google.protobuf.ByteString value)
An encoded version of a GraphDef. This graph may include the debugger-inserted ops.
bytes instrumented_graph_def = 5;
public DebuggedGraph.Builder setInstrumentedOps (int index, String value)
Names of the instrumented ops. This can be used to look up op name based on the numeric-summary tensors (2nd column).
repeated string instrumented_ops = 3;
public DebuggedGraph.Builder setOriginalGraphDef (com.google.protobuf.ByteString value)
Original (uninstrumented) GraphDef (if available).
bytes original_graph_def = 4;
public DebuggedGraph.Builder setOuterContextId (String value)
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;
public DebuggedGraph.Builder setOuterContextIdBytes (com.google.protobuf.ByteString value)
IDs of the immediate enclosing context (graph), if any.
string outer_context_id = 6;