util

package
v0.0.0-...-018471a Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthExampleProtoFastParsingTest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExampleProtoFastParsingTest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExampleProtoFastParsingTest = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMemmappedFileSystem        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMemmappedFileSystem          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMemmappedFileSystem = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSavedTensorSlice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSavedTensorSlice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSavedTensorSlice = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTestLog        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTestLog          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTestLog = fmt.Errorf("proto: unexpected end of group")
)
View Source
var LogMessage_Level_name = map[int32]string{
	0:  "UNKNOWN",
	10: "DEBUGGING",
	20: "INFO",
	30: "WARN",
	40: "ERROR",
	50: "FATAL",
}
View Source
var LogMessage_Level_value = map[string]int32{
	"UNKNOWN":   0,
	"DEBUGGING": 10,
	"INFO":      20,
	"WARN":      30,
	"ERROR":     40,
	"FATAL":     50,
}
View Source
var SessionLog_SessionStatus_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "START",
	2: "STOP",
	3: "CHECKPOINT",
}
View Source
var SessionLog_SessionStatus_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"START":              1,
	"STOP":               2,
	"CHECKPOINT":         3,
}
View Source
var TestResults_BenchmarkType_name = map[int32]string{
	0: "UNKNOWN",
	1: "CPP_MICROBENCHMARK",
	2: "PYTHON_BENCHMARK",
	3: "ANDROID_BENCHMARK",
	4: "EDGE_BENCHMARK",
}
View Source
var TestResults_BenchmarkType_value = map[string]int32{
	"UNKNOWN":            0,
	"CPP_MICROBENCHMARK": 1,
	"PYTHON_BENCHMARK":   2,
	"ANDROID_BENCHMARK":  3,
	"EDGE_BENCHMARK":     4,
}
View Source
var WorkerHealth_name = map[int32]string{
	0: "OK",
	1: "RECEIVED_SHUTDOWN_SIGNAL",
	2: "INTERNAL_ERROR",
	3: "SHUTTING_DOWN",
}
View Source
var WorkerHealth_value = map[string]int32{
	"OK":                       0,
	"RECEIVED_SHUTDOWN_SIGNAL": 1,
	"INTERNAL_ERROR":           2,
	"SHUTTING_DOWN":            3,
}
View Source
var WorkerShutdownMode_name = map[int32]string{
	0: "DEFAULT",
	1: "NOT_CONFIGURED",
	2: "WAIT_FOR_COORDINATOR",
	3: "SHUTDOWN_AFTER_TIMEOUT",
}
View Source
var WorkerShutdownMode_value = map[string]int32{
	"DEFAULT":                0,
	"NOT_CONFIGURED":         1,
	"WAIT_FOR_COORDINATOR":   2,
	"SHUTDOWN_AFTER_TIMEOUT": 3,
}

Functions

This section is empty.

Types

type AvailableDeviceInfo

type AvailableDeviceInfo struct {
	Name                string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	MemoryLimit         int64  `protobuf:"varint,3,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	PhysicalDescription string `protobuf:"bytes,4,opt,name=physical_description,json=physicalDescription,proto3" json:"physical_description,omitempty"`
}

func (*AvailableDeviceInfo) Descriptor

func (*AvailableDeviceInfo) Descriptor() ([]byte, []int)

func (*AvailableDeviceInfo) GetMemoryLimit

func (m *AvailableDeviceInfo) GetMemoryLimit() int64

func (*AvailableDeviceInfo) GetName

func (m *AvailableDeviceInfo) GetName() string

func (*AvailableDeviceInfo) GetPhysicalDescription

func (m *AvailableDeviceInfo) GetPhysicalDescription() string

func (*AvailableDeviceInfo) GetType

func (m *AvailableDeviceInfo) GetType() string

func (*AvailableDeviceInfo) Marshal

func (m *AvailableDeviceInfo) Marshal() (dAtA []byte, err error)

func (*AvailableDeviceInfo) MarshalTo

func (m *AvailableDeviceInfo) MarshalTo(dAtA []byte) (int, error)

func (*AvailableDeviceInfo) MarshalToSizedBuffer

func (m *AvailableDeviceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AvailableDeviceInfo) ProtoMessage

func (*AvailableDeviceInfo) ProtoMessage()

func (*AvailableDeviceInfo) Reset

func (m *AvailableDeviceInfo) Reset()

func (*AvailableDeviceInfo) Size

func (m *AvailableDeviceInfo) Size() (n int)

func (*AvailableDeviceInfo) String

func (m *AvailableDeviceInfo) String() string

func (*AvailableDeviceInfo) Unmarshal

func (m *AvailableDeviceInfo) Unmarshal(dAtA []byte) error

func (*AvailableDeviceInfo) XXX_DiscardUnknown

func (m *AvailableDeviceInfo) XXX_DiscardUnknown()

func (*AvailableDeviceInfo) XXX_Marshal

func (m *AvailableDeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AvailableDeviceInfo) XXX_Merge

func (m *AvailableDeviceInfo) XXX_Merge(src proto.Message)

func (*AvailableDeviceInfo) XXX_Size

func (m *AvailableDeviceInfo) XXX_Size() int

func (*AvailableDeviceInfo) XXX_Unmarshal

func (m *AvailableDeviceInfo) XXX_Unmarshal(b []byte) error

type BenchmarkEntries

type BenchmarkEntries struct {
	Entry []*BenchmarkEntry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
}

func (*BenchmarkEntries) Descriptor

func (*BenchmarkEntries) Descriptor() ([]byte, []int)

func (*BenchmarkEntries) GetEntry

func (m *BenchmarkEntries) GetEntry() []*BenchmarkEntry

func (*BenchmarkEntries) Marshal

func (m *BenchmarkEntries) Marshal() (dAtA []byte, err error)

func (*BenchmarkEntries) MarshalTo

func (m *BenchmarkEntries) MarshalTo(dAtA []byte) (int, error)

func (*BenchmarkEntries) MarshalToSizedBuffer

func (m *BenchmarkEntries) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BenchmarkEntries) ProtoMessage

func (*BenchmarkEntries) ProtoMessage()

func (*BenchmarkEntries) Reset

func (m *BenchmarkEntries) Reset()

func (*BenchmarkEntries) Size

func (m *BenchmarkEntries) Size() (n int)

func (*BenchmarkEntries) String

func (m *BenchmarkEntries) String() string

func (*BenchmarkEntries) Unmarshal

func (m *BenchmarkEntries) Unmarshal(dAtA []byte) error

func (*BenchmarkEntries) XXX_DiscardUnknown

func (m *BenchmarkEntries) XXX_DiscardUnknown()

func (*BenchmarkEntries) XXX_Marshal

func (m *BenchmarkEntries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BenchmarkEntries) XXX_Merge

func (m *BenchmarkEntries) XXX_Merge(src proto.Message)

func (*BenchmarkEntries) XXX_Size

func (m *BenchmarkEntries) XXX_Size() int

func (*BenchmarkEntries) XXX_Unmarshal

func (m *BenchmarkEntries) XXX_Unmarshal(b []byte) error

type BenchmarkEntry

type BenchmarkEntry struct {
	// The name of the specific benchmark or test
	// (e.g. BM_AdjustContrast_gpu_B_W_H)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If a benchmark, how many iterations it was run for
	Iters int64 `protobuf:"varint,2,opt,name=iters,proto3" json:"iters,omitempty"`
	// Total cpu time used for all iterations (in seconds)
	CpuTime float64 `protobuf:"fixed64,3,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
	// Total wall time used for all iterations (in seconds)
	WallTime float64 `protobuf:"fixed64,4,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
	// Throughput (in MB/s)
	Throughput float64 `protobuf:"fixed64,5,opt,name=throughput,proto3" json:"throughput,omitempty"`
	// Generic map from result key to value.
	Extras map[string]*EntryValue `` /* 153-byte string literal not displayed */
	// Metric name, value and expected range. This can include accuracy metrics
	// typically used to determine whether the accuracy test has passed
	Metrics []*MetricEntry `protobuf:"bytes,7,rep,name=metrics,proto3" json:"metrics,omitempty"`
}

Each unit test or benchmark in a test or benchmark run provides some set of information. Here we provide some reasonable keys one would expect to see, with optional key/value pairs for things we haven't considered.

This BenchmarkEntry should be emitted by each unit test or benchmark reporter.

func (*BenchmarkEntry) Descriptor

func (*BenchmarkEntry) Descriptor() ([]byte, []int)

func (*BenchmarkEntry) GetCpuTime

func (m *BenchmarkEntry) GetCpuTime() float64

func (*BenchmarkEntry) GetExtras

func (m *BenchmarkEntry) GetExtras() map[string]*EntryValue

func (*BenchmarkEntry) GetIters

func (m *BenchmarkEntry) GetIters() int64

func (*BenchmarkEntry) GetMetrics

func (m *BenchmarkEntry) GetMetrics() []*MetricEntry

func (*BenchmarkEntry) GetName

func (m *BenchmarkEntry) GetName() string

func (*BenchmarkEntry) GetThroughput

func (m *BenchmarkEntry) GetThroughput() float64

func (*BenchmarkEntry) GetWallTime

func (m *BenchmarkEntry) GetWallTime() float64

func (*BenchmarkEntry) Marshal

func (m *BenchmarkEntry) Marshal() (dAtA []byte, err error)

func (*BenchmarkEntry) MarshalTo

func (m *BenchmarkEntry) MarshalTo(dAtA []byte) (int, error)

func (*BenchmarkEntry) MarshalToSizedBuffer

func (m *BenchmarkEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BenchmarkEntry) ProtoMessage

func (*BenchmarkEntry) ProtoMessage()

func (*BenchmarkEntry) Reset

func (m *BenchmarkEntry) Reset()

func (*BenchmarkEntry) Size

func (m *BenchmarkEntry) Size() (n int)

func (*BenchmarkEntry) String

func (m *BenchmarkEntry) String() string

func (*BenchmarkEntry) Unmarshal

func (m *BenchmarkEntry) Unmarshal(dAtA []byte) error

func (*BenchmarkEntry) XXX_DiscardUnknown

func (m *BenchmarkEntry) XXX_DiscardUnknown()

func (*BenchmarkEntry) XXX_Marshal

func (m *BenchmarkEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BenchmarkEntry) XXX_Merge

func (m *BenchmarkEntry) XXX_Merge(src proto.Message)

func (*BenchmarkEntry) XXX_Size

func (m *BenchmarkEntry) XXX_Size() int

func (*BenchmarkEntry) XXX_Unmarshal

func (m *BenchmarkEntry) XXX_Unmarshal(b []byte) error

type BuildConfiguration

type BuildConfiguration struct {
	Mode    string   `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	CcFlags []string `protobuf:"bytes,2,rep,name=cc_flags,json=ccFlags,proto3" json:"cc_flags,omitempty"`
	Opts    []string `protobuf:"bytes,3,rep,name=opts,proto3" json:"opts,omitempty"`
}

func (*BuildConfiguration) Descriptor

func (*BuildConfiguration) Descriptor() ([]byte, []int)

func (*BuildConfiguration) GetCcFlags

func (m *BuildConfiguration) GetCcFlags() []string

func (*BuildConfiguration) GetMode

func (m *BuildConfiguration) GetMode() string

func (*BuildConfiguration) GetOpts

func (m *BuildConfiguration) GetOpts() []string

func (*BuildConfiguration) Marshal

func (m *BuildConfiguration) Marshal() (dAtA []byte, err error)

func (*BuildConfiguration) MarshalTo

func (m *BuildConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*BuildConfiguration) MarshalToSizedBuffer

func (m *BuildConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildConfiguration) ProtoMessage

func (*BuildConfiguration) ProtoMessage()

func (*BuildConfiguration) Reset

func (m *BuildConfiguration) Reset()

func (*BuildConfiguration) Size

func (m *BuildConfiguration) Size() (n int)

func (*BuildConfiguration) String

func (m *BuildConfiguration) String() string

func (*BuildConfiguration) Unmarshal

func (m *BuildConfiguration) Unmarshal(dAtA []byte) error

func (*BuildConfiguration) XXX_DiscardUnknown

func (m *BuildConfiguration) XXX_DiscardUnknown()

func (*BuildConfiguration) XXX_Marshal

func (m *BuildConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildConfiguration) XXX_Merge

func (m *BuildConfiguration) XXX_Merge(src proto.Message)

func (*BuildConfiguration) XXX_Size

func (m *BuildConfiguration) XXX_Size() int

func (*BuildConfiguration) XXX_Unmarshal

func (m *BuildConfiguration) XXX_Unmarshal(b []byte) error

type CPUInfo

type CPUInfo struct {
	NumCores        int64 `protobuf:"varint,1,opt,name=num_cores,json=numCores,proto3" json:"num_cores,omitempty"`
	NumCoresAllowed int64 `protobuf:"varint,2,opt,name=num_cores_allowed,json=numCoresAllowed,proto3" json:"num_cores_allowed,omitempty"`
	// How fast are these cpus?
	MhzPerCpu float64 `protobuf:"fixed64,3,opt,name=mhz_per_cpu,json=mhzPerCpu,proto3" json:"mhz_per_cpu,omitempty"`
	// Additional cpu information. For example,
	// Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
	CpuInfo string `protobuf:"bytes,4,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty"`
	// What kind of cpu scaling is enabled on the host.
	// Examples include "performance", "ondemand", "conservative", "mixed".
	CpuGovernor string `protobuf:"bytes,5,opt,name=cpu_governor,json=cpuGovernor,proto3" json:"cpu_governor,omitempty"`
	// Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
	CacheSize map[string]int64 `` /* 177-byte string literal not displayed */
}

func (*CPUInfo) Descriptor

func (*CPUInfo) Descriptor() ([]byte, []int)

func (*CPUInfo) GetCacheSize

func (m *CPUInfo) GetCacheSize() map[string]int64

func (*CPUInfo) GetCpuGovernor

func (m *CPUInfo) GetCpuGovernor() string

func (*CPUInfo) GetCpuInfo

func (m *CPUInfo) GetCpuInfo() string

func (*CPUInfo) GetMhzPerCpu

func (m *CPUInfo) GetMhzPerCpu() float64

func (*CPUInfo) GetNumCores

func (m *CPUInfo) GetNumCores() int64

func (*CPUInfo) GetNumCoresAllowed

func (m *CPUInfo) GetNumCoresAllowed() int64

func (*CPUInfo) Marshal

func (m *CPUInfo) Marshal() (dAtA []byte, err error)

func (*CPUInfo) MarshalTo

func (m *CPUInfo) MarshalTo(dAtA []byte) (int, error)

func (*CPUInfo) MarshalToSizedBuffer

func (m *CPUInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CPUInfo) ProtoMessage

func (*CPUInfo) ProtoMessage()

func (*CPUInfo) Reset

func (m *CPUInfo) Reset()

func (*CPUInfo) Size

func (m *CPUInfo) Size() (n int)

func (*CPUInfo) String

func (m *CPUInfo) String() string

func (*CPUInfo) Unmarshal

func (m *CPUInfo) Unmarshal(dAtA []byte) error

func (*CPUInfo) XXX_DiscardUnknown

func (m *CPUInfo) XXX_DiscardUnknown()

func (*CPUInfo) XXX_Marshal

func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CPUInfo) XXX_Merge

func (m *CPUInfo) XXX_Merge(src proto.Message)

func (*CPUInfo) XXX_Size

func (m *CPUInfo) XXX_Size() int

func (*CPUInfo) XXX_Unmarshal

func (m *CPUInfo) XXX_Unmarshal(b []byte) error

type CommitId

type CommitId struct {
	// Types that are valid to be assigned to Kind:
	//	*CommitId_Changelist
	//	*CommitId_Hash
	Kind isCommitId_Kind `protobuf_oneof:"kind"`
	// Hash of intermediate change between hash/changelist and what was tested.
	// Not used if the build is from a commit without modifications.
	Snapshot string `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// Changelist tested if the change list is not already submitted.
	PendingChangelist int64 `protobuf:"varint,4,opt,name=pending_changelist,json=pendingChangelist,proto3" json:"pending_changelist,omitempty"`
}

func (*CommitId) Descriptor

func (*CommitId) Descriptor() ([]byte, []int)

func (*CommitId) GetChangelist

func (m *CommitId) GetChangelist() int64

func (*CommitId) GetHash

func (m *CommitId) GetHash() string

func (*CommitId) GetKind

func (m *CommitId) GetKind() isCommitId_Kind

func (*CommitId) GetPendingChangelist

func (m *CommitId) GetPendingChangelist() int64

func (*CommitId) GetSnapshot

func (m *CommitId) GetSnapshot() string

func (*CommitId) Marshal

func (m *CommitId) Marshal() (dAtA []byte, err error)

func (*CommitId) MarshalTo

func (m *CommitId) MarshalTo(dAtA []byte) (int, error)

func (*CommitId) MarshalToSizedBuffer

func (m *CommitId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommitId) ProtoMessage

func (*CommitId) ProtoMessage()

func (*CommitId) Reset

func (m *CommitId) Reset()

func (*CommitId) Size

func (m *CommitId) Size() (n int)

func (*CommitId) String

func (m *CommitId) String() string

func (*CommitId) Unmarshal

func (m *CommitId) Unmarshal(dAtA []byte) error

func (*CommitId) XXX_DiscardUnknown

func (m *CommitId) XXX_DiscardUnknown()

func (*CommitId) XXX_Marshal

func (m *CommitId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommitId) XXX_Merge

func (m *CommitId) XXX_Merge(src proto.Message)

func (*CommitId) XXX_OneofWrappers

func (*CommitId) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CommitId) XXX_Size

func (m *CommitId) XXX_Size() int

func (*CommitId) XXX_Unmarshal

func (m *CommitId) XXX_Unmarshal(b []byte) error

type CommitId_Changelist

type CommitId_Changelist struct {
	Changelist int64 `protobuf:"varint,1,opt,name=changelist,proto3,oneof" json:"changelist,omitempty"`
}

func (*CommitId_Changelist) MarshalTo

func (m *CommitId_Changelist) MarshalTo(dAtA []byte) (int, error)

func (*CommitId_Changelist) MarshalToSizedBuffer

func (m *CommitId_Changelist) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommitId_Changelist) Size

func (m *CommitId_Changelist) Size() (n int)

type CommitId_Hash

type CommitId_Hash struct {
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3,oneof" json:"hash,omitempty"`
}

func (*CommitId_Hash) MarshalTo

func (m *CommitId_Hash) MarshalTo(dAtA []byte) (int, error)

func (*CommitId_Hash) MarshalToSizedBuffer

func (m *CommitId_Hash) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommitId_Hash) Size

func (m *CommitId_Hash) Size() (n int)

type EntryValue

type EntryValue struct {
	// Types that are valid to be assigned to Kind:
	//	*EntryValue_DoubleValue
	//	*EntryValue_StringValue
	Kind isEntryValue_Kind `protobuf_oneof:"kind"`
}

func (*EntryValue) Descriptor

func (*EntryValue) Descriptor() ([]byte, []int)

func (*EntryValue) GetDoubleValue

func (m *EntryValue) GetDoubleValue() float64

func (*EntryValue) GetKind

func (m *EntryValue) GetKind() isEntryValue_Kind

func (*EntryValue) GetStringValue

func (m *EntryValue) GetStringValue() string

func (*EntryValue) Marshal

func (m *EntryValue) Marshal() (dAtA []byte, err error)

func (*EntryValue) MarshalTo

func (m *EntryValue) MarshalTo(dAtA []byte) (int, error)

func (*EntryValue) MarshalToSizedBuffer

func (m *EntryValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EntryValue) ProtoMessage

func (*EntryValue) ProtoMessage()

func (*EntryValue) Reset

