Documentation ¶
Overview ¶
Package tensorflow is a generated protocol buffer package.
It is generated from these files:
tensorflow/core/util/event.proto
It has these top-level messages:
Event LogMessage SessionLog TaggedRunMetadata
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetFileVersion() string
- func (m *Event) GetGraphDef() []byte
- func (m *Event) GetLogMessage() *LogMessage
- func (m *Event) GetMetaGraphDef() []byte
- func (m *Event) GetSessionLog() *SessionLog
- func (m *Event) GetStep() int64
- func (m *Event) GetSummary() *tensorflow5.Summary
- func (m *Event) GetTaggedRunMetadata() *TaggedRunMetadata
- func (m *Event) GetWallTime() float64
- func (m *Event) GetWhat() isEvent_What
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (*Event) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Event_FileVersion
- type Event_GraphDef
- type Event_LogMessage
- type Event_MetaGraphDef
- type Event_SessionLog
- type Event_Summary
- type Event_TaggedRunMetadata
- type LogMessage
- type LogMessage_Level
- type SessionLog
- type SessionLog_SessionStatus
- type TaggedRunMetadata
Constants ¶
This section is empty.
Variables ¶
View Source
var LogMessage_Level_name = map[int32]string{
0: "UNKNOWN",
10: "DEBUG",
20: "INFO",
30: "WARN",
40: "ERROR",
50: "FATAL",
}
View Source
var LogMessage_Level_value = map[string]int32{
"UNKNOWN": 0,
"DEBUG": 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,
}
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Timestamp of the event. WallTime float64 `protobuf:"fixed64,1,opt,name=wall_time,json=wallTime" json:"wall_time,omitempty"` // Global step of the event. Step int64 `protobuf:"varint,2,opt,name=step" 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) GetFileVersion ¶
func (*Event) GetGraphDef ¶
func (*Event) GetLogMessage ¶
func (m *Event) GetLogMessage() *LogMessage
func (*Event) GetMetaGraphDef ¶
func (*Event) GetSessionLog ¶
func (m *Event) GetSessionLog() *SessionLog
func (*Event) GetSummary ¶
func (m *Event) GetSummary() *tensorflow5.Summary
func (*Event) GetTaggedRunMetadata ¶
func (m *Event) GetTaggedRunMetadata() *TaggedRunMetadata
func (*Event) GetWallTime ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type Event_FileVersion ¶
type Event_FileVersion struct {
FileVersion string `protobuf:"bytes,3,opt,name=file_version,json=fileVersion,oneof"`
}
type Event_GraphDef ¶
type Event_GraphDef struct {
GraphDef []byte `protobuf:"bytes,4,opt,name=graph_def,json=graphDef,proto3,oneof"`
}
type Event_LogMessage ¶
type Event_LogMessage struct {
LogMessage *LogMessage `protobuf:"bytes,6,opt,name=log_message,json=logMessage,oneof"`
}
type Event_MetaGraphDef ¶
type Event_MetaGraphDef struct {
MetaGraphDef []byte `protobuf:"bytes,9,opt,name=meta_graph_def,json=metaGraphDef,proto3,oneof"`
}
type Event_SessionLog ¶
type Event_SessionLog struct {
SessionLog *SessionLog `protobuf:"bytes,7,opt,name=session_log,json=sessionLog,oneof"`
}
type Event_Summary ¶
type Event_Summary struct {
Summary *tensorflow5.Summary `protobuf:"bytes,5,opt,name=summary,oneof"`
}
type Event_TaggedRunMetadata ¶
type Event_TaggedRunMetadata struct {
TaggedRunMetadata *TaggedRunMetadata `protobuf:"bytes,8,opt,name=tagged_run_metadata,json=taggedRunMetadata,oneof"`
}
type LogMessage ¶
type LogMessage struct { Level LogMessage_Level `protobuf:"varint,1,opt,name=level,enum=tensorflow.LogMessage_Level" json:"level,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" 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) ProtoMessage ¶
func (*LogMessage) ProtoMessage()
func (*LogMessage) Reset ¶
func (m *LogMessage) Reset()
func (*LogMessage) String ¶
func (m *LogMessage) String() string
type LogMessage_Level ¶
type LogMessage_Level int32
const ( LogMessage_UNKNOWN LogMessage_Level = 0 LogMessage_DEBUG 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 SessionLog ¶
type SessionLog struct { Status SessionLog_SessionStatus `protobuf:"varint,1,opt,name=status,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" json:"checkpoint_path,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg" 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) ProtoMessage ¶
func (*SessionLog) ProtoMessage()
func (*SessionLog) Reset ¶
func (m *SessionLog) Reset()
func (*SessionLog) String ¶
func (m *SessionLog) String() string
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" 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) ProtoMessage ¶
func (*TaggedRunMetadata) ProtoMessage()
func (*TaggedRunMetadata) Reset ¶
func (m *TaggedRunMetadata) Reset()
func (*TaggedRunMetadata) String ¶
func (m *TaggedRunMetadata) String() string
Click to show internal directories.
Click to hide internal directories.