Package org.platanios.tensorflow.proto
Interface GraphDebugInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GraphDebugInfo
,GraphDebugInfo.Builder
public interface GraphDebugInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsTraces(java.lang.String key)
This maps a node name to a stack trace in the source code.java.lang.String
getFiles(int index)
This stores all the source code file names and can be indexed by the `file_index`.com.google.protobuf.ByteString
getFilesBytes(int index)
This stores all the source code file names and can be indexed by the `file_index`.int
getFilesCount()
This stores all the source code file names and can be indexed by the `file_index`.java.util.List<java.lang.String>
getFilesList()
This stores all the source code file names and can be indexed by the `file_index`.java.util.Map<java.lang.String,GraphDebugInfo.StackTrace>
getTraces()
Deprecated.int
getTracesCount()
This maps a node name to a stack trace in the source code.java.util.Map<java.lang.String,GraphDebugInfo.StackTrace>
getTracesMap()
This maps a node name to a stack trace in the source code.GraphDebugInfo.StackTrace
getTracesOrDefault(java.lang.String key, GraphDebugInfo.StackTrace defaultValue)
This maps a node name to a stack trace in the source code.GraphDebugInfo.StackTrace
getTracesOrThrow(java.lang.String key)
This maps a node name to a stack trace in the source code.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFilesList
java.util.List<java.lang.String> getFilesList()
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Returns:
- A list containing the files.
-
getFilesCount
int getFilesCount()
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Returns:
- The count of files.
-
getFiles
java.lang.String getFiles(int index)
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The files at the given index.
-
getFilesBytes
com.google.protobuf.ByteString getFilesBytes(int index)
This stores all the source code file names and can be indexed by the `file_index`.
repeated string files = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the files at the given index.
-
getTracesCount
int getTracesCount()
This maps a node name to a stack trace in the source code. The map key is a mangling of the containing function and op name with syntax: op.name '@' func_name For ops in the top-level graph, the func_name is the empty string. Note that op names are restricted to a small number of characters which exclude '@', making it impossible to collide keys of this form. Function names accept a much wider set of characters. It would be preferable to avoid mangling and use a tuple key of (op.name, func_name), but this is not supported with protocol buffers.
map<string, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
containsTraces
boolean containsTraces(java.lang.String key)
This maps a node name to a stack trace in the source code. The map key is a mangling of the containing function and op name with syntax: op.name '@' func_name For ops in the top-level graph, the func_name is the empty string. Note that op names are restricted to a small number of characters which exclude '@', making it impossible to collide keys of this form. Function names accept a much wider set of characters. It would be preferable to avoid mangling and use a tuple key of (op.name, func_name), but this is not supported with protocol buffers.
map<string, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
getTraces
@Deprecated java.util.Map<java.lang.String,GraphDebugInfo.StackTrace> getTraces()
Deprecated.UsegetTracesMap()
instead.
-
getTracesMap
java.util.Map<java.lang.String,GraphDebugInfo.StackTrace> getTracesMap()
This maps a node name to a stack trace in the source code. The map key is a mangling of the containing function and op name with syntax: op.name '@' func_name For ops in the top-level graph, the func_name is the empty string. Note that op names are restricted to a small number of characters which exclude '@', making it impossible to collide keys of this form. Function names accept a much wider set of characters. It would be preferable to avoid mangling and use a tuple key of (op.name, func_name), but this is not supported with protocol buffers.
map<string, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
getTracesOrDefault
GraphDebugInfo.StackTrace getTracesOrDefault(java.lang.String key, GraphDebugInfo.StackTrace defaultValue)
This maps a node name to a stack trace in the source code. The map key is a mangling of the containing function and op name with syntax: op.name '@' func_name For ops in the top-level graph, the func_name is the empty string. Note that op names are restricted to a small number of characters which exclude '@', making it impossible to collide keys of this form. Function names accept a much wider set of characters. It would be preferable to avoid mangling and use a tuple key of (op.name, func_name), but this is not supported with protocol buffers.
map<string, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
getTracesOrThrow
GraphDebugInfo.StackTrace getTracesOrThrow(java.lang.String key)
This maps a node name to a stack trace in the source code. The map key is a mangling of the containing function and op name with syntax: op.name '@' func_name For ops in the top-level graph, the func_name is the empty string. Note that op names are restricted to a small number of characters which exclude '@', making it impossible to collide keys of this form. Function names accept a much wider set of characters. It would be preferable to avoid mangling and use a tuple key of (op.name, func_name), but this is not supported with protocol buffers.
map<string, .org.platanios.tensorflow.proto.GraphDebugInfo.StackTrace> traces = 2;
-
-