func (m *EntryValue) Reset()

func (*EntryValue) Size

func (m *EntryValue) Size() (n int)

func (*EntryValue) String

func (m *EntryValue) String() string

func (*EntryValue) Unmarshal

func (m *EntryValue) Unmarshal(dAtA []byte) error

func (*EntryValue) XXX_DiscardUnknown

func (m *EntryValue) XXX_DiscardUnknown()

func (*EntryValue) XXX_Marshal

func (m *EntryValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntryValue) XXX_Merge

func (m *EntryValue) XXX_Merge(src proto.Message)

func (*EntryValue) XXX_OneofWrappers

func (*EntryValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*EntryValue) XXX_Size

func (m *EntryValue) XXX_Size() int

func (*EntryValue) XXX_Unmarshal

func (m *EntryValue) XXX_Unmarshal(b []byte) error

type EntryValue_DoubleValue

type EntryValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*EntryValue_DoubleValue) MarshalTo

func (m *EntryValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*EntryValue_DoubleValue) MarshalToSizedBuffer

func (m *EntryValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EntryValue_DoubleValue) Size

func (m *EntryValue_DoubleValue) Size() (n int)

type EntryValue_StringValue

type EntryValue_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}

func (*EntryValue_StringValue) MarshalTo

func (m *EntryValue_StringValue) MarshalTo(dAtA []byte) (int, error)

func (*EntryValue_StringValue) MarshalToSizedBuffer

func (m *EntryValue_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EntryValue_StringValue) Size

func (m *EntryValue_StringValue) Size() (n int)

type Event

type Event struct {
	// Timestamp of the event.
	WallTime float64 `protobuf:"fixed64,1,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
	// Global step of the event.
	Step int64 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"`
	// Types that are valid to be assigned to What:
	//	*Event_FileVersion
	//	*Event_GraphDef
	//	*Event_Summary
	//	*Event_LogMessage
	//	*Event_SessionLog
	//	*Event_TaggedRunMetadata
	//	*Event_MetaGraphDef
	What isEvent_What `protobuf_oneof:"what"`
}

Protocol buffer representing an event that happened during the execution of a Brain model.

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetFileVersion

func (m *Event) GetFileVersion() string

func (*Event) GetGraphDef

func (m *Event) GetGraphDef() []byte

func (*Event) GetLogMessage

func (m *Event) GetLogMessage() *LogMessage

func (*Event) GetMetaGraphDef

func (m *Event) GetMetaGraphDef() []byte

func (*Event) GetSessionLog

func (m *Event) GetSessionLog() *SessionLog

func (*Event) GetStep

func (m *Event) GetStep() int64

func (*Event) GetSummary

func (m *Event) GetSummary() *framework.Summary

func (*Event) GetTaggedRunMetadata

func (m *Event) GetTaggedRunMetadata() *TaggedRunMetadata

func (*Event) GetWallTime

func (m *Event) GetWallTime() float64

func (*Event) GetWhat

func (m *Event) GetWhat() isEvent_What

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_OneofWrappers

func (*Event) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type Event_FileVersion

type Event_FileVersion struct {
	FileVersion string `protobuf:"bytes,3,opt,name=file_version,json=fileVersion,proto3,oneof" json:"file_version,omitempty"`
}

func (*Event_FileVersion) MarshalTo

func (m *Event_FileVersion) MarshalTo(dAtA []byte) (int, error)

func (*Event_FileVersion) MarshalToSizedBuffer

func (m *Event_FileVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_FileVersion) Size

func (m *Event_FileVersion) Size() (n int)

type Event_GraphDef

type Event_GraphDef struct {
	GraphDef []byte `protobuf:"bytes,4,opt,name=graph_def,json=graphDef,proto3,oneof" json:"graph_def,omitempty"`
}

func (*Event_GraphDef) MarshalTo

func (m *Event_GraphDef) MarshalTo(dAtA []byte) (int, error)

func (*Event_GraphDef) MarshalToSizedBuffer

func (m *Event_GraphDef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_GraphDef) Size

func (m *Event_GraphDef) Size() (n int)

type Event_LogMessage

type Event_LogMessage struct {
	LogMessage *LogMessage `protobuf:"bytes,6,opt,name=log_message,json=logMessage,proto3,oneof" json:"log_message,omitempty"`
}

func (*Event_LogMessage) MarshalTo

func (m *Event_LogMessage) MarshalTo(dAtA []byte) (int, error)

func (*Event_LogMessage) MarshalToSizedBuffer

func (m *Event_LogMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_LogMessage) Size

func (m *Event_LogMessage) Size() (n int)

type Event_MetaGraphDef

type Event_MetaGraphDef struct {
	MetaGraphDef []byte `protobuf:"bytes,9,opt,name=meta_graph_def,json=metaGraphDef,proto3,oneof" json:"meta_graph_def,omitempty"`
}

func (*Event_MetaGraphDef) MarshalTo

func (m *Event_MetaGraphDef) MarshalTo(dAtA []byte) (int, error)

func (*Event_MetaGraphDef) MarshalToSizedBuffer

func (m *Event_MetaGraphDef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_MetaGraphDef) Size

func (m *Event_MetaGraphDef) Size() (n int)

type Event_SessionLog

type Event_SessionLog struct {
	SessionLog *SessionLog `protobuf:"bytes,7,opt,name=session_log,json=sessionLog,proto3,oneof" json:"session_log,omitempty"`
}

func (*Event_SessionLog) MarshalTo

func (m *Event_SessionLog) MarshalTo(dAtA []byte) (int, error)

func (*Event_SessionLog) MarshalToSizedBuffer

func (m *Event_SessionLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_SessionLog) Size

func (m *Event_SessionLog) Size() (n int)

type Event_Summary

type Event_Summary struct {
	Summary *framework.Summary `protobuf:"bytes,5,opt,name=summary,proto3,oneof" json:"summary,omitempty"`
}

func (*Event_Summary) MarshalTo

func (m *Event_Summary) MarshalTo(dAtA []byte) (int, error)

func (*Event_Summary) MarshalToSizedBuffer

func (m *Event_Summary) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_Summary) Size

func (m *Event_Summary) Size() (n int)

type Event_TaggedRunMetadata

type Event_TaggedRunMetadata struct {
	TaggedRunMetadata *TaggedRunMetadata `protobuf:"bytes,8,opt,name=tagged_run_metadata,json=taggedRunMetadata,proto3,oneof" json:"tagged_run_metadata,omitempty"`
}

func (*Event_TaggedRunMetadata) MarshalTo

func (m *Event_TaggedRunMetadata) MarshalTo(dAtA []byte) (int, error)

func (*Event_TaggedRunMetadata) MarshalToSizedBuffer

func (m *Event_TaggedRunMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_TaggedRunMetadata) Size

func (m *Event_TaggedRunMetadata) Size() (n int)

type ExampleWithExtras

type ExampleWithExtras struct {
	Features *example.Features `protobuf:"bytes,1,opt,name=features,proto3" json:"features,omitempty"`
	Extra1   string            `protobuf:"bytes,1337,opt,name=extra1,proto3" json:"extra1,omitempty"`
	Extra2   int64             `protobuf:"varint,1338,opt,name=extra2,proto3" json:"extra2,omitempty"`
	Extra3   uint32            `protobuf:"fixed32,1339,opt,name=extra3,proto3" json:"extra3,omitempty"`
	Extra4   uint64            `protobuf:"fixed64,1340,opt,name=extra4,proto3" json:"extra4,omitempty"`
	Extra5   float64           `protobuf:"fixed64,1341,opt,name=extra5,proto3" json:"extra5,omitempty"`
	Extra6   []float32         `protobuf:"fixed32,1342,rep,packed,name=extra6,proto3" json:"extra6,omitempty"`
	Extra7   *example.Features `protobuf:"bytes,1343,opt,name=extra7,proto3" json:"extra7,omitempty"`
}

This message is parallel to Example, but with additional fields to test unknown fields handling in example_proto_fast_parsing_test.cc.

func (*ExampleWithExtras) Descriptor

func (*ExampleWithExtras) Descriptor() ([]byte, []int)

func (*ExampleWithExtras) GetExtra1

func (m *ExampleWithExtras) GetExtra1() string

func (*ExampleWithExtras) GetExtra2

func (m *ExampleWithExtras) GetExtra2() int64

func (*ExampleWithExtras) GetExtra3

func (m *ExampleWithExtras) GetExtra3() uint32

func (*ExampleWithExtras) GetExtra4

func (m *ExampleWithExtras) GetExtra4() uint64

func (*ExampleWithExtras) GetExtra5

func (m *ExampleWithExtras) GetExtra5() float64

func (*ExampleWithExtras) GetExtra6

func (m *ExampleWithExtras) GetExtra6() []float32

func (*ExampleWithExtras) GetExtra7

func (m *ExampleWithExtras) GetExtra7() *example.Features

func (*ExampleWithExtras) GetFeatures

func (m *ExampleWithExtras) GetFeatures() *example.Features

func (*ExampleWithExtras) Marshal

func (m *ExampleWithExtras) Marshal() (dAtA []byte, err error)

func (*ExampleWithExtras) MarshalTo

func (m *ExampleWithExtras) MarshalTo(dAtA []byte) (int, error)

func (*ExampleWithExtras) MarshalToSizedBuffer

func (m *ExampleWithExtras) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExampleWithExtras) ProtoMessage

func (*ExampleWithExtras) ProtoMessage()

func (*ExampleWithExtras) Reset

func (m *ExampleWithExtras) Reset()

func (*ExampleWithExtras) Size

func (m *ExampleWithExtras) Size() (n int)

func (*ExampleWithExtras) String

func (m *ExampleWithExtras) String() string

func (*ExampleWithExtras) Unmarshal

func (m *ExampleWithExtras) Unmarshal(dAtA []byte) error

func (*ExampleWithExtras) XXX_DiscardUnknown

func (m *ExampleWithExtras) XXX_DiscardUnknown()

func (*ExampleWithExtras) XXX_Marshal

func (m *ExampleWithExtras) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExampleWithExtras) XXX_Merge

func (m *ExampleWithExtras) XXX_Merge(src proto.Message)

func (*ExampleWithExtras) XXX_Size

func (m *ExampleWithExtras) XXX_Size() int

func (*ExampleWithExtras) XXX_Unmarshal

func (m *ExampleWithExtras) XXX_Unmarshal(b []byte) error

type GPUInfo

type GPUInfo struct {
	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	Uuid  string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	BusId string `protobuf:"bytes,3,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"`
}

func (*GPUInfo) Descriptor

func (*GPUInfo) Descriptor() ([]byte, []int)

func (*GPUInfo) GetBusId

func (m *GPUInfo) GetBusId() string

func (*GPUInfo) GetModel

func (m *GPUInfo) GetModel() string

func (*GPUInfo) GetUuid

func (m *GPUInfo) GetUuid() string

func (*GPUInfo) Marshal

func (m *GPUInfo) Marshal() (dAtA []byte, err error)

func (*GPUInfo) MarshalTo

func (m *GPUInfo) MarshalTo(dAtA []byte) (int, error)

func (*GPUInfo) MarshalToSizedBuffer

func (m *GPUInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GPUInfo) ProtoMessage

func (*GPUInfo) ProtoMessage()

func (*GPUInfo) Reset

func (m *GPUInfo) Reset()

func (*GPUInfo) Size

func (m *GPUInfo) Size() (n int)

func (*GPUInfo) String

func (m *GPUInfo) String() string

func (*GPUInfo) Unmarshal

func (m *GPUInfo) Unmarshal(dAtA []byte) error

func (*GPUInfo) XXX_DiscardUnknown

func (m *GPUInfo) XXX_DiscardUnknown()

func (*GPUInfo) XXX_Marshal

func (m *GPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GPUInfo) XXX_Merge

func (m *GPUInfo) XXX_Merge(src proto.Message)

func (*GPUInfo) XXX_Size

func (m *GPUInfo) XXX_Size() int

func (*GPUInfo) XXX_Unmarshal

func (m *GPUInfo) XXX_Unmarshal(b []byte) error

type LogMessage

