trace

package
v0.0.0-...-d1695c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*FileInfo) GetFilePath

func (m *FileInfo) GetFilePath() string

func (*FileInfo) GetMultilineStatements

func (m *FileInfo) GetMultilineStatements() map[uint32]uint32

func (*FileInfo) GetSourceCode

func (m *FileInfo) GetSourceCode() string

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) Reset

func (m *FileInfo) Reset()

func (*FileInfo) String

func (m *FileInfo) String() string

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) Descriptor() ([]byte, []int)

func (*LineTrace) GetFilePath

func (m *LineTrace) GetFilePath() string

func (*LineTrace) GetLineNumber

func (m *LineTrace) GetLineNumber() uint32

func (*LineTrace) ProtoMessage

func (*LineTrace) ProtoMessage()

func (*LineTrace) Reset

func (m *LineTrace) Reset()

func (*LineTrace) String

func (m *LineTrace) String() string

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) Descriptor() ([]byte, []int)

func (*OpInfo) GetDevice

func (m *OpInfo) GetDevice() string

func (*OpInfo) GetInputs

func (m *OpInfo) GetInputs() []*TensorInfo

func (*OpInfo) GetName

func (m *OpInfo) GetName() string

func (*OpInfo) GetOpType

func (m *OpInfo) GetOpType() string

func (*OpInfo) GetOutputs

func (m *OpInfo) GetOutputs() []*TensorInfo

func (*OpInfo) GetTraceback

func (m *OpInfo) GetTraceback() []*LineTrace

func (*OpInfo) ProtoMessage

func (*OpInfo) ProtoMessage()

func (*OpInfo) Reset

func (m *OpInfo) Reset()

func (*OpInfo) String

func (m *OpInfo) String() string

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) Descriptor() ([]byte, []int)

func (*TraceInfo) GetFiles

func (m *TraceInfo) GetFiles() []*FileInfo

func (*TraceInfo) GetOps

func (m *TraceInfo) GetOps() []*OpInfo

func (*TraceInfo) ProtoMessage

func (*TraceInfo) ProtoMessage()

func (*TraceInfo) Reset

func (m *TraceInfo) Reset()

func (*TraceInfo) String

func (m *TraceInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL