Documentation
¶
Overview ¶
Package trace is a generated protocol buffer package.
It is generated from these files:
tensorflow/contrib/tensorboard/plugins/trace/trace_info.proto
It has these top-level messages:
TraceInfo OpInfo LineTrace TensorInfo FileInfo
Index ¶
- type FileInfo
- type LineTrace
- type OpInfo
- func (*OpInfo) Descriptor() ([]byte, []int)
- func (m *OpInfo) GetDevice() string
- func (m *OpInfo) GetInputs() []*TensorInfo
- func (m *OpInfo) GetName() string
- func (m *OpInfo) GetOpType() string
- func (m *OpInfo) GetOutputs() []*TensorInfo
- func (m *OpInfo) GetTraceback() []*LineTrace
- func (*OpInfo) ProtoMessage()
- func (m *OpInfo) Reset()
- func (m *OpInfo) String() string
- type TensorInfo
- func (*TensorInfo) Descriptor() ([]byte, []int)
- func (m *TensorInfo) GetConsumers() []string
- func (m *TensorInfo) GetDtype() string
- func (m *TensorInfo) GetNumBytesPerElem() uint32
- func (m *TensorInfo) GetShape() []int32
- func (*TensorInfo) ProtoMessage()
- func (m *TensorInfo) Reset()
- func (m *TensorInfo) String() string
- type TraceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct {
// Absolute file path to the source code.
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"`
SourceCode string `protobuf:"bytes,2,opt,name=source_code,json=sourceCode" json:"source_code,omitempty"`
// Map from end of statement to start of statement. End and start are 0-based
// line indexes.
MultilineStatements map[uint32]uint32 `` /* 187-byte string literal not displayed */
}
func (*FileInfo) Descriptor ¶
func (*FileInfo) GetFilePath ¶
func (*FileInfo) GetMultilineStatements ¶
func (*FileInfo) GetSourceCode ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
type LineTrace ¶
type LineTrace struct {
// Absolute file path.
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath" json:"file_path,omitempty"`
// 1-based line number.
LineNumber uint32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber" json:"line_number,omitempty"`
}
func (*LineTrace) Descriptor ¶
func (*LineTrace) GetFilePath ¶
func (*LineTrace) GetLineNumber ¶
func (*LineTrace) ProtoMessage ¶
func (*LineTrace) ProtoMessage()
type OpInfo ¶
type OpInfo struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
OpType string `protobuf:"bytes,2,opt,name=op_type,json=opType" json:"op_type,omitempty"`
Device string `protobuf:"bytes,3,opt,name=device" json:"device,omitempty"`
Traceback []*LineTrace `protobuf:"bytes,4,rep,name=traceback" json:"traceback,omitempty"`
Inputs []*TensorInfo `protobuf:"bytes,5,rep,name=inputs" json:"inputs,omitempty"`
Outputs []*TensorInfo `protobuf:"bytes,6,rep,name=outputs" json:"outputs,omitempty"`
}
func (*OpInfo) Descriptor ¶
func (*OpInfo) GetInputs ¶
func (m *OpInfo) GetInputs() []*TensorInfo
func (*OpInfo) GetOutputs ¶
func (m *OpInfo) GetOutputs() []*TensorInfo
func (*OpInfo) GetTraceback ¶
func (*OpInfo) ProtoMessage ¶
func (*OpInfo) ProtoMessage()
type TensorInfo ¶
type TensorInfo struct {
// Size of the tensor for each dimension. Value of -1 denotes "unknown"
// size for that dimension.
Shape []int32 `protobuf:"varint,1,rep,packed,name=shape" json:"shape,omitempty"`
// The data type of the tensor.
Dtype string `protobuf:"bytes,2,opt,name=dtype" json:"dtype,omitempty"`
// Number of bytes per element in the tensor.
NumBytesPerElem uint32 `protobuf:"varint,3,opt,name=num_bytes_per_elem,json=numBytesPerElem" json:"num_bytes_per_elem,omitempty"`
// List of operation names that consume this tensor.
Consumers []string `protobuf:"bytes,4,rep,name=consumers" json:"consumers,omitempty"`
}
func (*TensorInfo) Descriptor ¶
func (*TensorInfo) Descriptor() ([]byte, []int)
func (*TensorInfo) GetConsumers ¶
func (m *TensorInfo) GetConsumers() []string
func (*TensorInfo) GetDtype ¶
func (m *TensorInfo) GetDtype() string
func (*TensorInfo) GetNumBytesPerElem ¶
func (m *TensorInfo) GetNumBytesPerElem() uint32
func (*TensorInfo) GetShape ¶
func (m *TensorInfo) GetShape() []int32
func (*TensorInfo) ProtoMessage ¶
func (*TensorInfo) ProtoMessage()
func (*TensorInfo) Reset ¶
func (m *TensorInfo) Reset()
func (*TensorInfo) String ¶
func (m *TensorInfo) String() string
type TraceInfo ¶
type TraceInfo struct {
Ops []*OpInfo `protobuf:"bytes,1,rep,name=ops" json:"ops,omitempty"`
Files []*FileInfo `protobuf:"bytes,2,rep,name=files" json:"files,omitempty"`
}
func (*TraceInfo) Descriptor ¶
func (*TraceInfo) ProtoMessage ¶
func (*TraceInfo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.