type LogMessage struct {
	Level   LogMessage_Level `protobuf:"varint,1,opt,name=level,proto3,enum=tensorflow.LogMessage_Level" json:"level,omitempty"`
	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

Protocol buffer used for logging messages to the events file.

func (*LogMessage) Descriptor

func (*LogMessage) Descriptor() ([]byte, []int)

func (*LogMessage) GetLevel

func (m *LogMessage) GetLevel() LogMessage_Level

func (*LogMessage) GetMessage

func (m *LogMessage) GetMessage() string

func (*LogMessage) Marshal

func (m *LogMessage) Marshal() (dAtA []byte, err error)

func (*LogMessage) MarshalTo

func (m *LogMessage) MarshalTo(dAtA []byte) (int, error)

func (*LogMessage) MarshalToSizedBuffer

func (m *LogMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) Reset

func (m *LogMessage) Reset()

func (*LogMessage) Size

func (m *LogMessage) Size() (n int)

func (*LogMessage) String

func (m *LogMessage) String() string

func (*LogMessage) Unmarshal

func (m *LogMessage) Unmarshal(dAtA []byte) error

func (*LogMessage) XXX_DiscardUnknown

func (m *LogMessage) XXX_DiscardUnknown()

func (*LogMessage) XXX_Marshal

func (m *LogMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogMessage) XXX_Merge

func (m *LogMessage) XXX_Merge(src proto.Message)

func (*LogMessage) XXX_Size

func (m *LogMessage) XXX_Size() int

func (*LogMessage) XXX_Unmarshal

func (m *LogMessage) XXX_Unmarshal(b []byte) error

type LogMessage_Level

type LogMessage_Level int32
const (
	LogMessage_UNKNOWN LogMessage_Level = 0
	// Note: The logging level 10 cannot be named DEBUG. Some software
	// projects compile their C/C++ code with -DDEBUG in debug builds. So the
	// C++ code generated from this file should not have an identifier named
	// DEBUG.
	LogMessage_DEBUGGING LogMessage_Level = 10
	LogMessage_INFO      LogMessage_Level = 20
	LogMessage_WARN      LogMessage_Level = 30
	LogMessage_ERROR     LogMessage_Level = 40
	LogMessage_FATAL     LogMessage_Level = 50
)

func (LogMessage_Level) EnumDescriptor

func (LogMessage_Level) EnumDescriptor() ([]byte, []int)

func (LogMessage_Level) String

func (x LogMessage_Level) String() string

type MachineConfiguration

type MachineConfiguration struct {
	// Host name of machine that ran the benchmark.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Unique serial number of the machine.
	SerialIdentifier string `protobuf:"bytes,7,opt,name=serial_identifier,json=serialIdentifier,proto3" json:"serial_identifier,omitempty"`
	// Additional platform information.
	PlatformInfo *PlatformInfo `protobuf:"bytes,2,opt,name=platform_info,json=platformInfo,proto3" json:"platform_info,omitempty"`
	// CPU Information.
	CpuInfo *CPUInfo `protobuf:"bytes,3,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty"`
	// Other devices that are attached and relevant (e.g. GPUInfo).
	DeviceInfo []*types.Any `protobuf:"bytes,4,rep,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"`
	// Devices accessible to the test (e.g. as given by list_local_devices).
	AvailableDeviceInfo []*AvailableDeviceInfo `protobuf:"bytes,5,rep,name=available_device_info,json=availableDeviceInfo,proto3" json:"available_device_info,omitempty"`
	MemoryInfo          *MemoryInfo            `protobuf:"bytes,6,opt,name=memory_info,json=memoryInfo,proto3" json:"memory_info,omitempty"`
}

func (*MachineConfiguration) Descriptor

func (*MachineConfiguration) Descriptor() ([]byte, []int)

func (*MachineConfiguration) GetAvailableDeviceInfo

func (m *MachineConfiguration) GetAvailableDeviceInfo() []*AvailableDeviceInfo

func (*MachineConfiguration) GetCpuInfo

func (m *MachineConfiguration) GetCpuInfo() *CPUInfo

func (*MachineConfiguration) GetDeviceInfo

func (m *MachineConfiguration) GetDeviceInfo() []*types.Any

func (*MachineConfiguration) GetHostname

func (m *MachineConfiguration) GetHostname() string

func (*MachineConfiguration) GetMemoryInfo

func (m *MachineConfiguration) GetMemoryInfo() *MemoryInfo

func (*MachineConfiguration) GetPlatformInfo

func (m *MachineConfiguration) GetPlatformInfo() *PlatformInfo

func (*MachineConfiguration) GetSerialIdentifier

func (m *MachineConfiguration) GetSerialIdentifier() string

func (*MachineConfiguration) Marshal

func (m *MachineConfiguration) Marshal() (dAtA []byte, err error)

func (*MachineConfiguration) MarshalTo

func (m *MachineConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*MachineConfiguration) MarshalToSizedBuffer

func (m *MachineConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineConfiguration) ProtoMessage

func (*MachineConfiguration) ProtoMessage()

func (*MachineConfiguration) Reset

func (m *MachineConfiguration) Reset()

func (*MachineConfiguration) Size

func (m *MachineConfiguration) Size() (n int)

func (*MachineConfiguration) String

func (m *MachineConfiguration) String() string

func (*MachineConfiguration) Unmarshal

func (m *MachineConfiguration) Unmarshal(dAtA []byte) error

func (*MachineConfiguration) XXX_DiscardUnknown

func (m *MachineConfiguration) XXX_DiscardUnknown()

func (*MachineConfiguration) XXX_Marshal

func (m *MachineConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineConfiguration) XXX_Merge

func (m *MachineConfiguration) XXX_Merge(src proto.Message)

func (*MachineConfiguration) XXX_Size

func (m *MachineConfiguration) XXX_Size() int

func (*MachineConfiguration) XXX_Unmarshal

func (m *MachineConfiguration) XXX_Unmarshal(b []byte) error

type MemmappedFileSystemDirectory

type MemmappedFileSystemDirectory struct {
	Element []*MemmappedFileSystemDirectoryElement `protobuf:"bytes,1,rep,name=element,proto3" json:"element,omitempty"`
}

A directory of regions in a memmapped file.

func (*MemmappedFileSystemDirectory) Descriptor

func (*MemmappedFileSystemDirectory) Descriptor() ([]byte, []int)

func (*MemmappedFileSystemDirectory) GetElement

func (*MemmappedFileSystemDirectory) Marshal

func (m *MemmappedFileSystemDirectory) Marshal() (dAtA []byte, err error)

func (*MemmappedFileSystemDirectory) MarshalTo

func (m *MemmappedFileSystemDirectory) MarshalTo(dAtA []byte) (int, error)

func (*MemmappedFileSystemDirectory) MarshalToSizedBuffer

func (m *MemmappedFileSystemDirectory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemmappedFileSystemDirectory) ProtoMessage

func (*MemmappedFileSystemDirectory) ProtoMessage()

func (*MemmappedFileSystemDirectory) Reset

func (m *MemmappedFileSystemDirectory) Reset()

func (*MemmappedFileSystemDirectory) Size

func (m *MemmappedFileSystemDirectory) Size() (n int)

func (*MemmappedFileSystemDirectory) String

func (*MemmappedFileSystemDirectory) Unmarshal

func (m *MemmappedFileSystemDirectory) Unmarshal(dAtA []byte) error

func (*MemmappedFileSystemDirectory) XXX_DiscardUnknown

func (m *MemmappedFileSystemDirectory) XXX_DiscardUnknown()

func (*MemmappedFileSystemDirectory) XXX_Marshal

func (m *MemmappedFileSystemDirectory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemmappedFileSystemDirectory) XXX_Merge

func (m *MemmappedFileSystemDirectory) XXX_Merge(src proto.Message)

func (*MemmappedFileSystemDirectory) XXX_Size

func (m *MemmappedFileSystemDirectory) XXX_Size() int

func (*MemmappedFileSystemDirectory) XXX_Unmarshal

func (m *MemmappedFileSystemDirectory) XXX_Unmarshal(b []byte) error

type MemmappedFileSystemDirectoryElement

type MemmappedFileSystemDirectoryElement struct {
	Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Length uint64 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
}

A message that describes one region of memmapped file.

func (*MemmappedFileSystemDirectoryElement) Descriptor

func (*MemmappedFileSystemDirectoryElement) Descriptor() ([]byte, []int)

func (*MemmappedFileSystemDirectoryElement) GetLength

func (*MemmappedFileSystemDirectoryElement) GetName

func (*MemmappedFileSystemDirectoryElement) GetOffset

func (*MemmappedFileSystemDirectoryElement) Marshal

func (m *MemmappedFileSystemDirectoryElement) Marshal() (dAtA []byte, err error)

func (*MemmappedFileSystemDirectoryElement) MarshalTo

func (m *MemmappedFileSystemDirectoryElement) MarshalTo(dAtA []byte) (int, error)

func (*MemmappedFileSystemDirectoryElement) MarshalToSizedBuffer

func (m *MemmappedFileSystemDirectoryElement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemmappedFileSystemDirectoryElement) ProtoMessage

func (*MemmappedFileSystemDirectoryElement) ProtoMessage()

func (*MemmappedFileSystemDirectoryElement) Reset

func (*MemmappedFileSystemDirectoryElement) Size

func (*MemmappedFileSystemDirectoryElement) String

func (*MemmappedFileSystemDirectoryElement) Unmarshal

func (m *MemmappedFileSystemDirectoryElement) Unmarshal(dAtA []byte) error

func (*MemmappedFileSystemDirectoryElement) XXX_DiscardUnknown

func (m *MemmappedFileSystemDirectoryElement) XXX_DiscardUnknown()

func (*MemmappedFileSystemDirectoryElement) XXX_Marshal

func (m *MemmappedFileSystemDirectoryElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemmappedFileSystemDirectoryElement) XXX_Merge

func (*MemmappedFileSystemDirectoryElement) XXX_Size

func (*MemmappedFileSystemDirectoryElement) XXX_Unmarshal

func (m *MemmappedFileSystemDirectoryElement) XXX_Unmarshal(b []byte) error

type MemoryInfo

type MemoryInfo struct {
	Total     int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
}

func (*MemoryInfo) Descriptor

func (*MemoryInfo) Descriptor() ([]byte, []int)

func (*MemoryInfo) GetAvailable

func (m *MemoryInfo) GetAvailable() int64

func (*MemoryInfo) GetTotal

func (m *MemoryInfo) GetTotal() int64

func (*MemoryInfo) Marshal

func (m *MemoryInfo) Marshal() (dAtA []byte, err error)

func (*MemoryInfo) MarshalTo

func (m *MemoryInfo) MarshalTo(dAtA []byte) (int, error)

func (*MemoryInfo) MarshalToSizedBuffer

func (m *MemoryInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemoryInfo) ProtoMessage

func (*MemoryInfo) ProtoMessage()

func (*MemoryInfo) Reset

func (m *MemoryInfo) Reset()

func (*MemoryInfo) Size

func (m *MemoryInfo) Size() (n int)

func (*MemoryInfo) String

func (m *MemoryInfo) String() string

func (*MemoryInfo) Unmarshal

func (m *MemoryInfo) Unmarshal(dAtA []byte) error

func (*MemoryInfo) XXX_DiscardUnknown

func (m *MemoryInfo) XXX_DiscardUnknown()

func (*MemoryInfo) XXX_Marshal

func (m *MemoryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemoryInfo) XXX_Merge

func (m *MemoryInfo) XXX_Merge(src proto.Message)

func (*MemoryInfo) XXX_Size

func (m *MemoryInfo) XXX_Size() int

func (*MemoryInfo) XXX_Unmarshal

func (m *MemoryInfo) XXX_Unmarshal(b []byte) error

type MetricEntry

type MetricEntry struct {
	// Metric name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Metric value
	Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// The minimum acceptable value for the metric if specified
	MinValue *types.DoubleValue `protobuf:"bytes,3,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// The maximum acceptable value for the metric if specified
	MaxValue *types.DoubleValue `protobuf:"bytes,4,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
}

func (*MetricEntry) Descriptor

func (*MetricEntry) Descriptor() ([]byte, []int)

func (*MetricEntry) GetMaxValue

func (m *MetricEntry) GetMaxValue() *types.DoubleValue

func (*MetricEntry) GetMinValue

func (m *MetricEntry) GetMinValue() *types.DoubleValue

func (*MetricEntry) GetName

func (m *MetricEntry) GetName() string

func (*MetricEntry) GetValue

func (m *MetricEntry) GetValue() float64

func (*MetricEntry) Marshal

func (m *MetricEntry) Marshal() (dAtA []byte, err error)

func (*MetricEntry) MarshalTo

func (m *MetricEntry) MarshalTo(dAtA []byte) (int, error)

func (*MetricEntry) MarshalToSizedBuffer

func (m *MetricEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetricEntry) ProtoMessage

func (*MetricEntry) ProtoMessage()

func (*MetricEntry) Reset

func (m *MetricEntry) Reset()

func (*MetricEntry) Size

func (m *MetricEntry) Size() (n int)

func (*MetricEntry) String

func (m *MetricEntry) String() string

func (*MetricEntry) Unmarshal

func (m *MetricEntry) Unmarshal(dAtA []byte) error

func (*MetricEntry) XXX_DiscardUnknown

func (m *MetricEntry) XXX_DiscardUnknown()

func (*MetricEntry) XXX_Marshal

func (m *MetricEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricEntry) XXX_Merge

func (m *MetricEntry) XXX_Merge(src proto.Message)

func (*MetricEntry) XXX_Size

func (m *MetricEntry) XXX_Size() int

func (*MetricEntry) XXX_Unmarshal

func (m *MetricEntry) XXX_Unmarshal(b []byte) error

type PlatformInfo

type PlatformInfo struct {
	Bits    string `protobuf:"bytes,1,opt,name=bits,proto3" json:"bits,omitempty"`
	Linkage string `protobuf:"bytes,2,opt,name=linkage,proto3" json:"linkage,omitempty"`
	Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"`
	Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"`
	System  string `protobuf:"bytes,5,opt,name=system,proto3" json:"system,omitempty"`
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
}

func (*PlatformInfo) Descriptor

func (*PlatformInfo) Descriptor() ([]byte, []int)

func (*PlatformInfo) GetBits

func (m *PlatformInfo) GetBits() string

func (*PlatformInfo) GetLinkage

func (m *PlatformInfo) GetLinkage() string

func (*PlatformInfo) GetMachine

func (m *PlatformInfo) GetMachine() string

func (*PlatformInfo) GetRelease

func (m *PlatformInfo) GetRelease() string

func (*PlatformInfo) GetSystem

func (m *PlatformInfo) GetSystem() string

func (*PlatformInfo) GetVersion

func (m *PlatformInfo) GetVersion() string

func (*PlatformInfo) Marshal

func (m *PlatformInfo) Marshal() (dAtA []byte, err error)

func (*PlatformInfo) MarshalTo

func (m *PlatformInfo) MarshalTo(dAtA []byte) (int, error)

func (*PlatformInfo) MarshalToSizedBuffer

func (m *PlatformInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PlatformInfo) ProtoMessage

func (*PlatformInfo) ProtoMessage()

func (*PlatformInfo) Reset

func (m *PlatformInfo) Reset()

func (*PlatformInfo) Size

func (m *PlatformInfo) Size() (n int)

func (*PlatformInfo) String

func (m *PlatformInfo) String() string

func (*PlatformInfo) Unmarshal

func (m *PlatformInfo) Unmarshal(dAtA []byte) error

func (*PlatformInfo) XXX_DiscardUnknown

func (m *PlatformInfo) XXX_DiscardUnknown()

func (*PlatformInfo) XXX_Marshal

func (m *PlatformInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlatformInfo) XXX_Merge

func (m *PlatformInfo) XXX_Merge(src proto.Message)

func (*PlatformInfo) XXX_Size

func (m *PlatformInfo) XXX_Size() int

func (*PlatformInfo) XXX_Unmarshal

func (m *PlatformInfo) XXX_Unmarshal(b []byte) error

type RequestedExitCode

type RequestedExitCode struct {
	ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
}

func (*RequestedExitCode) Descriptor

func (*RequestedExitCode) Descriptor() ([]byte, []int)

func (*RequestedExitCode) GetExitCode

func (m *RequestedExitCode) GetExitCode() int32

func (*RequestedExitCode) Marshal

func (m *RequestedExitCode) Marshal() (dAtA []byte, err error)

func (*RequestedExitCode) MarshalTo

func (m *RequestedExitCode) MarshalTo(dAtA []byte) (int, error)

func (*RequestedExitCode) MarshalToSizedBuffer

func (m *RequestedExitCode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestedExitCode) ProtoMessage

func (*RequestedExitCode) ProtoMessage()

func (*RequestedExitCode) Reset

func (m *RequestedExitCode) Reset()

func (*RequestedExitCode) Size

func (m *RequestedExitCode) Size() (n int)

func (*RequestedExitCode) String

func (m *RequestedExitCode) String() string

func (*RequestedExitCode) Unmarshal

func (m *RequestedExitCode) Unmarshal(dAtA []byte) error

func (*RequestedExitCode) XXX_DiscardUnknown

func (m *RequestedExitCode) XXX_DiscardUnknown()

func (*RequestedExitCode) XXX_Marshal

func (m *RequestedExitCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestedExitCode) XXX_Merge

func (m *RequestedExitCode) XXX_Merge(src proto.Message)

func (*RequestedExitCode) XXX_Size

func (m *RequestedExitCode) XXX_Size() int

func (*RequestedExitCode) XXX_Unmarshal

func (m *RequestedExitCode) XXX_Unmarshal(b []byte) error

type RunConfiguration

type RunConfiguration struct {
	Argument []string `protobuf:"bytes,1,rep,name=argument,proto3" json:"argument,omitempty"`
	// Environment variables used to run the test/benchmark.
	EnvVars map[string]string `` /* 170-byte string literal not displayed */
}

Run-specific items such as arguments to the test / benchmark.

func (*RunConfiguration) Descriptor

func (*RunConfiguration) Descriptor() ([]byte, []int)

func (*RunConfiguration) GetArgument

func (m *RunConfiguration) GetArgument() []string

func (*RunConfiguration) GetEnvVars

func (m *RunConfiguration) GetEnvVars() map[string]string

func (*RunConfiguration) Marshal

func (m *RunConfiguration) Marshal() (dAtA []byte, err error)

func (*RunConfiguration) MarshalTo

func (m *RunConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*RunConfiguration) MarshalToSizedBuffer

func (m *RunConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunConfiguration) ProtoMessage

func (*RunConfiguration) ProtoMessage()

func (*RunConfiguration) Reset

func (m *RunConfiguration) Reset()

func (*RunConfiguration) Size

func (m *RunConfiguration) Size() (n int)

func (*RunConfiguration) String

func (m *RunConfiguration) String() string

func (*RunConfiguration) Unmarshal

func (m *RunConfiguration) Unmarshal(dAtA []byte) error

func (*RunConfiguration) XXX_DiscardUnknown

func (m *RunConfiguration) XXX_DiscardUnknown()

func (*RunConfiguration) XXX_Marshal

func (m *RunConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunConfiguration) XXX_Merge

func (m *RunConfiguration) XXX_Merge(src proto.Message)

func (*RunConfiguration) XXX_Size

func (m *RunConfiguration) XXX_Size() int

func (*RunConfiguration) XXX_Unmarshal

func (m *RunConfiguration) XXX_Unmarshal(b []byte) error

type SavedSlice

type SavedSlice struct {
	// Name of the tensor that this slice belongs to. This must be identical to
	// the name used to encode the key for this record.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Extent of the slice.  Must have one entry for each of the dimension of the
	// tensor that this slice belongs to.
	Slice *framework.TensorSliceProto `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"`
	// The raw data of the slice is stored as a TensorProto. Only raw data are
	// stored (we don't fill in fields such as dtype or tensor_shape).
	Data *framework.TensorProto `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

Saved tensor slice: it stores the name of the tensors, the slice, and the raw data.

func (*SavedSlice) Descriptor

func (*SavedSlice) Descriptor() ([]byte, []int)

func (*SavedSlice) GetData

func (m *SavedSlice) GetData() *framework.TensorProto

func (*SavedSlice) GetName

func (m *SavedSlice) GetName() string

func (*SavedSlice) GetSlice

func (m *SavedSlice) GetSlice() *framework.TensorSliceProto

func (*SavedSlice) Marshal

func (m *SavedSlice) Marshal() (dAtA []byte, err error)

func (*SavedSlice) MarshalTo

func (m *SavedSlice) MarshalTo(dAtA []byte) (int, error)

func (*SavedSlice) MarshalToSizedBuffer

func (m *SavedSlice) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SavedSlice) ProtoMessage

func (*SavedSlice) ProtoMessage()

func (*SavedSlice) Reset

func (m *SavedSlice) Reset()

func (*SavedSlice) Size

func (m *SavedSlice) Size() (n int)

func (*SavedSlice) String

func (m *SavedSlice) String() string

func (*SavedSlice) Unmarshal

func (m *SavedSlice) Unmarshal(dAtA []byte) error

func (*SavedSlice) XXX_DiscardUnknown

func (m *SavedSlice) XXX_DiscardUnknown()

func (*SavedSlice) XXX_Marshal

func (m *SavedSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedSlice) XXX_Merge

func (m *SavedSlice) XXX_Merge(src proto.Message)

func (*SavedSlice) XXX_Size

func (m *SavedSlice) XXX_Size() int

func (*SavedSlice) XXX_Unmarshal

func (m *SavedSlice) XXX_Unmarshal(b []byte) error

type SavedSliceMeta

type SavedSliceMeta struct {
	// Name of the tensor.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Shape of the tensor
	Shape *framework.TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	// Type of the tensor
	Type framework.DataType `protobuf:"varint,3,opt,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"`
	// Explicit list of slices saved in the checkpoint file.
	Slice []*framework.TensorSliceProto `protobuf:"bytes,4,rep,name=slice,proto3" json:"slice,omitempty"`
}

Metadata describing the set of slices of the same tensor saved in a checkpoint file.

func (*SavedSliceMeta) Descriptor

func (*SavedSliceMeta) Descriptor() ([]byte, []int)

func (*SavedSliceMeta) GetName

func (m *SavedSliceMeta) GetName() string

func (*SavedSliceMeta) GetShape

func (m *SavedSliceMeta) GetShape() *framework.TensorShapeProto

func (*SavedSliceMeta) GetSlice

func (m *SavedSliceMeta) GetSlice() []*framework.TensorSliceProto

func (*SavedSliceMeta) GetType

func (m *SavedSliceMeta) GetType() framework.DataType

func (*SavedSliceMeta) Marshal

func (m *SavedSliceMeta) Marshal() (dAtA []byte, err error)

func (*SavedSliceMeta) MarshalTo

func (m *SavedSliceMeta) MarshalTo(dAtA []byte) (int, error)

func (*SavedSliceMeta) MarshalToSizedBuffer

func (m *SavedSliceMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SavedSliceMeta) ProtoMessage

func (*SavedSliceMeta) ProtoMessage()

func (*SavedSliceMeta) Reset

func (m *SavedSliceMeta) Reset()

func (*SavedSliceMeta) Size

func (m *SavedSliceMeta) Size() (n int)

func (*SavedSliceMeta) String

func (m *SavedSliceMeta) String() string

func (*SavedSliceMeta) Unmarshal

func (m *SavedSliceMeta) Unmarshal(dAtA []byte) error

func (*SavedSliceMeta) XXX_DiscardUnknown

func (m *SavedSliceMeta) XXX_DiscardUnknown()

func (*SavedSliceMeta) XXX_Marshal

func (m *SavedSliceMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedSliceMeta) XXX_Merge

func (m *SavedSliceMeta) XXX_Merge(src proto.Message)

func (*SavedSliceMeta) XXX_Size

func (m *SavedSliceMeta) XXX_Size() int

func (*SavedSliceMeta) XXX_Unmarshal

func (m *SavedSliceMeta) XXX_Unmarshal(b []byte) error

type SavedTensorSliceMeta

type SavedTensorSliceMeta struct {
	// Each SavedSliceMeta describes the slices for one tensor.
	Tensor []*SavedSliceMeta `protobuf:"bytes,1,rep,name=tensor,proto3" json:"tensor,omitempty"`
	// Compatibility version of this checkpoint.  See core/public/version.h
	// for version history.
	Versions *framework.VersionDef `protobuf:"bytes,2,opt,name=versions,proto3" json:"versions,omitempty"`
}

Metadata describing the set of tensor slices saved in a checkpoint file. It is always stored at the beginning of each checkpoint file.

func (*SavedTensorSliceMeta) Descriptor

func (*SavedTensorSliceMeta) Descriptor() ([]byte, []int)

func (*SavedTensorSliceMeta) GetTensor

func (m *SavedTensorSliceMeta) GetTensor() []*SavedSliceMeta

func (*SavedTensorSliceMeta) GetVersions

func (m *SavedTensorSliceMeta) GetVersions() *framework.VersionDef

func (*SavedTensorSliceMeta) Marshal

func (m *SavedTensorSliceMeta) Marshal() (dAtA []byte, err error)

func (*SavedTensorSliceMeta) MarshalTo

func (m *SavedTensorSliceMeta) MarshalTo(dAtA []byte) (int, error)

func (*SavedTensorSliceMeta) MarshalToSizedBuffer

func (m *SavedTensorSliceMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SavedTensorSliceMeta) ProtoMessage

func (*SavedTensorSliceMeta) ProtoMessage()

func (*SavedTensorSliceMeta) Reset

func (m *SavedTensorSliceMeta) Reset()

func (*SavedTensorSliceMeta) Size

func (m *SavedTensorSliceMeta) Size() (n int)

func (*SavedTensorSliceMeta) String

func (m *SavedTensorSliceMeta) String() string

func (*SavedTensorSliceMeta) Unmarshal

func (m *SavedTensorSliceMeta) Unmarshal(dAtA []byte) error

func (*SavedTensorSliceMeta) XXX_DiscardUnknown

func (m *SavedTensorSliceMeta) XXX_DiscardUnknown()

func (*SavedTensorSliceMeta) XXX_Marshal

func (m *SavedTensorSliceMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedTensorSliceMeta) XXX_Merge

func (m *SavedTensorSliceMeta) XXX_Merge(src proto.Message)

func (*SavedTensorSliceMeta) XXX_Size

func (m *SavedTensorSliceMeta) XXX_Size() int

func (*SavedTensorSliceMeta) XXX_Unmarshal

func (m *SavedTensorSliceMeta) XXX_Unmarshal(b []byte) error

type SavedTensorSlices

type SavedTensorSlices struct {
	// This is only present at the first item of each checkpoint file and serves
	// as a table of contents, listing all the tensor slices saved in this file.
	Meta *SavedTensorSliceMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// This exists in all but the first item of each checkpoint file.
	Data *SavedSlice `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

Each record in a v3 checkpoint file is a serialized SavedTensorSlices message.

func (*SavedTensorSlices) Descriptor

func (*SavedTensorSlices) Descriptor() ([]byte, []int)

func (*SavedTensorSlices) GetData

func (m *SavedTensorSlices) GetData() *SavedSlice

func (*SavedTensorSlices) GetMeta

func (*SavedTensorSlices) Marshal

func (m *SavedTensorSlices) Marshal() (dAtA []byte, err error)

func (*SavedTensorSlices) MarshalTo

func (m *SavedTensorSlices) MarshalTo(dAtA []byte) (int, error)

func (*SavedTensorSlices) MarshalToSizedBuffer

func (m *SavedTensorSlices) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SavedTensorSlices) ProtoMessage

func (*SavedTensorSlices) ProtoMessage()

func (*SavedTensorSlices) Reset

func (m *SavedTensorSlices) Reset()

func (*SavedTensorSlices) Size

func (m *SavedTensorSlices) Size() (n int)

func (*SavedTensorSlices) String

func (m *SavedTensorSlices) String() string

func (*SavedTensorSlices) Unmarshal

func (m *SavedTensorSlices) Unmarshal(dAtA []byte) error

func (*SavedTensorSlices) XXX_DiscardUnknown

func (m *SavedTensorSlices) XXX_DiscardUnknown()

func (*SavedTensorSlices) XXX_Marshal

func (m *SavedTensorSlices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedTensorSlices) XXX_Merge

func (m *SavedTensorSlices) XXX_Merge(src proto.Message)

func (*SavedTensorSlices) XXX_Size

func (m *SavedTensorSlices) XXX_Size() int

func (*SavedTensorSlices) XXX_Unmarshal

func (m *SavedTensorSlices) XXX_Unmarshal(b []byte) error

type SessionLog

type SessionLog struct {
	Status SessionLog_SessionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tensorflow.SessionLog_SessionStatus" json:"status,omitempty"`
	// This checkpoint_path contains both the path and filename.
	CheckpointPath string `protobuf:"bytes,2,opt,name=checkpoint_path,json=checkpointPath,proto3" json:"checkpoint_path,omitempty"`
	Msg            string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
}

Protocol buffer used for logging session state.

func (*SessionLog) Descriptor

func (*SessionLog) Descriptor() ([]byte, []int)

func (*SessionLog) GetCheckpointPath

func (m *SessionLog) GetCheckpointPath() string

func (*SessionLog) GetMsg

func (m *SessionLog) GetMsg() string

func (*SessionLog) GetStatus

func (m *SessionLog) GetStatus() SessionLog_SessionStatus

func (*SessionLog) Marshal

func (m *SessionLog) Marshal() (dAtA []byte, err error)

func (*SessionLog) MarshalTo

func (m *SessionLog) MarshalTo(dAtA []byte) (int, error)

func (*SessionLog) MarshalToSizedBuffer

func (m *SessionLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SessionLog) ProtoMessage

func (*SessionLog) ProtoMessage()

func (*SessionLog) Reset

func (m *SessionLog) Reset()

func (*SessionLog) Size

func (m *SessionLog) Size() (n int)

func (*SessionLog) String

func (m *SessionLog) String() string

func (*SessionLog) Unmarshal

func (m *SessionLog) Unmarshal(dAtA []byte) error

func (*SessionLog) XXX_DiscardUnknown

func (m *SessionLog) XXX_DiscardUnknown()

func (*SessionLog) XXX_Marshal

func (m *SessionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SessionLog) XXX_Merge

func (m *SessionLog) XXX_Merge(src proto.Message)

func (*SessionLog) XXX_Size

func (m *SessionLog) XXX_Size() int

func (*SessionLog) XXX_Unmarshal

func (m *SessionLog) XXX_Unmarshal(b []byte) error

type SessionLog_SessionStatus

type SessionLog_SessionStatus int32
const (
	SessionLog_STATUS_UNSPECIFIED SessionLog_SessionStatus = 0
	SessionLog_START              SessionLog_SessionStatus = 1
	SessionLog_STOP               SessionLog_SessionStatus = 2
	SessionLog_CHECKPOINT         SessionLog_SessionStatus = 3
)

func (SessionLog_SessionStatus) EnumDescriptor

func (SessionLog_SessionStatus) EnumDescriptor() ([]byte, []int)

func (SessionLog_SessionStatus) String

func (x SessionLog_SessionStatus) String() string

type TaggedRunMetadata

type TaggedRunMetadata struct {
	// Tag name associated with this metadata.
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Byte-encoded version of the `RunMetadata` proto in order to allow lazy
	// deserialization.
	RunMetadata []byte `protobuf:"bytes,2,opt,name=run_metadata,json=runMetadata,proto3" json:"run_metadata,omitempty"`
}

For logging the metadata output for a single session.run() call.

func (*TaggedRunMetadata) Descriptor

func (*TaggedRunMetadata) Descriptor() ([]byte, []int)

func (*TaggedRunMetadata) GetRunMetadata

func (m *TaggedRunMetadata) GetRunMetadata() []byte

func (*TaggedRunMetadata) GetTag

func (m *TaggedRunMetadata) GetTag() string

func (*TaggedRunMetadata) Marshal

func (m *TaggedRunMetadata) Marshal() (dAtA []byte, err error)

func (*TaggedRunMetadata) MarshalTo

func (m *TaggedRunMetadata) MarshalTo(dAtA []byte) (int, error)

func (*TaggedRunMetadata) MarshalToSizedBuffer

func (m *TaggedRunMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TaggedRunMetadata) ProtoMessage

func (*TaggedRunMetadata) ProtoMessage()

func (*TaggedRunMetadata) Reset

func (m *TaggedRunMetadata) Reset()

func (*TaggedRunMetadata) Size

func (m *TaggedRunMetadata) Size() (n int)

func (*TaggedRunMetadata) String

func (m *TaggedRunMetadata) String() string

func (*TaggedRunMetadata) Unmarshal

func (m *TaggedRunMetadata) Unmarshal(dAtA []byte) error

func (*TaggedRunMetadata) XXX_DiscardUnknown

func (m *TaggedRunMetadata) XXX_DiscardUnknown()

func (*TaggedRunMetadata) XXX_Marshal

func (m *TaggedRunMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TaggedRunMetadata) XXX_Merge

func (m *TaggedRunMetadata) XXX_Merge(src proto.Message)

func (*TaggedRunMetadata) XXX_Size

func (m *TaggedRunMetadata) XXX_Size() int

func (*TaggedRunMetadata) XXX_Unmarshal

func (m *TaggedRunMetadata) XXX_Unmarshal(b []byte) error

type TestResults

type TestResults struct {
	// The target of the run, e.g.:
	//  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The list of tests or benchmarks in this run.
	Entries *BenchmarkEntries `protobuf:"bytes,2,opt,name=entries,proto3" json:"entries,omitempty"`
	// The configuration of the build (compiled opt? with cuda? any copts?)
	BuildConfiguration *BuildConfiguration `protobuf:"bytes,3,opt,name=build_configuration,json=buildConfiguration,proto3" json:"build_configuration,omitempty"`
	// The commit id (git hash or changelist)
	CommitId *CommitId `protobuf:"bytes,4,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	// The time the run started (in seconds of UTC time since Unix epoch)
	StartTime int64 `protobuf:"varint,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The amount of time the total run took (wall time in seconds)
	RunTime float64 `protobuf:"fixed64,6,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
	// Machine-specific parameters (Platform and CPU info)
	MachineConfiguration *MachineConfiguration `protobuf:"bytes,7,opt,name=machine_configuration,json=machineConfiguration,proto3" json:"machine_configuration,omitempty"`
	// Run-specific parameters (arguments, etc)
	RunConfiguration *RunConfiguration `protobuf:"bytes,8,opt,name=run_configuration,json=runConfiguration,proto3" json:"run_configuration,omitempty"`
	// Benchmark target identifier.
	Name          string                    `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	BenchmarkType TestResults_BenchmarkType `` /* 144-byte string literal not displayed */
	// Used for differentiating between continuous and debug builds.
	// Must be one of:
	// * cbuild: results from continuous build.
	// * presubmit: results from oneshot requests.
	// * culprit: results from culprit finder rerun.
	RunMode string `protobuf:"bytes,11,opt,name=run_mode,json=runMode,proto3" json:"run_mode,omitempty"`
	// TensorFlow version this benchmark runs against.
	// This can be either set to full version or just the major version.
	TfVersion string `protobuf:"bytes,12,opt,name=tf_version,json=tfVersion,proto3" json:"tf_version,omitempty"`
}

The output of one benchmark / test run. Each run contains a list of tests or benchmarks, stored as BenchmarkEntry messages.

This message should be emitted by the reporter (which runs the test / BM in a subprocess and then reads the emitted BenchmarkEntry messages; usually from a serialized json file, finally collecting them along with additional information about the test run.

func (*TestResults) Descriptor

func (*TestResults) Descriptor() ([]byte, []int)

func (*TestResults) GetBenchmarkType

func (m *TestResults) GetBenchmarkType() TestResults_BenchmarkType

func (*TestResults) GetBuildConfiguration

func (m *TestResults) GetBuildConfiguration() *BuildConfiguration

func (*TestResults) GetCommitId

func (m *TestResults) GetCommitId() *CommitId

func (*TestResults) GetEntries

func (m *TestResults) GetEntries() *BenchmarkEntries

func (*TestResults) GetMachineConfiguration

func (m *TestResults) GetMachineConfiguration() *MachineConfiguration

func (*TestResults) GetName

func (m *TestResults) GetName() string

func (*TestResults) GetRunConfiguration

func (m *TestResults) GetRunConfiguration() *RunConfiguration

func (*TestResults) GetRunMode

func (m *TestResults) GetRunMode() string

func (*TestResults) GetRunTime

func (m *TestResults) GetRunTime() float64

func (*TestResults) GetStartTime

func (m *TestResults) GetStartTime() int64

func (*TestResults) GetTarget

func (m *TestResults) GetTarget() string

func (*TestResults) GetTfVersion

func (m *TestResults) GetTfVersion() string

func (*TestResults) Marshal

func (m *TestResults) Marshal() (dAtA []byte, err error)

func (*TestResults) MarshalTo

func (m *TestResults) MarshalTo(dAtA []byte) (int, error)

func (*TestResults) MarshalToSizedBuffer

func (m *TestResults) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TestResults) ProtoMessage

func (*TestResults) ProtoMessage()

func (*TestResults) Reset

func (m *TestResults) Reset()

func (*TestResults) Size

func (m *TestResults) Size() (n int)

func (*TestResults) String

func (m *TestResults) String() string

func (*TestResults) Unmarshal

func (m *TestResults) Unmarshal(dAtA []byte) error

func (*TestResults) XXX_DiscardUnknown

func (m *TestResults) XXX_DiscardUnknown()

func (*TestResults) XXX_Marshal

func (m *TestResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestResults) XXX_Merge

func (m *TestResults) XXX_Merge(src proto.Message)

func (*TestResults) XXX_Size

func (m *TestResults) XXX_Size() int

func (*TestResults) XXX_Unmarshal

func (m *TestResults) XXX_Unmarshal(b []byte) error

type TestResults_BenchmarkType

type TestResults_BenchmarkType int32

The type of benchmark.

const (
	TestResults_UNKNOWN            TestResults_BenchmarkType = 0
	TestResults_CPP_MICROBENCHMARK TestResults_BenchmarkType = 1
	TestResults_PYTHON_BENCHMARK   TestResults_BenchmarkType = 2
	TestResults_ANDROID_BENCHMARK  TestResults_BenchmarkType = 3
	TestResults_EDGE_BENCHMARK     TestResults_BenchmarkType = 4
)

func (TestResults_BenchmarkType) EnumDescriptor

func (TestResults_BenchmarkType) EnumDescriptor() ([]byte, []int)

func (TestResults_BenchmarkType) String

func (x TestResults_BenchmarkType) String() string

type WatchdogConfig

type WatchdogConfig struct {
	TimeoutMs int64 `protobuf:"varint,1,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
}

func (*WatchdogConfig) Descriptor

func (*WatchdogConfig) Descriptor() ([]byte, []int)

func (*WatchdogConfig) GetTimeoutMs

func (m *WatchdogConfig) GetTimeoutMs() int64

func (*WatchdogConfig) Marshal

func (m *WatchdogConfig) Marshal() (dAtA []byte, err error)

func (*WatchdogConfig) MarshalTo

func (m *WatchdogConfig) MarshalTo(dAtA []byte) (int, error)

func (*WatchdogConfig) MarshalToSizedBuffer

func (m *WatchdogConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WatchdogConfig) ProtoMessage

func (*WatchdogConfig) ProtoMessage()

func (*WatchdogConfig) Reset

func (m *WatchdogConfig) Reset()

func (*WatchdogConfig) Size

func (m *WatchdogConfig) Size() (n int)

func (*WatchdogConfig) String

func (m *WatchdogConfig) String() string

func (*WatchdogConfig) Unmarshal

func (m *WatchdogConfig) Unmarshal(dAtA []byte) error

func (*WatchdogConfig) XXX_DiscardUnknown

func (m *WatchdogConfig) XXX_DiscardUnknown()

func (*WatchdogConfig) XXX_Marshal

func (m *WatchdogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchdogConfig) XXX_Merge

func (m *WatchdogConfig) XXX_Merge(src proto.Message)

func (*WatchdogConfig) XXX_Size

func (m *WatchdogConfig) XXX_Size() int

func (*WatchdogConfig) XXX_Unmarshal

func (m *WatchdogConfig) XXX_Unmarshal(b []byte) error

type WorkerHealth

type WorkerHealth int32

Current health status of a worker.

const (
	WorkerHealth_OK                       WorkerHealth = 0
	WorkerHealth_RECEIVED_SHUTDOWN_SIGNAL WorkerHealth = 1
	WorkerHealth_INTERNAL_ERROR           WorkerHealth = 2
	WorkerHealth_SHUTTING_DOWN            WorkerHealth = 3
)

func (WorkerHealth) EnumDescriptor

func (WorkerHealth) EnumDescriptor() ([]byte, []int)

func (WorkerHealth) String

func (x WorkerHealth) String() string

type WorkerHeartbeatRequest

type WorkerHeartbeatRequest struct {
	ShutdownMode   WorkerShutdownMode `` /* 133-byte string literal not displayed */
	WatchdogConfig *WatchdogConfig    `protobuf:"bytes,2,opt,name=watchdog_config,json=watchdogConfig,proto3" json:"watchdog_config,omitempty"`
	ExitCode       *RequestedExitCode `protobuf:"bytes,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
}

func (*WorkerHeartbeatRequest) Descriptor

func (*WorkerHeartbeatRequest) Descriptor() ([]byte, []int)

func (*WorkerHeartbeatRequest) GetExitCode

func (m *WorkerHeartbeatRequest) GetExitCode() *RequestedExitCode

func (*WorkerHeartbeatRequest) GetShutdownMode

func (m *WorkerHeartbeatRequest) GetShutdownMode() WorkerShutdownMode

func (*WorkerHeartbeatRequest) GetWatchdogConfig

func (m *WorkerHeartbeatRequest) GetWatchdogConfig() *WatchdogConfig

func (*WorkerHeartbeatRequest) Marshal

func (m *WorkerHeartbeatRequest) Marshal() (dAtA []byte, err error)

func (*WorkerHeartbeatRequest) MarshalTo

func (m *WorkerHeartbeatRequest) MarshalTo(dAtA []byte) (int, error)

func (*WorkerHeartbeatRequest) MarshalToSizedBuffer

func (m *WorkerHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkerHeartbeatRequest) ProtoMessage

func (*WorkerHeartbeatRequest) ProtoMessage()

func (*WorkerHeartbeatRequest) Reset

func (m *WorkerHeartbeatRequest) Reset()

func (*WorkerHeartbeatRequest) Size

func (m *WorkerHeartbeatRequest) Size() (n int)

func (*WorkerHeartbeatRequest) String

func (m *WorkerHeartbeatRequest) String() string

func (*WorkerHeartbeatRequest) Unmarshal

func (m *WorkerHeartbeatRequest) Unmarshal(dAtA []byte) error

func (*WorkerHeartbeatRequest) XXX_DiscardUnknown

func (m *WorkerHeartbeatRequest) XXX_DiscardUnknown()

func (*WorkerHeartbeatRequest) XXX_Marshal

func (m *WorkerHeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkerHeartbeatRequest) XXX_Merge

func (m *WorkerHeartbeatRequest) XXX_Merge(src proto.Message)

func (*WorkerHeartbeatRequest) XXX_Size

func (m *WorkerHeartbeatRequest) XXX_Size() int

func (*WorkerHeartbeatRequest) XXX_Unmarshal

func (m *WorkerHeartbeatRequest) XXX_Unmarshal(b []byte) error

type WorkerHeartbeatResponse

type WorkerHeartbeatResponse struct {
	HealthStatus WorkerHealth `` /* 127-byte string literal not displayed */
	WorkerLog    []*Event     `protobuf:"bytes,2,rep,name=worker_log,json=workerLog,proto3" json:"worker_log,omitempty"`
	Hostname     string       `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
}

func (*WorkerHeartbeatResponse) Descriptor

func (*WorkerHeartbeatResponse) Descriptor() ([]byte, []int)

func (*WorkerHeartbeatResponse) GetHealthStatus

func (m *WorkerHeartbeatResponse) GetHealthStatus() WorkerHealth

func (*WorkerHeartbeatResponse) GetHostname

func (m *WorkerHeartbeatResponse) GetHostname() string

func (*WorkerHeartbeatResponse) GetWorkerLog

func (m *WorkerHeartbeatResponse) GetWorkerLog() []*Event

func (*WorkerHeartbeatResponse) Marshal

func (m *WorkerHeartbeatResponse) Marshal() (dAtA []byte, err error)

func (*WorkerHeartbeatResponse) MarshalTo

func (m *WorkerHeartbeatResponse) MarshalTo(dAtA []byte) (int, error)

func (*WorkerHeartbeatResponse) MarshalToSizedBuffer

func (m *WorkerHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkerHeartbeatResponse) ProtoMessage

func (*WorkerHeartbeatResponse) ProtoMessage()

func (*WorkerHeartbeatResponse) Reset

func (m *WorkerHeartbeatResponse) Reset()

func (*WorkerHeartbeatResponse) Size

func (m *WorkerHeartbeatResponse) Size() (n int)

func (*WorkerHeartbeatResponse) String

func (m *WorkerHeartbeatResponse) String() string

func (*WorkerHeartbeatResponse) Unmarshal

func (m *WorkerHeartbeatResponse) Unmarshal(dAtA []byte) error

func (*WorkerHeartbeatResponse) XXX_DiscardUnknown

func (m *WorkerHeartbeatResponse) XXX_DiscardUnknown()

func (*WorkerHeartbeatResponse) XXX_Marshal

func (m *WorkerHeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkerHeartbeatResponse) XXX_Merge

func (m *WorkerHeartbeatResponse) XXX_Merge(src proto.Message)

func (*WorkerHeartbeatResponse) XXX_Size

func (m *WorkerHeartbeatResponse) XXX_Size() int

func (*WorkerHeartbeatResponse) XXX_Unmarshal

func (m *WorkerHeartbeatResponse) XXX_Unmarshal(b []byte) error

type WorkerShutdownMode

type WorkerShutdownMode int32

Indicates the behavior of the worker when an internal error or shutdown signal is received.

const (
	WorkerShutdownMode_DEFAULT                WorkerShutdownMode = 0
	WorkerShutdownMode_NOT_CONFIGURED         WorkerShutdownMode = 1
	WorkerShutdownMode_WAIT_FOR_COORDINATOR   WorkerShutdownMode = 2
	WorkerShutdownMode_SHUTDOWN_AFTER_TIMEOUT WorkerShutdownMode = 3
)

func (WorkerShutdownMode) EnumDescriptor

func (WorkerShutdownMode) EnumDescriptor() ([]byte, []int)

func (WorkerShutdownMode) String

func (x WorkerShutdownMode) String() string

Jump to

Keyboard shortcuts

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