framework

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: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAllocationDescription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAllocationDescription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAllocationDescription = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthApiDef        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApiDef          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApiDef = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthAttrValue        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAttrValue          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAttrValue = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCostGraph        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCostGraph          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCostGraph = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDeviceAttributes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeviceAttributes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDeviceAttributes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthFunction        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFunction          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFunction = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGraph        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGraph          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGraph = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGraphTransferInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGraphTransferInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGraphTransferInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthKernelDef        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKernelDef          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKernelDef = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLogMemory        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLogMemory          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLogMemory = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthNodeDef        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNodeDef          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNodeDef = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpDef        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpDef          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpDef = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthReaderBase        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReaderBase          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupReaderBase = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRemoteFusedGraphExecuteInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRemoteFusedGraphExecuteInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRemoteFusedGraphExecuteInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthResourceHandle        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResourceHandle          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupResourceHandle = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStepStats        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStepStats          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStepStats = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSummary        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSummary          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSummary = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTensor        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensor          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTensor = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTensorDescription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorDescription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTensorDescription = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTensorShape        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorShape          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTensorShape = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTensorSlice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTensorSlice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTensorSlice = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVariable        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVariable          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVariable = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVersions        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVersions          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVersions = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ApiDef_Visibility_name = map[int32]string{
	0: "DEFAULT_VISIBILITY",
	1: "VISIBLE",
	2: "SKIP",
	3: "HIDDEN",
}
View Source
var ApiDef_Visibility_value = map[string]int32{
	"DEFAULT_VISIBILITY": 0,
	"VISIBLE":            1,
	"SKIP":               2,
	"HIDDEN":             3,
}
View Source
var DataClass_name = map[int32]string{
	0: "DATA_CLASS_UNKNOWN",
	1: "DATA_CLASS_SCALAR",
	2: "DATA_CLASS_TENSOR",
	3: "DATA_CLASS_BLOB_SEQUENCE",
}
View Source
var DataClass_value = map[string]int32{
	"DATA_CLASS_UNKNOWN":       0,
	"DATA_CLASS_SCALAR":        1,
	"DATA_CLASS_TENSOR":        2,
	"DATA_CLASS_BLOB_SEQUENCE": 3,
}
View Source
var DataType_name = map[int32]string{
	0:   "DT_INVALID",
	1:   "DT_FLOAT",
	2:   "DT_DOUBLE",
	3:   "DT_INT32",
	4:   "DT_UINT8",
	5:   "DT_INT16",
	6:   "DT_INT8",
	7:   "DT_STRING",
	8:   "DT_COMPLEX64",
	9:   "DT_INT64",
	10:  "DT_BOOL",
	11:  "DT_QINT8",
	12:  "DT_QUINT8",
	13:  "DT_QINT32",
	14:  "DT_BFLOAT16",
	15:  "DT_QINT16",
	16:  "DT_QUINT16",
	17:  "DT_UINT16",
	18:  "DT_COMPLEX128",
	19:  "DT_HALF",
	20:  "DT_RESOURCE",
	21:  "DT_VARIANT",
	22:  "DT_UINT32",
	23:  "DT_UINT64",
	101: "DT_FLOAT_REF",
	102: "DT_DOUBLE_REF",
	103: "DT_INT32_REF",
	104: "DT_UINT8_REF",
	105: "DT_INT16_REF",
	106: "DT_INT8_REF",
	107: "DT_STRING_REF",
	108: "DT_COMPLEX64_REF",
	109: "DT_INT64_REF",
	110: "DT_BOOL_REF",
	111: "DT_QINT8_REF",
	112: "DT_QUINT8_REF",
	113: "DT_QINT32_REF",
	114: "DT_BFLOAT16_REF",
	115: "DT_QINT16_REF",
	116: "DT_QUINT16_REF",
	117: "DT_UINT16_REF",
	118: "DT_COMPLEX128_REF",
	119: "DT_HALF_REF",
	120: "DT_RESOURCE_REF",
	121: "DT_VARIANT_REF",
	122: "DT_UINT32_REF",
	123: "DT_UINT64_REF",
}
View Source
var DataType_value = map[string]int32{
	"DT_INVALID":        0,
	"DT_FLOAT":          1,
	"DT_DOUBLE":         2,
	"DT_INT32":          3,
	"DT_UINT8":          4,
	"DT_INT16":          5,
	"DT_INT8":           6,
	"DT_STRING":         7,
	"DT_COMPLEX64":      8,
	"DT_INT64":          9,
	"DT_BOOL":           10,
	"DT_QINT8":          11,
	"DT_QUINT8":         12,
	"DT_QINT32":         13,
	"DT_BFLOAT16":       14,
	"DT_QINT16":         15,
	"DT_QUINT16":        16,
	"DT_UINT16":         17,
	"DT_COMPLEX128":     18,
	"DT_HALF":           19,
	"DT_RESOURCE":       20,
	"DT_VARIANT":        21,
	"DT_UINT32":         22,
	"DT_UINT64":         23,
	"DT_FLOAT_REF":      101,
	"DT_DOUBLE_REF":     102,
	"DT_INT32_REF":      103,
	"DT_UINT8_REF":      104,
	"DT_INT16_REF":      105,
	"DT_INT8_REF":       106,
	"DT_STRING_REF":     107,
	"DT_COMPLEX64_REF":  108,
	"DT_INT64_REF":      109,
	"DT_BOOL_REF":       110,
	"DT_QINT8_REF":      111,
	"DT_QUINT8_REF":     112,
	"DT_QINT32_REF":     113,
	"DT_BFLOAT16_REF":   114,
	"DT_QINT16_REF":     115,
	"DT_QUINT16_REF":    116,
	"DT_UINT16_REF":     117,
	"DT_COMPLEX128_REF": 118,
	"DT_HALF_REF":       119,
	"DT_RESOURCE_REF":   120,
	"DT_VARIANT_REF":    121,
	"DT_UINT32_REF":     122,
	"DT_UINT64_REF":     123,
}
View Source
var GraphTransferInfo_Destination_name = map[int32]string{
	0: "NOP",
	1: "HEXAGON",
}
View Source
var GraphTransferInfo_Destination_value = map[string]int32{
	"NOP":     0,
	"HEXAGON": 1,
}
View Source
var VariableAggregation_name = map[int32]string{
	0: "VARIABLE_AGGREGATION_NONE",
	1: "VARIABLE_AGGREGATION_SUM",
	2: "VARIABLE_AGGREGATION_MEAN",
	3: "VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA",
}
View Source
var VariableAggregation_value = map[string]int32{
	"VARIABLE_AGGREGATION_NONE":               0,
	"VARIABLE_AGGREGATION_SUM":                1,
	"VARIABLE_AGGREGATION_MEAN":               2,
	"VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA": 3,
}
View Source
var VariableSynchronization_name = map[int32]string{
	0: "VARIABLE_SYNCHRONIZATION_AUTO",
	1: "VARIABLE_SYNCHRONIZATION_NONE",
	2: "VARIABLE_SYNCHRONIZATION_ON_WRITE",
	3: "VARIABLE_SYNCHRONIZATION_ON_READ",
}
View Source
var VariableSynchronization_value = map[string]int32{
	"VARIABLE_SYNCHRONIZATION_AUTO":     0,
	"VARIABLE_SYNCHRONIZATION_NONE":     1,
	"VARIABLE_SYNCHRONIZATION_ON_WRITE": 2,
	"VARIABLE_SYNCHRONIZATION_ON_READ":  3,
}

Functions

This section is empty.

Types

type AllocationDescription

type AllocationDescription struct {
	// Total number of bytes requested
	RequestedBytes int64 `protobuf:"varint,1,opt,name=requested_bytes,json=requestedBytes,proto3" json:"requested_bytes,omitempty"`
	// Total number of bytes allocated if known
	AllocatedBytes int64 `protobuf:"varint,2,opt,name=allocated_bytes,json=allocatedBytes,proto3" json:"allocated_bytes,omitempty"`
	// Name of the allocator used
	AllocatorName string `protobuf:"bytes,3,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// Identifier of the allocated buffer if known
	AllocationId int64 `protobuf:"varint,4,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Set if this tensor only has one remaining reference
	HasSingleReference bool `protobuf:"varint,5,opt,name=has_single_reference,json=hasSingleReference,proto3" json:"has_single_reference,omitempty"`
	// Address of the allocation.
	Ptr uint64 `protobuf:"varint,6,opt,name=ptr,proto3" json:"ptr,omitempty"`
}

func (*AllocationDescription) Descriptor

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

func (*AllocationDescription) GetAllocatedBytes

func (m *AllocationDescription) GetAllocatedBytes() int64

func (*AllocationDescription) GetAllocationId

func (m *AllocationDescription) GetAllocationId() int64

func (*AllocationDescription) GetAllocatorName

func (m *AllocationDescription) GetAllocatorName() string

func (*AllocationDescription) GetHasSingleReference

func (m *AllocationDescription) GetHasSingleReference() bool

func (*AllocationDescription) GetPtr

func (m *AllocationDescription) GetPtr() uint64

func (*AllocationDescription) GetRequestedBytes

func (m *AllocationDescription) GetRequestedBytes() int64

func (*AllocationDescription) Marshal

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

func (*AllocationDescription) MarshalTo

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

func (*AllocationDescription) MarshalToSizedBuffer

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

func (*AllocationDescription) ProtoMessage

func (*AllocationDescription) ProtoMessage()

func (*AllocationDescription) Reset

func (m *AllocationDescription) Reset()

func (*AllocationDescription) Size

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

func (*AllocationDescription) String

func (m *AllocationDescription) String() string

func (*AllocationDescription) Unmarshal

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

func (*AllocationDescription) XXX_DiscardUnknown

func (m *AllocationDescription) XXX_DiscardUnknown()

func (*AllocationDescription) XXX_Marshal

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

func (*AllocationDescription) XXX_Merge

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

func (*AllocationDescription) XXX_Size

func (m *AllocationDescription) XXX_Size() int

func (*AllocationDescription) XXX_Unmarshal

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

type AllocationRecord

type AllocationRecord struct {
	// The timestamp of the operation.
	AllocMicros int64 `protobuf:"varint,1,opt,name=alloc_micros,json=allocMicros,proto3" json:"alloc_micros,omitempty"`
	// Number of bytes allocated, or de-allocated if negative.
	AllocBytes int64 `protobuf:"varint,2,opt,name=alloc_bytes,json=allocBytes,proto3" json:"alloc_bytes,omitempty"`
}

An allocation/de-allocation operation performed by the allocator.

func (*AllocationRecord) Descriptor

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

func (*AllocationRecord) GetAllocBytes

func (m *AllocationRecord) GetAllocBytes() int64

func (*AllocationRecord) GetAllocMicros

func (m *AllocationRecord) GetAllocMicros() int64

func (*AllocationRecord) Marshal

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

func (*AllocationRecord) MarshalTo

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

func (*AllocationRecord) MarshalToSizedBuffer

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

func (*AllocationRecord) ProtoMessage

func (*AllocationRecord) ProtoMessage()

func (*AllocationRecord) Reset

func (m *AllocationRecord) Reset()

func (*AllocationRecord) Size

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

func (*AllocationRecord) String

func (m *AllocationRecord) String() string

func (*AllocationRecord) Unmarshal

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

func (*AllocationRecord) XXX_DiscardUnknown

func (m *AllocationRecord) XXX_DiscardUnknown()

func (*AllocationRecord) XXX_Marshal

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

func (*AllocationRecord) XXX_Merge

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

func (*AllocationRecord) XXX_Size

func (m *AllocationRecord) XXX_Size() int

func (*AllocationRecord) XXX_Unmarshal

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

type AllocatorMemoryUsed

type AllocatorMemoryUsed struct {
	AllocatorName string `protobuf:"bytes,1,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// These are per-node allocator memory stats.
	TotalBytes int64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	PeakBytes  int64 `protobuf:"varint,3,opt,name=peak_bytes,json=peakBytes,proto3" json:"peak_bytes,omitempty"`
	// The bytes that are not deallocated.
	LiveBytes int64 `protobuf:"varint,4,opt,name=live_bytes,json=liveBytes,proto3" json:"live_bytes,omitempty"`
	// The allocation and deallocation timeline.
	AllocationRecords []*AllocationRecord `protobuf:"bytes,6,rep,name=allocation_records,json=allocationRecords,proto3" json:"allocation_records,omitempty"`
	// These are snapshots of the overall allocator memory stats.
	// The number of live bytes currently allocated by the allocator.
	AllocatorBytesInUse int64 `protobuf:"varint,5,opt,name=allocator_bytes_in_use,json=allocatorBytesInUse,proto3" json:"allocator_bytes_in_use,omitempty"`
}

func (*AllocatorMemoryUsed) Descriptor

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

func (*AllocatorMemoryUsed) GetAllocationRecords

func (m *AllocatorMemoryUsed) GetAllocationRecords() []*AllocationRecord

func (*AllocatorMemoryUsed) GetAllocatorBytesInUse

func (m *AllocatorMemoryUsed) GetAllocatorBytesInUse() int64

func (*AllocatorMemoryUsed) GetAllocatorName

func (m *AllocatorMemoryUsed) GetAllocatorName() string

func (*AllocatorMemoryUsed) GetLiveBytes

func (m *AllocatorMemoryUsed) GetLiveBytes() int64

func (*AllocatorMemoryUsed) GetPeakBytes

func (m *AllocatorMemoryUsed) GetPeakBytes() int64

func (*AllocatorMemoryUsed) GetTotalBytes

func (m *AllocatorMemoryUsed) GetTotalBytes() int64

func (*AllocatorMemoryUsed) Marshal

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

func (*AllocatorMemoryUsed) MarshalTo

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

func (*AllocatorMemoryUsed) MarshalToSizedBuffer

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

func (*AllocatorMemoryUsed) ProtoMessage

func (*AllocatorMemoryUsed) ProtoMessage()

func (*AllocatorMemoryUsed) Reset

func (m *AllocatorMemoryUsed) Reset()

func (*AllocatorMemoryUsed) Size

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

func (*AllocatorMemoryUsed) String

func (m *AllocatorMemoryUsed) String() string

func (*AllocatorMemoryUsed) Unmarshal

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

func (*AllocatorMemoryUsed) XXX_DiscardUnknown

func (m *AllocatorMemoryUsed) XXX_DiscardUnknown()

func (*AllocatorMemoryUsed) XXX_Marshal

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

func (*AllocatorMemoryUsed) XXX_Merge

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

func (*AllocatorMemoryUsed) XXX_Size

func (m *AllocatorMemoryUsed) XXX_Size() int

func (*AllocatorMemoryUsed) XXX_Unmarshal

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

type ApiDef

type ApiDef struct {
	// Name of the op (in the OpDef) to specify the API for.
	GraphOpName string `protobuf:"bytes,1,opt,name=graph_op_name,json=graphOpName,proto3" json:"graph_op_name,omitempty"`
	// If this op is deprecated, set deprecation message to the message
	// that should be logged when this op is used.
	// The message should indicate alternative op to use, if any.
	DeprecationMessage string `protobuf:"bytes,12,opt,name=deprecation_message,json=deprecationMessage,proto3" json:"deprecation_message,omitempty"`
	// Major version when the op will be deleted. For e.g. set this
	// value to 2 if op API should be removed in TensorFlow 2.0 and
	// deprecated in versions before that.
	DeprecationVersion int32              `protobuf:"varint,13,opt,name=deprecation_version,json=deprecationVersion,proto3" json:"deprecation_version,omitempty"`
	Visibility         ApiDef_Visibility  `protobuf:"varint,2,opt,name=visibility,proto3,enum=tensorflow.ApiDef_Visibility" json:"visibility,omitempty"`
	Endpoint           []*ApiDef_Endpoint `protobuf:"bytes,3,rep,name=endpoint,proto3" json:"endpoint,omitempty"`
	InArg              []*ApiDef_Arg      `protobuf:"bytes,4,rep,name=in_arg,json=inArg,proto3" json:"in_arg,omitempty"`
	OutArg             []*ApiDef_Arg      `protobuf:"bytes,5,rep,name=out_arg,json=outArg,proto3" json:"out_arg,omitempty"`
	// List of original in_arg names to specify new argument order.
	// Length of arg_order should be either empty to keep current order
	// or match size of in_arg.
	ArgOrder []string       `protobuf:"bytes,11,rep,name=arg_order,json=argOrder,proto3" json:"arg_order,omitempty"`
	Attr     []*ApiDef_Attr `protobuf:"bytes,6,rep,name=attr,proto3" json:"attr,omitempty"`
	// One-line human-readable description of what the Op does.
	Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty"`
	// Additional, longer human-readable description of what the Op does.
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	// Modify an existing/inherited description by adding text to the beginning
	// or end.
	DescriptionPrefix string `protobuf:"bytes,9,opt,name=description_prefix,json=descriptionPrefix,proto3" json:"description_prefix,omitempty"`
	DescriptionSuffix string `protobuf:"bytes,10,opt,name=description_suffix,json=descriptionSuffix,proto3" json:"description_suffix,omitempty"`
}

Used to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone. There will be a set of ApiDefs that are common to all client languages, and another set per client language. The per-client-language ApiDefs will inherit values from the common ApiDefs which it can either replace or modify.

We separate the API definition from the OpDef so we can evolve the API while remaining backwards compatible when interpretting old graphs. Overrides go in an "api_def.pbtxt" file with a text-format ApiDefs message.

WARNING: Be *very* careful changing the API for any existing op -- you can change the semantics of existing code. These changes may need to wait until a major release of TensorFlow to avoid breaking our compatibility promises.

func (*ApiDef) Descriptor

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

func (*ApiDef) GetArgOrder

func (m *ApiDef) GetArgOrder() []string

func (*ApiDef) GetAttr

func (m *ApiDef) GetAttr() []*ApiDef_Attr

func (*ApiDef) GetDeprecationMessage

func (m *ApiDef) GetDeprecationMessage() string

func (*ApiDef) GetDeprecationVersion

func (m *ApiDef) GetDeprecationVersion() int32

func (*ApiDef) GetDescription

func (m *ApiDef) GetDescription() string

func (*ApiDef) GetDescriptionPrefix

func (m *ApiDef) GetDescriptionPrefix() string

func (*ApiDef) GetDescriptionSuffix

func (m *ApiDef) GetDescriptionSuffix() string

func (*ApiDef) GetEndpoint

func (m *ApiDef) GetEndpoint() []*ApiDef_Endpoint

func (*ApiDef) GetGraphOpName

func (m *ApiDef) GetGraphOpName() string

func (*ApiDef) GetInArg

func (m *ApiDef) GetInArg() []*ApiDef_Arg

func (*ApiDef) GetOutArg

func (m *ApiDef) GetOutArg() []*ApiDef_Arg

func (*ApiDef) GetSummary

func (m *ApiDef) GetSummary() string

func (*ApiDef) GetVisibility

func (m *ApiDef) GetVisibility() ApiDef_Visibility

func (*ApiDef) Marshal

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

func (*ApiDef) MarshalTo

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

func (*ApiDef) MarshalToSizedBuffer

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

func (*ApiDef) ProtoMessage

func (*ApiDef) ProtoMessage()

func (*ApiDef) Reset

func (m *ApiDef) Reset()

func (*ApiDef) Size

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

func (*ApiDef) String

func (m *ApiDef) String() string

func (*ApiDef) Unmarshal

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

func (*ApiDef) XXX_DiscardUnknown

func (m *ApiDef) XXX_DiscardUnknown()

func (*ApiDef) XXX_Marshal

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

func (*ApiDef) XXX_Merge

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

func (*ApiDef) XXX_Size

func (m *ApiDef) XXX_Size() int

func (*ApiDef) XXX_Unmarshal

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

type ApiDef_Arg

type ApiDef_Arg struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Change the name used to access this arg in the API from what
	// is used in the GraphDef.  Note that these names in `backticks`
	// will also be replaced in the summary & description fields.
	RenameTo string `protobuf:"bytes,2,opt,name=rename_to,json=renameTo,proto3" json:"rename_to,omitempty"`
	// Note: this will replace any inherited arg doc. There is no
	// current way of modifying arg descriptions (other than replacing
	// them entirely) as can be done with op descriptions.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
}

func (*ApiDef_Arg) Descriptor

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

func (*ApiDef_Arg) GetDescription

func (m *ApiDef_Arg) GetDescription() string

func (*ApiDef_Arg) GetName

func (m *ApiDef_Arg) GetName() string

func (*ApiDef_Arg) GetRenameTo

func (m *ApiDef_Arg) GetRenameTo() string

func (*ApiDef_Arg) Marshal

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

func (*ApiDef_Arg) MarshalTo

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

func (*ApiDef_Arg) MarshalToSizedBuffer

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

func (*ApiDef_Arg) ProtoMessage

func (*ApiDef_Arg) ProtoMessage()

func (*ApiDef_Arg) Reset

func (m *ApiDef_Arg) Reset()

func (*ApiDef_Arg) Size

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

func (*ApiDef_Arg) String

func (m *ApiDef_Arg) String() string

func (*ApiDef_Arg) Unmarshal

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

func (*ApiDef_Arg) XXX_DiscardUnknown

func (m *ApiDef_Arg) XXX_DiscardUnknown()

func (*ApiDef_Arg) XXX_Marshal

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

func (*ApiDef_Arg) XXX_Merge

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

func (*ApiDef_Arg) XXX_Size

func (m *ApiDef_Arg) XXX_Size() int

func (*ApiDef_Arg) XXX_Unmarshal

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

type ApiDef_Attr

type ApiDef_Attr struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Change the name used to access this attr in the API from what
	// is used in the GraphDef.  Note that these names in `backticks`
	// will also be replaced in the summary & description fields.
	RenameTo string `protobuf:"bytes,2,opt,name=rename_to,json=renameTo,proto3" json:"rename_to,omitempty"`
	// Specify a new default value to use for this attr.  This default
	// will be used when creating new graphs, as opposed to the
	// default in the OpDef, which will be used when interpreting old
	// GraphDefs.
	DefaultValue *AttrValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Note: this will replace any inherited attr doc, there is no current
	// way of modifying attr descriptions as can be done with op descriptions.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
}

Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.

func (*ApiDef_Attr) Descriptor

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

func (*ApiDef_Attr) GetDefaultValue

func (m *ApiDef_Attr) GetDefaultValue() *AttrValue

func (*ApiDef_Attr) GetDescription

func (m *ApiDef_Attr) GetDescription() string

func (*ApiDef_Attr) GetName

func (m *ApiDef_Attr) GetName() string

func (*ApiDef_Attr) GetRenameTo

func (m *ApiDef_Attr) GetRenameTo() string

func (*ApiDef_Attr) Marshal

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

func (*ApiDef_Attr) MarshalTo

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

func (*ApiDef_Attr) MarshalToSizedBuffer

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

func (*ApiDef_Attr) ProtoMessage

func (*ApiDef_Attr) ProtoMessage()

func (*ApiDef_Attr) Reset

func (m *ApiDef_Attr) Reset()

func (*ApiDef_Attr) Size

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

func (*ApiDef_Attr) String

func (m *ApiDef_Attr) String() string

func (*ApiDef_Attr) Unmarshal

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

func (*ApiDef_Attr) XXX_DiscardUnknown

func (m *ApiDef_Attr) XXX_DiscardUnknown()

func (*ApiDef_Attr) XXX_Marshal

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

func (*ApiDef_Attr) XXX_Merge

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

func (*ApiDef_Attr) XXX_Size

func (m *ApiDef_Attr) XXX_Size() int

func (*ApiDef_Attr) XXX_Unmarshal

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

type ApiDef_Endpoint

type ApiDef_Endpoint struct {
	// Name should be either like "CamelCaseName" or
	// "Package.CamelCaseName". Client-language-specific ApiDefs may
	// use a snake_case convention instead of CamelCase.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Set if this endpoint is deprecated. If set to true, a message suggesting
	// to use a non-deprecated endpoint instead will be printed. If all
	// endpoints are deprecated, set deprecation_message in ApiDef instead.
	Deprecated bool `protobuf:"varint,3,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	// Major version when an endpoint will be deleted. For e.g. set this
	// value to 2 if endpoint should be removed in TensorFlow 2.0 and
	// deprecated in versions before that.
	DeprecationVersion int32 `protobuf:"varint,4,opt,name=deprecation_version,json=deprecationVersion,proto3" json:"deprecation_version,omitempty"`
}

If you specify any endpoint, this will replace all of the inherited endpoints. The first endpoint should be the "canonical" endpoint, and should not be deprecated (unless all endpoints are deprecated).

func (*ApiDef_Endpoint) Descriptor

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

func (*ApiDef_Endpoint) GetDeprecated

func (m *ApiDef_Endpoint) GetDeprecated() bool

func (*ApiDef_Endpoint) GetDeprecationVersion

func (m *ApiDef_Endpoint) GetDeprecationVersion() int32

func (*ApiDef_Endpoint) GetName

func (m *ApiDef_Endpoint) GetName() string

func (*ApiDef_Endpoint) Marshal

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

func (*ApiDef_Endpoint) MarshalTo

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

func (*ApiDef_Endpoint) MarshalToSizedBuffer

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

func (*ApiDef_Endpoint) ProtoMessage

func (*ApiDef_Endpoint) ProtoMessage()

func (*ApiDef_Endpoint) Reset

func (m *ApiDef_Endpoint) Reset()

func (*ApiDef_Endpoint) Size

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

func (*ApiDef_Endpoint) String

func (m *ApiDef_Endpoint) String() string

func (*ApiDef_Endpoint) Unmarshal

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

func (*ApiDef_Endpoint) XXX_DiscardUnknown

func (m *ApiDef_Endpoint) XXX_DiscardUnknown()

func (*ApiDef_Endpoint) XXX_Marshal

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

func (*ApiDef_Endpoint) XXX_Merge

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

func (*ApiDef_Endpoint) XXX_Size

func (m *ApiDef_Endpoint) XXX_Size() int

func (*ApiDef_Endpoint) XXX_Unmarshal

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

type ApiDef_Visibility

type ApiDef_Visibility int32
const (
	// Normally this is "VISIBLE" unless you are inheriting a
	// different value from another ApiDef.
	ApiDef_DEFAULT_VISIBILITY ApiDef_Visibility = 0
	// Publicly visible in the API.
	ApiDef_VISIBLE ApiDef_Visibility = 1
	// Do not include this op in the generated API. If visibility is
	// set to 'SKIP', other fields are ignored for this op.
	ApiDef_SKIP ApiDef_Visibility = 2
	// Hide this op by putting it into an internal namespace (or whatever
	// is appropriate in the target language).
	ApiDef_HIDDEN ApiDef_Visibility = 3
)

func (ApiDef_Visibility) EnumDescriptor

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

func (ApiDef_Visibility) String

func (x ApiDef_Visibility) String() string

type ApiDefs

type ApiDefs struct {
	Op []*ApiDef `protobuf:"bytes,1,rep,name=op,proto3" json:"op,omitempty"`
}

func (*ApiDefs) Descriptor

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

func (*ApiDefs) GetOp

func (m *ApiDefs) GetOp() []*ApiDef

func (*ApiDefs) Marshal

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

func (*ApiDefs) MarshalTo

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

func (*ApiDefs) MarshalToSizedBuffer

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

func (*ApiDefs) ProtoMessage

func (*ApiDefs) ProtoMessage()

func (*ApiDefs) Reset

func (m *ApiDefs) Reset()

func (*ApiDefs) Size

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

func (*ApiDefs) String

func (m *ApiDefs) String() string

func (*ApiDefs) Unmarshal

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

func (*ApiDefs) XXX_DiscardUnknown

func (m *ApiDefs) XXX_DiscardUnknown()

func (*ApiDefs) XXX_Marshal

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

func (*ApiDefs) XXX_Merge

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

func (*ApiDefs) XXX_Size

func (m *ApiDefs) XXX_Size() int

func (*ApiDefs) XXX_Unmarshal

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

type AttrValue

type AttrValue struct {
	// Types that are valid to be assigned to Value:
	//	*AttrValue_S
	//	*AttrValue_I
	//	*AttrValue_F
	//	*AttrValue_B
	//	*AttrValue_Type
	//	*AttrValue_Shape
	//	*AttrValue_Tensor
	//	*AttrValue_List
	//	*AttrValue_Func
	//	*AttrValue_Placeholder
	Value isAttrValue_Value `protobuf_oneof:"value"`
}

Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.

func (*AttrValue) Descriptor

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

func (*AttrValue) GetB

func (m *AttrValue) GetB() bool

func (*AttrValue) GetF

func (m *AttrValue) GetF() float32

func (*AttrValue) GetFunc

func (m *AttrValue) GetFunc() *NameAttrList

func (*AttrValue) GetI

func (m *AttrValue) GetI() int64

func (*AttrValue) GetList

func (m *AttrValue) GetList() *AttrValue_ListValue

func (*AttrValue) GetPlaceholder

func (m *AttrValue) GetPlaceholder() string

func (*AttrValue) GetS

func (m *AttrValue) GetS() []byte

func (*AttrValue) GetShape

func (m *AttrValue) GetShape() *TensorShapeProto

func (*AttrValue) GetTensor

func (m *AttrValue) GetTensor() *TensorProto

func (*AttrValue) GetType

func (m *AttrValue) GetType() DataType

func (*AttrValue) GetValue

func (m *AttrValue) GetValue() isAttrValue_Value

func (*AttrValue) Marshal

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

func (*AttrValue) MarshalTo

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

func (*AttrValue) MarshalToSizedBuffer

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

func (*AttrValue) ProtoMessage

func (*AttrValue) ProtoMessage()

func (*AttrValue) Reset

func (m *AttrValue) Reset()

func (*AttrValue) Size

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

func (*AttrValue) String

func (m *AttrValue) String() string

func (*AttrValue) Unmarshal

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

func (*AttrValue) XXX_DiscardUnknown

func (m *AttrValue) XXX_DiscardUnknown()

func (*AttrValue) XXX_Marshal

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

func (*AttrValue) XXX_Merge

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

func (*AttrValue) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AttrValue) XXX_Size

func (m *AttrValue) XXX_Size() int

func (*AttrValue) XXX_Unmarshal

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

type AttrValue_B

type AttrValue_B struct {
	B bool `protobuf:"varint,5,opt,name=b,proto3,oneof" json:"b,omitempty"`
}

func (*AttrValue_B) MarshalTo

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

func (*AttrValue_B) MarshalToSizedBuffer

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

func (*AttrValue_B) Size

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

type AttrValue_F

type AttrValue_F struct {
	F float32 `protobuf:"fixed32,4,opt,name=f,proto3,oneof" json:"f,omitempty"`
}

func (*AttrValue_F) MarshalTo

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

func (*AttrValue_F) MarshalToSizedBuffer

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

func (*AttrValue_F) Size

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

type AttrValue_Func

type AttrValue_Func struct {
	Func *NameAttrList `protobuf:"bytes,10,opt,name=func,proto3,oneof" json:"func,omitempty"`
}

func (*AttrValue_Func) MarshalTo

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

func (*AttrValue_Func) MarshalToSizedBuffer

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

func (*AttrValue_Func) Size

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

type AttrValue_I

type AttrValue_I struct {
	I int64 `protobuf:"varint,3,opt,name=i,proto3,oneof" json:"i,omitempty"`
}

func (*AttrValue_I) MarshalTo

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

func (*AttrValue_I) MarshalToSizedBuffer

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

func (*AttrValue_I) Size

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

type AttrValue_List

type AttrValue_List struct {
	List *AttrValue_ListValue `protobuf:"bytes,1,opt,name=list,proto3,oneof" json:"list,omitempty"`
}

func (*AttrValue_List) MarshalTo

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

func (*AttrValue_List) MarshalToSizedBuffer

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

func (*AttrValue_List) Size

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

type AttrValue_ListValue

type AttrValue_ListValue struct {
	S      [][]byte            `protobuf:"bytes,2,rep,name=s,proto3" json:"s,omitempty"`
	I      []int64             `protobuf:"varint,3,rep,packed,name=i,proto3" json:"i,omitempty"`
	F      []float32           `protobuf:"fixed32,4,rep,packed,name=f,proto3" json:"f,omitempty"`
	B      []bool              `protobuf:"varint,5,rep,packed,name=b,proto3" json:"b,omitempty"`
	Type   []DataType          `protobuf:"varint,6,rep,packed,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"`
	Shape  []*TensorShapeProto `protobuf:"bytes,7,rep,name=shape,proto3" json:"shape,omitempty"`
	Tensor []*TensorProto      `protobuf:"bytes,8,rep,name=tensor,proto3" json:"tensor,omitempty"`
	Func   []*NameAttrList     `protobuf:"bytes,9,rep,name=func,proto3" json:"func,omitempty"`
}

LINT.IfChange

func (*AttrValue_ListValue) Descriptor

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

func (*AttrValue_ListValue) GetB

func (m *AttrValue_ListValue) GetB() []bool

func (*AttrValue_ListValue) GetF

func (m *AttrValue_ListValue) GetF() []float32

func (*AttrValue_ListValue) GetFunc

func (m *AttrValue_ListValue) GetFunc() []*NameAttrList

func (*AttrValue_ListValue) GetI

func (m *AttrValue_ListValue) GetI() []int64

func (*AttrValue_ListValue) GetS

func (m *AttrValue_ListValue) GetS() [][]byte

func (*AttrValue_ListValue) GetShape

func (m *AttrValue_ListValue) GetShape() []*TensorShapeProto

func (*AttrValue_ListValue) GetTensor

func (m *AttrValue_ListValue) GetTensor() []*TensorProto

func (*AttrValue_ListValue) GetType

func (m *AttrValue_ListValue) GetType() []DataType

func (*AttrValue_ListValue) Marshal

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

func (*AttrValue_ListValue) MarshalTo

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

func (*AttrValue_ListValue) MarshalToSizedBuffer

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

func (*AttrValue_ListValue) ProtoMessage

func (*AttrValue_ListValue) ProtoMessage()

func (*AttrValue_ListValue) Reset

func (m *AttrValue_ListValue) Reset()

func (*AttrValue_ListValue) Size

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

func (*AttrValue_ListValue) String

func (m *AttrValue_ListValue) String() string

func (*AttrValue_ListValue) Unmarshal

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

func (*AttrValue_ListValue) XXX_DiscardUnknown

func (m *AttrValue_ListValue) XXX_DiscardUnknown()

func (*AttrValue_ListValue) XXX_Marshal

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

func (*AttrValue_ListValue) XXX_Merge

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

func (*AttrValue_ListValue) XXX_Size

func (m *AttrValue_ListValue) XXX_Size() int

func (*AttrValue_ListValue) XXX_Unmarshal

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

type AttrValue_Placeholder

type AttrValue_Placeholder struct {
	Placeholder string `protobuf:"bytes,9,opt,name=placeholder,proto3,oneof" json:"placeholder,omitempty"`
}

func (*AttrValue_Placeholder) MarshalTo

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

func (*AttrValue_Placeholder) MarshalToSizedBuffer

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

func (*AttrValue_Placeholder) Size

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

type AttrValue_S

type AttrValue_S struct {
	S []byte `protobuf:"bytes,2,opt,name=s,proto3,oneof" json:"s,omitempty"`
}

func (*AttrValue_S) MarshalTo

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

func (*AttrValue_S) MarshalToSizedBuffer

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

func (*AttrValue_S) Size

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

type AttrValue_Shape

type AttrValue_Shape struct {
	Shape *TensorShapeProto `protobuf:"bytes,7,opt,name=shape,proto3,oneof" json:"shape,omitempty"`
}

func (*AttrValue_Shape) MarshalTo

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

func (*AttrValue_Shape) MarshalToSizedBuffer

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

func (*AttrValue_Shape) Size

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

type AttrValue_Tensor

type AttrValue_Tensor struct {
	Tensor *TensorProto `protobuf:"bytes,8,opt,name=tensor,proto3,oneof" json:"tensor,omitempty"`
}

func (*AttrValue_Tensor) MarshalTo

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

func (*AttrValue_Tensor) MarshalToSizedBuffer

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

func (*AttrValue_Tensor) Size

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

type AttrValue_Type

type AttrValue_Type struct {
	Type DataType `protobuf:"varint,6,opt,name=type,proto3,enum=tensorflow.DataType,oneof" json:"type,omitempty"`
}

func (*AttrValue_Type) MarshalTo

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

func (*AttrValue_Type) MarshalToSizedBuffer

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

func (*AttrValue_Type) Size

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

type CostGraphDef

type CostGraphDef struct {
	Node []*CostGraphDef_Node           `protobuf:"bytes,1,rep,name=node,proto3" json:"node,omitempty"`
	Cost []*CostGraphDef_AggregatedCost `protobuf:"bytes,2,rep,name=cost,proto3" json:"cost,omitempty"`
}

func (*CostGraphDef) Descriptor

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

func (*CostGraphDef) GetCost

func (m *CostGraphDef) GetCost() []*CostGraphDef_AggregatedCost

func (*CostGraphDef) GetNode

func (m *CostGraphDef) GetNode() []*CostGraphDef_Node

func (*CostGraphDef) Marshal

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

func (*CostGraphDef) MarshalTo

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

func (*CostGraphDef) MarshalToSizedBuffer

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

func (*CostGraphDef) ProtoMessage

func (*CostGraphDef) ProtoMessage()

func (*CostGraphDef) Reset

func (m *CostGraphDef) Reset()

func (*CostGraphDef) Size

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

func (*CostGraphDef) String

func (m *CostGraphDef) String() string

func (*CostGraphDef) Unmarshal

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

func (*CostGraphDef) XXX_DiscardUnknown

func (m *CostGraphDef) XXX_DiscardUnknown()

func (*CostGraphDef) XXX_Marshal

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

func (*CostGraphDef) XXX_Merge

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

func (*CostGraphDef) XXX_Size

func (m *CostGraphDef) XXX_Size() int

func (*CostGraphDef) XXX_Unmarshal

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

type CostGraphDef_AggregatedCost

type CostGraphDef_AggregatedCost struct {
	// Aggregated cost value.
	Cost float32 `protobuf:"fixed32,1,opt,name=cost,proto3" json:"cost,omitempty"`
	// Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
	Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"`
}

Total cost of this graph, typically used for balancing decisions.

func (*CostGraphDef_AggregatedCost) Descriptor

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

func (*CostGraphDef_AggregatedCost) GetCost

func (m *CostGraphDef_AggregatedCost) GetCost() float32

func (*CostGraphDef_AggregatedCost) GetDimension

func (m *CostGraphDef_AggregatedCost) GetDimension() string

func (*CostGraphDef_AggregatedCost) Marshal

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

func (*CostGraphDef_AggregatedCost) MarshalTo

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

func (*CostGraphDef_AggregatedCost) MarshalToSizedBuffer

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

func (*CostGraphDef_AggregatedCost) ProtoMessage

func (*CostGraphDef_AggregatedCost) ProtoMessage()

func (*CostGraphDef_AggregatedCost) Reset

func (m *CostGraphDef_AggregatedCost) Reset()

func (*CostGraphDef_AggregatedCost) Size

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

func (*CostGraphDef_AggregatedCost) String

func (m *CostGraphDef_AggregatedCost) String() string

func (*CostGraphDef_AggregatedCost) Unmarshal

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

func (*CostGraphDef_AggregatedCost) XXX_DiscardUnknown

func (m *CostGraphDef_AggregatedCost) XXX_DiscardUnknown()

func (*CostGraphDef_AggregatedCost) XXX_Marshal

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

func (*CostGraphDef_AggregatedCost) XXX_Merge

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

func (*CostGraphDef_AggregatedCost) XXX_Size

func (m *CostGraphDef_AggregatedCost) XXX_Size() int

func (*CostGraphDef_AggregatedCost) XXX_Unmarshal

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

type CostGraphDef_Node

type CostGraphDef_Node struct {
	// The name of the node. Names are globally unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The device of the node. Can be empty if the node is mapped to the
	// default partition or partitioning hasn't been run yet.
	Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	// The id of the node. Node ids are only unique inside a partition.
	Id         int32                           `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	InputInfo  []*CostGraphDef_Node_InputInfo  `protobuf:"bytes,4,rep,name=input_info,json=inputInfo,proto3" json:"input_info,omitempty"`
	OutputInfo []*CostGraphDef_Node_OutputInfo `protobuf:"bytes,5,rep,name=output_info,json=outputInfo,proto3" json:"output_info,omitempty"`
	// Temporary memory used by this node.
	TemporaryMemorySize int64 `protobuf:"varint,6,opt,name=temporary_memory_size,json=temporaryMemorySize,proto3" json:"temporary_memory_size,omitempty"`
	// Persistent memory used by this node.
	PersistentMemorySize int64 `protobuf:"varint,12,opt,name=persistent_memory_size,json=persistentMemorySize,proto3" json:"persistent_memory_size,omitempty"`
	HostTempMemorySize   int64 `protobuf:"varint,10,opt,name=host_temp_memory_size,json=hostTempMemorySize,proto3" json:"host_temp_memory_size,omitempty"` // Deprecated: Do not use.
	DeviceTempMemorySize int64 ``                                                                                                                          // Deprecated: Do not use.
	/* 127-byte string literal not displayed */
	DevicePersistentMemorySize int64 `` // Deprecated: Do not use.
	/* 145-byte string literal not displayed */
	// Estimate of the computational cost of this node, in microseconds.
	ComputeCost int64 `protobuf:"varint,9,opt,name=compute_cost,json=computeCost,proto3" json:"compute_cost,omitempty"`
	// Analytical estimate of the computational cost of this node, in
	// microseconds.
	ComputeTime int64 `protobuf:"varint,14,opt,name=compute_time,json=computeTime,proto3" json:"compute_time,omitempty"`
	// Analytical estimate of the memory access cost of this node, in
	// microseconds.
	MemoryTime int64 `protobuf:"varint,15,opt,name=memory_time,json=memoryTime,proto3" json:"memory_time,omitempty"`
	// If true, the output is permanent: it can't be discarded, because this
	// node is part of the "final output". Nodes may depend on final nodes.
	IsFinal bool `protobuf:"varint,7,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
	// Ids of the control inputs for this node.
	ControlInput []int32 `protobuf:"varint,8,rep,packed,name=control_input,json=controlInput,proto3" json:"control_input,omitempty"`
	// Are the costs inaccurate?
	Inaccurate bool `protobuf:"varint,17,opt,name=inaccurate,proto3" json:"inaccurate,omitempty"`
}

func (*CostGraphDef_Node) Descriptor

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

func (*CostGraphDef_Node) GetComputeCost

func (m *CostGraphDef_Node) GetComputeCost() int64

func (*CostGraphDef_Node) GetComputeTime

func (m *CostGraphDef_Node) GetComputeTime() int64

func (*CostGraphDef_Node) GetControlInput

func (m *CostGraphDef_Node) GetControlInput() []int32

func (*CostGraphDef_Node) GetDevice

func (m *CostGraphDef_Node) GetDevice() string

func (*CostGraphDef_Node) GetDevicePersistentMemorySize deprecated

func (m *CostGraphDef_Node) GetDevicePersistentMemorySize() int64

Deprecated: Do not use.

func (*CostGraphDef_Node) GetDeviceTempMemorySize deprecated

func (m *CostGraphDef_Node) GetDeviceTempMemorySize() int64

Deprecated: Do not use.

func (*CostGraphDef_Node) GetHostTempMemorySize deprecated

func (m *CostGraphDef_Node) GetHostTempMemorySize() int64

Deprecated: Do not use.

func (*CostGraphDef_Node) GetId

func (m *CostGraphDef_Node) GetId() int32

func (*CostGraphDef_Node) GetInaccurate

func (m *CostGraphDef_Node) GetInaccurate() bool

func (*CostGraphDef_Node) GetInputInfo

func (m *CostGraphDef_Node) GetInputInfo() []*CostGraphDef_Node_InputInfo

func (*CostGraphDef_Node) GetIsFinal

func (m *CostGraphDef_Node) GetIsFinal() bool

func (*CostGraphDef_Node) GetMemoryTime

func (m *CostGraphDef_Node) GetMemoryTime() int64

func (*CostGraphDef_Node) GetName

func (m *CostGraphDef_Node) GetName() string

func (*CostGraphDef_Node) GetOutputInfo

func (m *CostGraphDef_Node) GetOutputInfo() []*CostGraphDef_Node_OutputInfo

func (*CostGraphDef_Node) GetPersistentMemorySize

func (m *CostGraphDef_Node) GetPersistentMemorySize() int64

func (*CostGraphDef_Node) GetTemporaryMemorySize

func (m *CostGraphDef_Node) GetTemporaryMemorySize() int64

func (*CostGraphDef_Node) Marshal

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

func (*CostGraphDef_Node) MarshalTo

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

func (*CostGraphDef_Node) MarshalToSizedBuffer

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

func (*CostGraphDef_Node) ProtoMessage

func (*CostGraphDef_Node) ProtoMessage()

func (*CostGraphDef_Node) Reset

func (m *CostGraphDef_Node) Reset()

func (*CostGraphDef_Node) Size

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

func (*CostGraphDef_Node) String

func (m *CostGraphDef_Node) String() string

func (*CostGraphDef_Node) Unmarshal

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

func (*CostGraphDef_Node) XXX_DiscardUnknown

func (m *CostGraphDef_Node) XXX_DiscardUnknown()

func (*CostGraphDef_Node) XXX_Marshal

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

func (*CostGraphDef_Node) XXX_Merge

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

func (*CostGraphDef_Node) XXX_Size

func (m *CostGraphDef_Node) XXX_Size() int

func (*CostGraphDef_Node) XXX_Unmarshal

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

type CostGraphDef_Node_InputInfo

type CostGraphDef_Node_InputInfo struct {
	PrecedingNode int32 `protobuf:"varint,1,opt,name=preceding_node,json=precedingNode,proto3" json:"preceding_node,omitempty"`
	PrecedingPort int32 `protobuf:"varint,2,opt,name=preceding_port,json=precedingPort,proto3" json:"preceding_port,omitempty"`
}

Inputs of this node. They must be executed before this node can be executed. An input is a particular output of another node, specified by the node id and the output index.

func (*CostGraphDef_Node_InputInfo) Descriptor

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

func (*CostGraphDef_Node_InputInfo) GetPrecedingNode

func (m *CostGraphDef_Node_InputInfo) GetPrecedingNode() int32

func (*CostGraphDef_Node_InputInfo) GetPrecedingPort

func (m *CostGraphDef_Node_InputInfo) GetPrecedingPort() int32

func (*CostGraphDef_Node_InputInfo) Marshal

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

func (*CostGraphDef_Node_InputInfo) MarshalTo

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

func (*CostGraphDef_Node_InputInfo) MarshalToSizedBuffer

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

func (*CostGraphDef_Node_InputInfo) ProtoMessage

func (*CostGraphDef_Node_InputInfo) ProtoMessage()

func (*CostGraphDef_Node_InputInfo) Reset

func (m *CostGraphDef_Node_InputInfo) Reset()

func (*CostGraphDef_Node_InputInfo) Size

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

func (*CostGraphDef_Node_InputInfo) String

func (m *CostGraphDef_Node_InputInfo) String() string

func (*CostGraphDef_Node_InputInfo) Unmarshal

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

func (*CostGraphDef_Node_InputInfo) XXX_DiscardUnknown

func (m *CostGraphDef_Node_InputInfo) XXX_DiscardUnknown()

func (*CostGraphDef_Node_InputInfo) XXX_Marshal

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

func (*CostGraphDef_Node_InputInfo) XXX_Merge

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

func (*CostGraphDef_Node_InputInfo) XXX_Size

func (m *CostGraphDef_Node_InputInfo) XXX_Size() int

func (*CostGraphDef_Node_InputInfo) XXX_Unmarshal

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

type CostGraphDef_Node_OutputInfo

type CostGraphDef_Node_OutputInfo struct {
	Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// If >= 0, the output is an alias of an input. Note that an alias input
	// may itself be an alias. The algorithm will therefore need to follow
	// those pointers.
	AliasInputPort int64             `protobuf:"varint,2,opt,name=alias_input_port,json=aliasInputPort,proto3" json:"alias_input_port,omitempty"`
	Shape          *TensorShapeProto `protobuf:"bytes,3,opt,name=shape,proto3" json:"shape,omitempty"`
	Dtype          DataType          `protobuf:"varint,4,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

Outputs of this node.

func (*CostGraphDef_Node_OutputInfo) Descriptor

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

func (*CostGraphDef_Node_OutputInfo) GetAliasInputPort

func (m *CostGraphDef_Node_OutputInfo) GetAliasInputPort() int64

func (*CostGraphDef_Node_OutputInfo) GetDtype

func (m *CostGraphDef_Node_OutputInfo) GetDtype() DataType

func (*CostGraphDef_Node_OutputInfo) GetShape

func (*CostGraphDef_Node_OutputInfo) GetSize_

func (m *CostGraphDef_Node_OutputInfo) GetSize_() int64

func (*CostGraphDef_Node_OutputInfo) Marshal

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

func (*CostGraphDef_Node_OutputInfo) MarshalTo

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

func (*CostGraphDef_Node_OutputInfo) MarshalToSizedBuffer

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

func (*CostGraphDef_Node_OutputInfo) ProtoMessage

func (*CostGraphDef_Node_OutputInfo) ProtoMessage()

func (*CostGraphDef_Node_OutputInfo) Reset

func (m *CostGraphDef_Node_OutputInfo) Reset()

func (*CostGraphDef_Node_OutputInfo) Size

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

func (*CostGraphDef_Node_OutputInfo) String

func (*CostGraphDef_Node_OutputInfo) Unmarshal

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

func (*CostGraphDef_Node_OutputInfo) XXX_DiscardUnknown

func (m *CostGraphDef_Node_OutputInfo) XXX_DiscardUnknown()

func (*CostGraphDef_Node_OutputInfo) XXX_Marshal

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

func (*CostGraphDef_Node_OutputInfo) XXX_Merge

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

func (*CostGraphDef_Node_OutputInfo) XXX_Size

func (m *CostGraphDef_Node_OutputInfo) XXX_Size() int

func (*CostGraphDef_Node_OutputInfo) XXX_Unmarshal

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

type DataClass

type DataClass int32
const (
	// Unknown data class, used (implicitly) for legacy data. Will not be
	// processed by data ingestion pipelines.
	DataClass_DATA_CLASS_UNKNOWN DataClass = 0
	// Scalar time series. Each `Value` for the corresponding tag must have
	// `tensor` set to a rank-0 tensor of floating-point dtype, which will be
	// converted to float64.
	DataClass_DATA_CLASS_SCALAR DataClass = 1
	// Tensor time series. Each `Value` for the corresponding tag must have
	// `tensor` set. The tensor value is arbitrary, but should be small to
	// accommodate direct storage in database backends: an upper bound of a few
	// kilobytes is a reasonable rule of thumb.
	DataClass_DATA_CLASS_TENSOR DataClass = 2
	// Blob sequence time series. Each `Value` for the corresponding tag must
	// have `tensor` set to a rank-1 tensor of bytestring dtype.
	DataClass_DATA_CLASS_BLOB_SEQUENCE DataClass = 3
)

func (DataClass) EnumDescriptor

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

func (DataClass) String

func (x DataClass) String() string

type DataType

type DataType int32

(== suppress_warning documentation-presence ==) LINT.IfChange

const (
	// Not a legal value for DataType.  Used to indicate a DataType field
	// has not been set.
	DataType_DT_INVALID DataType = 0
	// Data types that all computation devices are expected to be
	// capable to support.
	DataType_DT_FLOAT      DataType = 1
	DataType_DT_DOUBLE     DataType = 2
	DataType_DT_INT32      DataType = 3
	DataType_DT_UINT8      DataType = 4
	DataType_DT_INT16      DataType = 5
	DataType_DT_INT8       DataType = 6
	DataType_DT_STRING     DataType = 7
	DataType_DT_COMPLEX64  DataType = 8
	DataType_DT_INT64      DataType = 9
	DataType_DT_BOOL       DataType = 10
	DataType_DT_QINT8      DataType = 11
	DataType_DT_QUINT8     DataType = 12
	DataType_DT_QINT32     DataType = 13
	DataType_DT_BFLOAT16   DataType = 14
	DataType_DT_QINT16     DataType = 15
	DataType_DT_QUINT16    DataType = 16
	DataType_DT_UINT16     DataType = 17
	DataType_DT_COMPLEX128 DataType = 18
	DataType_DT_HALF       DataType = 19
	DataType_DT_RESOURCE   DataType = 20
	DataType_DT_VARIANT    DataType = 21
	DataType_DT_UINT32     DataType = 22
	DataType_DT_UINT64     DataType = 23
	// Do not use!  These are only for parameters.  Every enum above
	// should have a corresponding value below (verified by types_test).
	DataType_DT_FLOAT_REF      DataType = 101
	DataType_DT_DOUBLE_REF     DataType = 102
	DataType_DT_INT32_REF      DataType = 103
	DataType_DT_UINT8_REF      DataType = 104
	DataType_DT_INT16_REF      DataType = 105
	DataType_DT_INT8_REF       DataType = 106
	DataType_DT_STRING_REF     DataType = 107
	DataType_DT_COMPLEX64_REF  DataType = 108
	DataType_DT_INT64_REF      DataType = 109
	DataType_DT_BOOL_REF       DataType = 110
	DataType_DT_QINT8_REF      DataType = 111
	DataType_DT_QUINT8_REF     DataType = 112
	DataType_DT_QINT32_REF     DataType = 113
	DataType_DT_BFLOAT16_REF   DataType = 114
	DataType_DT_QINT16_REF     DataType = 115
	DataType_DT_QUINT16_REF    DataType = 116
	DataType_DT_UINT16_REF     DataType = 117
	DataType_DT_COMPLEX128_REF DataType = 118
	DataType_DT_HALF_REF       DataType = 119
	DataType_DT_RESOURCE_REF   DataType = 120
	DataType_DT_VARIANT_REF    DataType = 121
	DataType_DT_UINT32_REF     DataType = 122
	DataType_DT_UINT64_REF     DataType = 123
)

func (DataType) EnumDescriptor

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

func (DataType) String

func (x DataType) String() string

type DeviceAttributes

type DeviceAttributes struct {
	// Fully specified name of the device within a cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// String representation of device_type.
	DeviceType string `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// Memory capacity of device in bytes.
	MemoryLimit int64 `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	// Platform-specific data about device that may be useful
	// for supporting efficient data transfers.
	Locality *DeviceLocality `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
	// A device is assigned a global unique number each time it is
	// initialized. "incarnation" should never be 0.
	Incarnation uint64 `protobuf:"fixed64,6,opt,name=incarnation,proto3" json:"incarnation,omitempty"`
	// String representation of the physical device that this device maps to.
	PhysicalDeviceDesc string `protobuf:"bytes,7,opt,name=physical_device_desc,json=physicalDeviceDesc,proto3" json:"physical_device_desc,omitempty"`
}

func (*DeviceAttributes) Descriptor

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

func (*DeviceAttributes) GetDeviceType

func (m *DeviceAttributes) GetDeviceType() string

func (*DeviceAttributes) GetIncarnation

func (m *DeviceAttributes) GetIncarnation() uint64

func (*DeviceAttributes) GetLocality

func (m *DeviceAttributes) GetLocality() *DeviceLocality

func (*DeviceAttributes) GetMemoryLimit

func (m *DeviceAttributes) GetMemoryLimit() int64

func (*DeviceAttributes) GetName

func (m *DeviceAttributes) GetName() string

func (*DeviceAttributes) GetPhysicalDeviceDesc

func (m *DeviceAttributes) GetPhysicalDeviceDesc() string

func (*DeviceAttributes) Marshal

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

func (*DeviceAttributes) MarshalTo

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

func (*DeviceAttributes) MarshalToSizedBuffer

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

func (*DeviceAttributes) ProtoMessage

func (*DeviceAttributes) ProtoMessage()

func (*DeviceAttributes) Reset

func (m *DeviceAttributes) Reset()

func (*DeviceAttributes) Size

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

func (*DeviceAttributes) String

func (m *DeviceAttributes) String() string

func (*DeviceAttributes) Unmarshal

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

func (*DeviceAttributes) XXX_DiscardUnknown

func (m *DeviceAttributes) XXX_DiscardUnknown()

func (*DeviceAttributes) XXX_Marshal

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

func (*DeviceAttributes) XXX_Merge

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

func (*DeviceAttributes) XXX_Size

func (m *DeviceAttributes) XXX_Size() int

func (*DeviceAttributes) XXX_Unmarshal

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

type DeviceLocality

type DeviceLocality struct {
	// Optional bus locality of device.  Default value of 0 means
	// no specific locality.  Specific localities are indexed from 1.
	BusId int32 `protobuf:"varint,1,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"`
	// Optional NUMA locality of device.
	NumaNode int32 `protobuf:"varint,2,opt,name=numa_node,json=numaNode,proto3" json:"numa_node,omitempty"`
	// Optional local interconnect links to other devices.
	Links *LocalLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"`
}

func (*DeviceLocality) Descriptor

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

func (*DeviceLocality) GetBusId

func (m *DeviceLocality) GetBusId() int32
func (m *DeviceLocality) GetLinks() *LocalLinks

func (*DeviceLocality) GetNumaNode

func (m *DeviceLocality) GetNumaNode() int32

func (*DeviceLocality) Marshal

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

func (*DeviceLocality) MarshalTo

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

func (*DeviceLocality) MarshalToSizedBuffer

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

func (*DeviceLocality) ProtoMessage

func (*DeviceLocality) ProtoMessage()

func (*DeviceLocality) Reset

func (m *DeviceLocality) Reset()

func (*DeviceLocality) Size

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

func (*DeviceLocality) String

func (m *DeviceLocality) String() string

func (*DeviceLocality) Unmarshal

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

func (*DeviceLocality) XXX_DiscardUnknown

func (m *DeviceLocality) XXX_DiscardUnknown()

func (*DeviceLocality) XXX_Marshal

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

func (*DeviceLocality) XXX_Merge

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

func (*DeviceLocality) XXX_Size

func (m *DeviceLocality) XXX_Size() int

func (*DeviceLocality) XXX_Unmarshal

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

type DeviceStepStats

type DeviceStepStats struct {
	Device    string           `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	NodeStats []*NodeExecStats `protobuf:"bytes,2,rep,name=node_stats,json=nodeStats,proto3" json:"node_stats,omitempty"`
	// Its key is thread id.
	ThreadNames map[uint32]string `` /* 183-byte string literal not displayed */
}

func (*DeviceStepStats) Descriptor

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

func (*DeviceStepStats) GetDevice

func (m *DeviceStepStats) GetDevice() string

func (*DeviceStepStats) GetNodeStats

func (m *DeviceStepStats) GetNodeStats() []*NodeExecStats

func (*DeviceStepStats) GetThreadNames

func (m *DeviceStepStats) GetThreadNames() map[uint32]string

func (*DeviceStepStats) Marshal

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

func (*DeviceStepStats) MarshalTo

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

func (*DeviceStepStats) MarshalToSizedBuffer

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

func (*DeviceStepStats) ProtoMessage

func (*DeviceStepStats) ProtoMessage()

func (*DeviceStepStats) Reset

func (m *DeviceStepStats) Reset()

func (*DeviceStepStats) Size

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

func (*DeviceStepStats) String

func (m *DeviceStepStats) String() string

func (*DeviceStepStats) Unmarshal

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

func (*DeviceStepStats) XXX_DiscardUnknown

func (m *DeviceStepStats) XXX_DiscardUnknown()

func (*DeviceStepStats) XXX_Marshal

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

func (*DeviceStepStats) XXX_Merge

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

func (*DeviceStepStats) XXX_Size

func (m *DeviceStepStats) XXX_Size() int

func (*DeviceStepStats) XXX_Unmarshal

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

type FunctionDef

type FunctionDef struct {
	// The definition of the function's name, arguments, return values,
	// attrs etc.
	Signature *OpDef `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// Attributes specific to this function definition.
	Attr    map[string]*AttrValue            `` /* 149-byte string literal not displayed */
	ArgAttr map[uint32]*FunctionDef_ArgAttrs `` /* 171-byte string literal not displayed */
	// Unique IDs for each resource argument, used to track aliasing resources. If
	// Argument A and Argument B alias each other, then
	// resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index].
	//
	// If this field is empty, none of the arguments could alias; otherwise, every
	// resource argument should have an entry in this field.
	//
	// When instantiated, the unique IDs will be attached to the _Arg nodes'
	// "_resource_arg_unique_id" attribute.
	ResourceArgUniqueId map[uint32]uint32 `` /* 212-byte string literal not displayed */
	// By convention, "op" in node_def is resolved by consulting with a
	// user-defined library first. If not resolved, "func" is assumed to
	// be a builtin op.
	NodeDef []*NodeDef `protobuf:"bytes,3,rep,name=node_def,json=nodeDef,proto3" json:"node_def,omitempty"`
	// A mapping from the output arg names from `signature` to the
	// outputs from `node_def` that should be returned by the function.
	Ret map[string]string `` /* 147-byte string literal not displayed */
	// A mapping from control output names from `signature` to node names in
	// `node_def` which should be control outputs of this function.
	ControlRet map[string]string `` /* 179-byte string literal not displayed */
}

A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature.

TODO(zhifengc):

  • device spec, etc.

func (*FunctionDef) Descriptor

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

func (*FunctionDef) GetArgAttr

func (m *FunctionDef) GetArgAttr() map[uint32]*FunctionDef_ArgAttrs

func (*FunctionDef) GetAttr

func (m *FunctionDef) GetAttr() map[string]*AttrValue

func (*FunctionDef) GetControlRet

func (m *FunctionDef) GetControlRet() map[string]string

func (*FunctionDef) GetNodeDef

func (m *FunctionDef) GetNodeDef() []*NodeDef

func (*FunctionDef) GetResourceArgUniqueId

func (m *FunctionDef) GetResourceArgUniqueId() map[uint32]uint32

func (*FunctionDef) GetRet

func (m *FunctionDef) GetRet() map[string]string

func (*FunctionDef) GetSignature

func (m *FunctionDef) GetSignature() *OpDef

func (*FunctionDef) Marshal

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

func (*FunctionDef) MarshalTo

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

func (*FunctionDef) MarshalToSizedBuffer

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

func (*FunctionDef) ProtoMessage

func (*FunctionDef) ProtoMessage()

func (*FunctionDef) Reset

func (m *FunctionDef) Reset()

func (*FunctionDef) Size

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

func (*FunctionDef) String

func (m *FunctionDef) String() string

func (*FunctionDef) Unmarshal

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

func (*FunctionDef) XXX_DiscardUnknown

func (m *FunctionDef) XXX_DiscardUnknown()

func (*FunctionDef) XXX_Marshal

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

func (*FunctionDef) XXX_Merge

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

func (*FunctionDef) XXX_Size

func (m *FunctionDef) XXX_Size() int

func (*FunctionDef) XXX_Unmarshal

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

type FunctionDefLibrary

type FunctionDefLibrary struct {
	Function []*FunctionDef `protobuf:"bytes,1,rep,name=function,proto3" json:"function,omitempty"`
	Gradient []*GradientDef `protobuf:"bytes,2,rep,name=gradient,proto3" json:"gradient,omitempty"`
}

A library is a set of named functions.

func (*FunctionDefLibrary) Descriptor

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

func (*FunctionDefLibrary) GetFunction

func (m *FunctionDefLibrary) GetFunction() []*FunctionDef

func (*FunctionDefLibrary) GetGradient

func (m *FunctionDefLibrary) GetGradient() []*GradientDef

func (*FunctionDefLibrary) Marshal

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

func (*FunctionDefLibrary) MarshalTo

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

func (*FunctionDefLibrary) MarshalToSizedBuffer

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

func (*FunctionDefLibrary) ProtoMessage

func (*FunctionDefLibrary) ProtoMessage()

func (*FunctionDefLibrary) Reset

func (m *FunctionDefLibrary) Reset()

func (*FunctionDefLibrary) Size

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

func (*FunctionDefLibrary) String

func (m *FunctionDefLibrary) String() string

func (*FunctionDefLibrary) Unmarshal

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

func (*FunctionDefLibrary) XXX_DiscardUnknown

func (m *FunctionDefLibrary) XXX_DiscardUnknown()

func (*FunctionDefLibrary) XXX_Marshal

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

func (*FunctionDefLibrary) XXX_Merge

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

func (*FunctionDefLibrary) XXX_Size

func (m *FunctionDefLibrary) XXX_Size() int

func (*FunctionDefLibrary) XXX_Unmarshal

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

type FunctionDef_ArgAttrs

type FunctionDef_ArgAttrs struct {
	Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */
}

Attributes for function arguments. These attributes are the same set of valid attributes as to _Arg nodes.

func (*FunctionDef_ArgAttrs) Descriptor

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

func (*FunctionDef_ArgAttrs) GetAttr

func (m *FunctionDef_ArgAttrs) GetAttr() map[string]*AttrValue

func (*FunctionDef_ArgAttrs) Marshal

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

func (*FunctionDef_ArgAttrs) MarshalTo

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

func (*FunctionDef_ArgAttrs) MarshalToSizedBuffer

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

func (*FunctionDef_ArgAttrs) ProtoMessage

func (*FunctionDef_ArgAttrs) ProtoMessage()

func (*FunctionDef_ArgAttrs) Reset

func (m *FunctionDef_ArgAttrs) Reset()

func (*FunctionDef_ArgAttrs) Size

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

func (*FunctionDef_ArgAttrs) String

func (m *FunctionDef_ArgAttrs) String() string

func (*FunctionDef_ArgAttrs) Unmarshal

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

func (*FunctionDef_ArgAttrs) XXX_DiscardUnknown

func (m *FunctionDef_ArgAttrs) XXX_DiscardUnknown()

func (*FunctionDef_ArgAttrs) XXX_Marshal

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

func (*FunctionDef_ArgAttrs) XXX_Merge

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

func (*FunctionDef_ArgAttrs) XXX_Size

func (m *FunctionDef_ArgAttrs) XXX_Size() int

func (*FunctionDef_ArgAttrs) XXX_Unmarshal

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

type GradientDef

type GradientDef struct {
	FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	GradientFunc string `protobuf:"bytes,2,opt,name=gradient_func,json=gradientFunc,proto3" json:"gradient_func,omitempty"`
}

GradientDef defines the gradient function of a function defined in a function library.

A gradient function g (specified by gradient_func) for a function f (specified by function_name) must follow the following:

The function 'f' must be a numerical function which takes N inputs and produces M outputs. Its gradient function 'g', which is a function taking N + M inputs and produces N outputs.

I.e. if we have

(y1, y2, ..., y_M) = f(x1, x2, ..., x_N),

then, g is

(dL/dx1, dL/dx2, ..., dL/dx_N) = g(x1, x2, ..., x_N,
                                  dL/dy1, dL/dy2, ..., dL/dy_M),

where L is a scalar-value function of (x1, x2, ..., xN) (e.g., the loss function). dL/dx_i is the partial derivative of L with respect to x_i.

func (*GradientDef) Descriptor

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

func (*GradientDef) GetFunctionName

func (m *GradientDef) GetFunctionName() string

func (*GradientDef) GetGradientFunc

func (m *GradientDef) GetGradientFunc() string

func (*GradientDef) Marshal

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

func (*GradientDef) MarshalTo

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

func (*GradientDef) MarshalToSizedBuffer

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

func (*GradientDef) ProtoMessage

func (*GradientDef) ProtoMessage()

func (*GradientDef) Reset

func (m *GradientDef) Reset()

func (*GradientDef) Size

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

func (*GradientDef) String

func (m *GradientDef) String() string

func (*GradientDef) Unmarshal

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

func (*GradientDef) XXX_DiscardUnknown

func (m *GradientDef) XXX_DiscardUnknown()

func (*GradientDef) XXX_Marshal

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

func (*GradientDef) XXX_Merge

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

func (*GradientDef) XXX_Size

func (m *GradientDef) XXX_Size() int

func (*GradientDef) XXX_Unmarshal

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

type GraphDef

type GraphDef struct {
	Node []*NodeDef `protobuf:"bytes,1,rep,name=node,proto3" json:"node,omitempty"`
	// Compatibility versions of the graph.  See core/public/version.h for version
	// history.  The GraphDef version is distinct from the TensorFlow version, and
	// each release of TensorFlow will support a range of GraphDef versions.
	Versions *VersionDef `protobuf:"bytes,4,opt,name=versions,proto3" json:"versions,omitempty"`
	// Deprecated single version field; use versions above instead.  Since all
	// GraphDef changes before "versions" was introduced were forward
	// compatible, this field is entirely ignored.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // Deprecated: Do not use.
	// EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
	//
	// "library" provides user-defined functions.
	//
	// Naming:
	//   * library.function.name are in a flat namespace.
	//     NOTE: We may need to change it to be hierarchical to support
	//     different orgs. E.g.,
	//     { "/google/nn", { ... }},
	//     { "/google/vision", { ... }}
	//     { "/org_foo/module_bar", { ... }}
	//     map<string, FunctionDefLib> named_lib;
	//   * If node[i].op is the name of one function in "library",
	//     node[i] is deemed as a function call. Otherwise, node[i].op
	//     must be a primitive operation supported by the runtime.
	//
	//
	// Function call semantics:
	//
	//   * The callee may start execution as soon as some of its inputs
	//     are ready. The caller may want to use Tuple() mechanism to
	//     ensure all inputs are ready in the same time.
	//
	//   * The consumer of return values may start executing as soon as
	//     the return values the consumer depends on are ready.  The
	//     consumer may want to use Tuple() mechanism to ensure the
	//     consumer does not start until all return values of the callee
	//     function are ready.
	Library *FunctionDefLibrary `protobuf:"bytes,2,opt,name=library,proto3" json:"library,omitempty"`
}

Represents the graph of operations

func (*GraphDef) Descriptor

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

func (*GraphDef) GetLibrary

func (m *GraphDef) GetLibrary() *FunctionDefLibrary

func (*GraphDef) GetNode

func (m *GraphDef) GetNode() []*NodeDef

func (*GraphDef) GetVersion deprecated

func (m *GraphDef) GetVersion() int32

Deprecated: Do not use.

func (*GraphDef) GetVersions

func (m *GraphDef) GetVersions() *VersionDef

func (*GraphDef) Marshal

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

func (*GraphDef) MarshalTo

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

func (*GraphDef) MarshalToSizedBuffer

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

func (*GraphDef) ProtoMessage

func (*GraphDef) ProtoMessage()

func (*GraphDef) Reset

func (m *GraphDef) Reset()

func (*GraphDef) Size

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

func (*GraphDef) String

func (m *GraphDef) String() string

func (*GraphDef) Unmarshal

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

func (*GraphDef) XXX_DiscardUnknown

func (m *GraphDef) XXX_DiscardUnknown()

func (*GraphDef) XXX_Marshal

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

func (*GraphDef) XXX_Merge

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

func (*GraphDef) XXX_Size

func (m *GraphDef) XXX_Size() int

func (*GraphDef) XXX_Unmarshal

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

type GraphTransferConstNodeInfo

type GraphTransferConstNodeInfo struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NodeId int32    `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Shape  []int64  `protobuf:"varint,3,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Data   []byte   `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	Dtype  DataType `protobuf:"varint,5,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

func (*GraphTransferConstNodeInfo) Descriptor

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

func (*GraphTransferConstNodeInfo) GetData

func (m *GraphTransferConstNodeInfo) GetData() []byte

func (*GraphTransferConstNodeInfo) GetDtype

func (m *GraphTransferConstNodeInfo) GetDtype() DataType

func (*GraphTransferConstNodeInfo) GetName

func (m *GraphTransferConstNodeInfo) GetName() string

func (*GraphTransferConstNodeInfo) GetNodeId

func (m *GraphTransferConstNodeInfo) GetNodeId() int32

func (*GraphTransferConstNodeInfo) GetShape

func (m *GraphTransferConstNodeInfo) GetShape() []int64

func (*GraphTransferConstNodeInfo) Marshal

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

func (*GraphTransferConstNodeInfo) MarshalTo

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

func (*GraphTransferConstNodeInfo) MarshalToSizedBuffer

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

func (*GraphTransferConstNodeInfo) ProtoMessage

func (*GraphTransferConstNodeInfo) ProtoMessage()

func (*GraphTransferConstNodeInfo) Reset

func (m *GraphTransferConstNodeInfo) Reset()

func (*GraphTransferConstNodeInfo) Size

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

func (*GraphTransferConstNodeInfo) String

func (m *GraphTransferConstNodeInfo) String() string

func (*GraphTransferConstNodeInfo) Unmarshal

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

func (*GraphTransferConstNodeInfo) XXX_DiscardUnknown

func (m *GraphTransferConstNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferConstNodeInfo) XXX_Marshal

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

func (*GraphTransferConstNodeInfo) XXX_Merge

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

func (*GraphTransferConstNodeInfo) XXX_Size

func (m *GraphTransferConstNodeInfo) XXX_Size() int

func (*GraphTransferConstNodeInfo) XXX_Unmarshal

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

type GraphTransferGraphInputNodeInfo

type GraphTransferGraphInputNodeInfo struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Shape []int64  `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Dtype DataType `protobuf:"varint,3,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

func (*GraphTransferGraphInputNodeInfo) Descriptor

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

func (*GraphTransferGraphInputNodeInfo) GetDtype

func (*GraphTransferGraphInputNodeInfo) GetName

func (*GraphTransferGraphInputNodeInfo) GetShape

func (m *GraphTransferGraphInputNodeInfo) GetShape() []int64

func (*GraphTransferGraphInputNodeInfo) Marshal

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

func (*GraphTransferGraphInputNodeInfo) MarshalTo

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

func (*GraphTransferGraphInputNodeInfo) MarshalToSizedBuffer

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

func (*GraphTransferGraphInputNodeInfo) ProtoMessage

func (*GraphTransferGraphInputNodeInfo) ProtoMessage()

func (*GraphTransferGraphInputNodeInfo) Reset

func (*GraphTransferGraphInputNodeInfo) Size

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

func (*GraphTransferGraphInputNodeInfo) String

func (*GraphTransferGraphInputNodeInfo) Unmarshal

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

func (*GraphTransferGraphInputNodeInfo) XXX_DiscardUnknown

func (m *GraphTransferGraphInputNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferGraphInputNodeInfo) XXX_Marshal

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

func (*GraphTransferGraphInputNodeInfo) XXX_Merge

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

func (*GraphTransferGraphInputNodeInfo) XXX_Size

func (m *GraphTransferGraphInputNodeInfo) XXX_Size() int

func (*GraphTransferGraphInputNodeInfo) XXX_Unmarshal

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

type GraphTransferGraphOutputNodeInfo

type GraphTransferGraphOutputNodeInfo struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Shape []int64  `protobuf:"varint,2,rep,packed,name=shape,proto3" json:"shape,omitempty"`
	Dtype DataType `protobuf:"varint,3,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
}

func (*GraphTransferGraphOutputNodeInfo) Descriptor

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

func (*GraphTransferGraphOutputNodeInfo) GetDtype

func (*GraphTransferGraphOutputNodeInfo) GetName

func (*GraphTransferGraphOutputNodeInfo) GetShape

func (m *GraphTransferGraphOutputNodeInfo) GetShape() []int64

func (*GraphTransferGraphOutputNodeInfo) Marshal

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

func (*GraphTransferGraphOutputNodeInfo) MarshalTo

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

func (*GraphTransferGraphOutputNodeInfo) MarshalToSizedBuffer

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

func (*GraphTransferGraphOutputNodeInfo) ProtoMessage

func (*GraphTransferGraphOutputNodeInfo) ProtoMessage()

func (*GraphTransferGraphOutputNodeInfo) Reset

func (*GraphTransferGraphOutputNodeInfo) Size

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

func (*GraphTransferGraphOutputNodeInfo) String

func (*GraphTransferGraphOutputNodeInfo) Unmarshal

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

func (*GraphTransferGraphOutputNodeInfo) XXX_DiscardUnknown

func (m *GraphTransferGraphOutputNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferGraphOutputNodeInfo) XXX_Marshal

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

func (*GraphTransferGraphOutputNodeInfo) XXX_Merge

func (*GraphTransferGraphOutputNodeInfo) XXX_Size

func (m *GraphTransferGraphOutputNodeInfo) XXX_Size() int

func (*GraphTransferGraphOutputNodeInfo) XXX_Unmarshal

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

type GraphTransferInfo

type GraphTransferInfo struct {
	NodeInfo       []*GraphTransferNodeInfo       `protobuf:"bytes,1,rep,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"`
	ConstNodeInfo  []*GraphTransferConstNodeInfo  `protobuf:"bytes,2,rep,name=const_node_info,json=constNodeInfo,proto3" json:"const_node_info,omitempty"`
	NodeInputInfo  []*GraphTransferNodeInputInfo  `protobuf:"bytes,3,rep,name=node_input_info,json=nodeInputInfo,proto3" json:"node_input_info,omitempty"`
	NodeOutputInfo []*GraphTransferNodeOutputInfo `protobuf:"bytes,4,rep,name=node_output_info,json=nodeOutputInfo,proto3" json:"node_output_info,omitempty"`
	// Input Node parameters of transferred graph
	GraphInputNodeInfo  []*GraphTransferGraphInputNodeInfo  `protobuf:"bytes,5,rep,name=graph_input_node_info,json=graphInputNodeInfo,proto3" json:"graph_input_node_info,omitempty"`
	GraphOutputNodeInfo []*GraphTransferGraphOutputNodeInfo `protobuf:"bytes,6,rep,name=graph_output_node_info,json=graphOutputNodeInfo,proto3" json:"graph_output_node_info,omitempty"`
	// Destination of graph transfer
	Destination GraphTransferInfo_Destination `protobuf:"varint,7,opt,name=destination,proto3,enum=tensorflow.GraphTransferInfo_Destination" json:"destination,omitempty"`
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*GraphTransferInfo) Descriptor

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

func (*GraphTransferInfo) GetConstNodeInfo

func (m *GraphTransferInfo) GetConstNodeInfo() []*GraphTransferConstNodeInfo

func (*GraphTransferInfo) GetDestination

func (*GraphTransferInfo) GetGraphInputNodeInfo

func (m *GraphTransferInfo) GetGraphInputNodeInfo() []*GraphTransferGraphInputNodeInfo

func (*GraphTransferInfo) GetGraphOutputNodeInfo

func (m *GraphTransferInfo) GetGraphOutputNodeInfo() []*GraphTransferGraphOutputNodeInfo

func (*GraphTransferInfo) GetNodeInfo

func (m *GraphTransferInfo) GetNodeInfo() []*GraphTransferNodeInfo

func (*GraphTransferInfo) GetNodeInputInfo

func (m *GraphTransferInfo) GetNodeInputInfo() []*GraphTransferNodeInputInfo

func (*GraphTransferInfo) GetNodeOutputInfo

func (m *GraphTransferInfo) GetNodeOutputInfo() []*GraphTransferNodeOutputInfo

func (*GraphTransferInfo) Marshal

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

func (*GraphTransferInfo) MarshalTo

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

func (*GraphTransferInfo) MarshalToSizedBuffer

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

func (*GraphTransferInfo) ProtoMessage

func (*GraphTransferInfo) ProtoMessage()

func (*GraphTransferInfo) Reset

func (m *GraphTransferInfo) Reset()

func (*GraphTransferInfo) Size

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

func (*GraphTransferInfo) String

func (m *GraphTransferInfo) String() string

func (*GraphTransferInfo) Unmarshal

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

func (*GraphTransferInfo) XXX_DiscardUnknown

func (m *GraphTransferInfo) XXX_DiscardUnknown()

func (*GraphTransferInfo) XXX_Marshal

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

func (*GraphTransferInfo) XXX_Merge

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

func (*GraphTransferInfo) XXX_Size

func (m *GraphTransferInfo) XXX_Size() int

func (*GraphTransferInfo) XXX_Unmarshal

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

type GraphTransferInfo_Destination

type GraphTransferInfo_Destination int32
const (
	GraphTransferInfo_NOP     GraphTransferInfo_Destination = 0
	GraphTransferInfo_HEXAGON GraphTransferInfo_Destination = 1
)

func (GraphTransferInfo_Destination) EnumDescriptor

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

func (GraphTransferInfo_Destination) String

type GraphTransferNodeInfo

type GraphTransferNodeInfo struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NodeId      int32  `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	TypeName    string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	SocOpId     int32  `protobuf:"varint,4,opt,name=soc_op_id,json=socOpId,proto3" json:"soc_op_id,omitempty"`
	PaddingId   int32  `protobuf:"varint,5,opt,name=padding_id,json=paddingId,proto3" json:"padding_id,omitempty"`
	InputCount  int32  `protobuf:"varint,6,opt,name=input_count,json=inputCount,proto3" json:"input_count,omitempty"`
	OutputCount int32  `protobuf:"varint,7,opt,name=output_count,json=outputCount,proto3" json:"output_count,omitempty"`
}

func (*GraphTransferNodeInfo) Descriptor

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

func (*GraphTransferNodeInfo) GetInputCount

func (m *GraphTransferNodeInfo) GetInputCount() int32

func (*GraphTransferNodeInfo) GetName

func (m *GraphTransferNodeInfo) GetName() string

func (*GraphTransferNodeInfo) GetNodeId

func (m *GraphTransferNodeInfo) GetNodeId() int32

func (*GraphTransferNodeInfo) GetOutputCount

func (m *GraphTransferNodeInfo) GetOutputCount() int32

func (*GraphTransferNodeInfo) GetPaddingId

func (m *GraphTransferNodeInfo) GetPaddingId() int32

func (*GraphTransferNodeInfo) GetSocOpId

func (m *GraphTransferNodeInfo) GetSocOpId() int32

func (*GraphTransferNodeInfo) GetTypeName

func (m *GraphTransferNodeInfo) GetTypeName() string

func (*GraphTransferNodeInfo) Marshal

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

func (*GraphTransferNodeInfo) MarshalTo

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

func (*GraphTransferNodeInfo) MarshalToSizedBuffer

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

func (*GraphTransferNodeInfo) ProtoMessage

func (*GraphTransferNodeInfo) ProtoMessage()

func (*GraphTransferNodeInfo) Reset

func (m *GraphTransferNodeInfo) Reset()

func (*GraphTransferNodeInfo) Size

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

func (*GraphTransferNodeInfo) String

func (m *GraphTransferNodeInfo) String() string

func (*GraphTransferNodeInfo) Unmarshal

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

func (*GraphTransferNodeInfo) XXX_DiscardUnknown

func (m *GraphTransferNodeInfo) XXX_DiscardUnknown()

func (*GraphTransferNodeInfo) XXX_Marshal

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

func (*GraphTransferNodeInfo) XXX_Merge

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

func (*GraphTransferNodeInfo) XXX_Size

func (m *GraphTransferNodeInfo) XXX_Size() int

func (*GraphTransferNodeInfo) XXX_Unmarshal

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

type GraphTransferNodeInput

type GraphTransferNodeInput struct {
	NodeId     int32 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	OutputPort int32 `protobuf:"varint,2,opt,name=output_port,json=outputPort,proto3" json:"output_port,omitempty"`
}

func (*GraphTransferNodeInput) Descriptor

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

func (*GraphTransferNodeInput) GetNodeId

func (m *GraphTransferNodeInput) GetNodeId() int32

func (*GraphTransferNodeInput) GetOutputPort

func (m *GraphTransferNodeInput) GetOutputPort() int32

func (*GraphTransferNodeInput) Marshal

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

func (*GraphTransferNodeInput) MarshalTo

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

func (*GraphTransferNodeInput) MarshalToSizedBuffer

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

func (*GraphTransferNodeInput) ProtoMessage

func (*GraphTransferNodeInput) ProtoMessage()

func (*GraphTransferNodeInput) Reset

func (m *GraphTransferNodeInput) Reset()

func (*GraphTransferNodeInput) Size

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

func (*GraphTransferNodeInput) String

func (m *GraphTransferNodeInput) String() string

func (*GraphTransferNodeInput) Unmarshal

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

func (*GraphTransferNodeInput) XXX_DiscardUnknown

func (m *GraphTransferNodeInput) XXX_DiscardUnknown()

func (*GraphTransferNodeInput) XXX_Marshal

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

func (*GraphTransferNodeInput) XXX_Merge

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

func (*GraphTransferNodeInput) XXX_Size

func (m *GraphTransferNodeInput) XXX_Size() int

func (*GraphTransferNodeInput) XXX_Unmarshal

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

type GraphTransferNodeInputInfo

type GraphTransferNodeInputInfo struct {
	NodeId    int32                     `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeInput []*GraphTransferNodeInput `protobuf:"bytes,2,rep,name=node_input,json=nodeInput,proto3" json:"node_input,omitempty"`
}

func (*GraphTransferNodeInputInfo) Descriptor

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

func (*GraphTransferNodeInputInfo) GetNodeId

func (m *GraphTransferNodeInputInfo) GetNodeId() int32

func (*GraphTransferNodeInputInfo) GetNodeInput

func (*GraphTransferNodeInputInfo) Marshal

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

func (*GraphTransferNodeInputInfo) MarshalTo

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

func (*GraphTransferNodeInputInfo) MarshalToSizedBuffer

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

func (*GraphTransferNodeInputInfo) ProtoMessage

func (*GraphTransferNodeInputInfo) ProtoMessage()

func (*GraphTransferNodeInputInfo) Reset

func (m *GraphTransferNodeInputInfo) Reset()

func (*GraphTransferNodeInputInfo) Size

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

func (*GraphTransferNodeInputInfo) String

func (m *GraphTransferNodeInputInfo) String() string

func (*GraphTransferNodeInputInfo) Unmarshal

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

func (*GraphTransferNodeInputInfo) XXX_DiscardUnknown

func (m *GraphTransferNodeInputInfo) XXX_DiscardUnknown()

func (*GraphTransferNodeInputInfo) XXX_Marshal

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

func (*GraphTransferNodeInputInfo) XXX_Merge

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

func (*GraphTransferNodeInputInfo) XXX_Size

func (m *GraphTransferNodeInputInfo) XXX_Size() int

func (*GraphTransferNodeInputInfo) XXX_Unmarshal

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

type GraphTransferNodeOutputInfo

type GraphTransferNodeOutputInfo struct {
	NodeId      int32   `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	MaxByteSize []int32 `protobuf:"varint,2,rep,packed,name=max_byte_size,json=maxByteSize,proto3" json:"max_byte_size,omitempty"`
}

func (*GraphTransferNodeOutputInfo) Descriptor

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

func (*GraphTransferNodeOutputInfo) GetMaxByteSize

func (m *GraphTransferNodeOutputInfo) GetMaxByteSize() []int32

func (*GraphTransferNodeOutputInfo) GetNodeId

func (m *GraphTransferNodeOutputInfo) GetNodeId() int32

func (*GraphTransferNodeOutputInfo) Marshal

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

func (*GraphTransferNodeOutputInfo) MarshalTo

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

func (*GraphTransferNodeOutputInfo) MarshalToSizedBuffer

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

func (*GraphTransferNodeOutputInfo) ProtoMessage

func (*GraphTransferNodeOutputInfo) ProtoMessage()

func (*GraphTransferNodeOutputInfo) Reset

func (m *GraphTransferNodeOutputInfo) Reset()

func (*GraphTransferNodeOutputInfo) Size

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

func (*GraphTransferNodeOutputInfo) String

func (m *GraphTransferNodeOutputInfo) String() string

func (*GraphTransferNodeOutputInfo) Unmarshal

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

func (*GraphTransferNodeOutputInfo) XXX_DiscardUnknown

func (m *GraphTransferNodeOutputInfo) XXX_DiscardUnknown()

func (*GraphTransferNodeOutputInfo) XXX_Marshal

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

func (*GraphTransferNodeOutputInfo) XXX_Merge

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

func (*GraphTransferNodeOutputInfo) XXX_Size

func (m *GraphTransferNodeOutputInfo) XXX_Size() int

func (*GraphTransferNodeOutputInfo) XXX_Unmarshal

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

type HistogramProto

type HistogramProto struct {
	Min        float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
	Max        float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	Num        float64 `protobuf:"fixed64,3,opt,name=num,proto3" json:"num,omitempty"`
	Sum        float64 `protobuf:"fixed64,4,opt,name=sum,proto3" json:"sum,omitempty"`
	SumSquares float64 `protobuf:"fixed64,5,opt,name=sum_squares,json=sumSquares,proto3" json:"sum_squares,omitempty"`
	// Parallel arrays encoding the bucket boundaries and the bucket values.
	// bucket(i) is the count for the bucket i.  The range for
	// a bucket is:
	//   i == 0:  -DBL_MAX .. bucket_limit(0)
	//   i != 0:  bucket_limit(i-1) .. bucket_limit(i)
	BucketLimit []float64 `protobuf:"fixed64,6,rep,packed,name=bucket_limit,json=bucketLimit,proto3" json:"bucket_limit,omitempty"`
	Bucket      []float64 `protobuf:"fixed64,7,rep,packed,name=bucket,proto3" json:"bucket,omitempty"`
}

Serialization format for histogram module in core/lib/histogram/histogram.h

func (*HistogramProto) Descriptor

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

func (*HistogramProto) GetBucket

func (m *HistogramProto) GetBucket() []float64

func (*HistogramProto) GetBucketLimit

func (m *HistogramProto) GetBucketLimit() []float64

func (*HistogramProto) GetMax

func (m *HistogramProto) GetMax() float64

func (*HistogramProto) GetMin

func (m *HistogramProto) GetMin() float64

func (*HistogramProto) GetNum

func (m *HistogramProto) GetNum() float64

func (*HistogramProto) GetSum

func (m *HistogramProto) GetSum() float64

func (*HistogramProto) GetSumSquares

func (m *HistogramProto) GetSumSquares() float64

func (*HistogramProto) Marshal

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

func (*HistogramProto) MarshalTo

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

func (*HistogramProto) MarshalToSizedBuffer

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

func (*HistogramProto) ProtoMessage

func (*HistogramProto) ProtoMessage()

func (*HistogramProto) Reset

func (m *HistogramProto) Reset()

func (*HistogramProto) Size

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

func (*HistogramProto) String

func (m *HistogramProto) String() string

func (*HistogramProto) Unmarshal

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

func (*HistogramProto) XXX_DiscardUnknown

func (m *HistogramProto) XXX_DiscardUnknown()

func (*HistogramProto) XXX_Marshal

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

func (*HistogramProto) XXX_Merge

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

func (*HistogramProto) XXX_Size

func (m *HistogramProto) XXX_Size() int

func (*HistogramProto) XXX_Unmarshal

func (m *HistogramProto) XXX_Unmarshal(b []byte) error
type InterconnectLink struct {
	DeviceId int32  `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Type     string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Strength int32  `protobuf:"varint,3,opt,name=strength,proto3" json:"strength,omitempty"`
}

func (*InterconnectLink) Descriptor

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

func (*InterconnectLink) GetDeviceId

func (m *InterconnectLink) GetDeviceId() int32

func (*InterconnectLink) GetStrength

func (m *InterconnectLink) GetStrength() int32

func (*InterconnectLink) GetType

func (m *InterconnectLink) GetType() string

func (*InterconnectLink) Marshal

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

func (*InterconnectLink) MarshalTo

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

func (*InterconnectLink) MarshalToSizedBuffer

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

func (*InterconnectLink) ProtoMessage

func (*InterconnectLink) ProtoMessage()

func (*InterconnectLink) Reset

func (m *InterconnectLink) Reset()

func (*InterconnectLink) Size

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

func (*InterconnectLink) String

func (m *InterconnectLink) String() string

func (*InterconnectLink) Unmarshal

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

func (*InterconnectLink) XXX_DiscardUnknown

func (m *InterconnectLink) XXX_DiscardUnknown()

func (*InterconnectLink) XXX_Marshal

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

func (*InterconnectLink) XXX_Merge

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

func (*InterconnectLink) XXX_Size

func (m *InterconnectLink) XXX_Size() int

func (*InterconnectLink) XXX_Unmarshal

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

type KernelDef

type KernelDef struct {
	// Must match the name of an Op.
	Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"`
	// Type of device this kernel runs on.
	DeviceType string                      `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	Constraint []*KernelDef_AttrConstraint `protobuf:"bytes,3,rep,name=constraint,proto3" json:"constraint,omitempty"`
	// Names of the Op's input_/output_args that reside in host memory
	// instead of device memory.
	HostMemoryArg []string `protobuf:"bytes,4,rep,name=host_memory_arg,json=hostMemoryArg,proto3" json:"host_memory_arg,omitempty"`
	// This allows experimental kernels to be registered for an op that
	// won't be used unless the user specifies a "_kernel" attr with
	// value matching this.
	Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	// Prioritization of kernel amongst different devices. By default we assume
	// priority is 0. The higher the priority the better. By default (i.e. if
	// this is not set), we prefer GPU kernels over CPU.
	Priority int32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
}

func (*KernelDef) Descriptor

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

func (*KernelDef) GetConstraint

func (m *KernelDef) GetConstraint() []*KernelDef_AttrConstraint

func (*KernelDef) GetDeviceType

func (m *KernelDef) GetDeviceType() string

func (*KernelDef) GetHostMemoryArg

func (m *KernelDef) GetHostMemoryArg() []string

func (*KernelDef) GetLabel

func (m *KernelDef) GetLabel() string

func (*KernelDef) GetOp

func (m *KernelDef) GetOp() string

func (*KernelDef) GetPriority

func (m *KernelDef) GetPriority() int32

func (*KernelDef) Marshal

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

func (*KernelDef) MarshalTo

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

func (*KernelDef) MarshalToSizedBuffer

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

func (*KernelDef) ProtoMessage

func (*KernelDef) ProtoMessage()

func (*KernelDef) Reset

func (m *KernelDef) Reset()

func (*KernelDef) Size

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

func (*KernelDef) String

func (m *KernelDef) String() string

func (*KernelDef) Unmarshal

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

func (*KernelDef) XXX_DiscardUnknown

func (m *KernelDef) XXX_DiscardUnknown()

func (*KernelDef) XXX_Marshal

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

func (*KernelDef) XXX_Merge

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

func (*KernelDef) XXX_Size

func (m *KernelDef) XXX_Size() int

func (*KernelDef) XXX_Unmarshal

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

type KernelDef_AttrConstraint

type KernelDef_AttrConstraint struct {
	// Name of an attr from the Op.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A list of values that this kernel supports for this attr.
	// Like OpDef.AttrDef.allowed_values, except for kernels instead of Ops.
	AllowedValues *AttrValue `protobuf:"bytes,2,opt,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
}

func (*KernelDef_AttrConstraint) Descriptor

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

func (*KernelDef_AttrConstraint) GetAllowedValues

func (m *KernelDef_AttrConstraint) GetAllowedValues() *AttrValue

func (*KernelDef_AttrConstraint) GetName

func (m *KernelDef_AttrConstraint) GetName() string

func (*KernelDef_AttrConstraint) Marshal

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

func (*KernelDef_AttrConstraint) MarshalTo

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

func (*KernelDef_AttrConstraint) MarshalToSizedBuffer

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

func (*KernelDef_AttrConstraint) ProtoMessage

func (*KernelDef_AttrConstraint) ProtoMessage()

func (*KernelDef_AttrConstraint) Reset

func (m *KernelDef_AttrConstraint) Reset()

func (*KernelDef_AttrConstraint) Size

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

func (*KernelDef_AttrConstraint) String

func (m *KernelDef_AttrConstraint) String() string

func (*KernelDef_AttrConstraint) Unmarshal

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

func (*KernelDef_AttrConstraint) XXX_DiscardUnknown

func (m *KernelDef_AttrConstraint) XXX_DiscardUnknown()

func (*KernelDef_AttrConstraint) XXX_Marshal

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

func (*KernelDef_AttrConstraint) XXX_Merge

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

func (*KernelDef_AttrConstraint) XXX_Size

func (m *KernelDef_AttrConstraint) XXX_Size() int

func (*KernelDef_AttrConstraint) XXX_Unmarshal

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

type KernelList

type KernelList struct {
	Kernel []*KernelDef `protobuf:"bytes,1,rep,name=kernel,proto3" json:"kernel,omitempty"`
}

A collection of KernelDefs

func (*KernelList) Descriptor

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

func (*KernelList) GetKernel

func (m *KernelList) GetKernel() []*KernelDef

func (*KernelList) Marshal

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

func (*KernelList) MarshalTo

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

func (*KernelList) MarshalToSizedBuffer

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

func (*KernelList) ProtoMessage

func (*KernelList) ProtoMessage()

func (*KernelList) Reset

func (m *KernelList) Reset()

func (*KernelList) Size

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

func (*KernelList) String

func (m *KernelList) String() string

func (*KernelList) Unmarshal

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

func (*KernelList) XXX_DiscardUnknown

func (m *KernelList) XXX_DiscardUnknown()

func (*KernelList) XXX_Marshal

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

func (*KernelList) XXX_Merge

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

func (*KernelList) XXX_Size

func (m *KernelList) XXX_Size() int

func (*KernelList) XXX_Unmarshal

func (m *KernelList) XXX_Unmarshal(b []byte) error
type LocalLinks struct {
	Link []*InterconnectLink `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
}

func (*LocalLinks) Descriptor

func (*LocalLinks) Descriptor() ([]byte, []int)
func (m *LocalLinks) GetLink() []*InterconnectLink

func (*LocalLinks) Marshal

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

func (*LocalLinks) MarshalTo

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

func (*LocalLinks) MarshalToSizedBuffer

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

func (*LocalLinks) ProtoMessage

func (*LocalLinks) ProtoMessage()

func (*LocalLinks) Reset

func (m *LocalLinks) Reset()

func (*LocalLinks) Size

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

func (*LocalLinks) String

func (m *LocalLinks) String() string

func (*LocalLinks) Unmarshal

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

func (*LocalLinks) XXX_DiscardUnknown

func (m *LocalLinks) XXX_DiscardUnknown()

func (*LocalLinks) XXX_Marshal

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

func (*LocalLinks) XXX_Merge

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

func (*LocalLinks) XXX_Size

func (m *LocalLinks) XXX_Size() int

func (*LocalLinks) XXX_Unmarshal

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

type MemoryLogRawAllocation

type MemoryLogRawAllocation struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the operation making the allocation.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// Number of bytes in the allocation.
	NumBytes int64 `protobuf:"varint,3,opt,name=num_bytes,json=numBytes,proto3" json:"num_bytes,omitempty"`
	// Address of the allocation.
	Ptr uint64 `protobuf:"varint,4,opt,name=ptr,proto3" json:"ptr,omitempty"`
	// Id of the tensor buffer being allocated, used to match to a
	// corresponding deallocation.
	AllocationId int64 `protobuf:"varint,5,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,6,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
}

func (*MemoryLogRawAllocation) Descriptor

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

func (*MemoryLogRawAllocation) GetAllocationId

func (m *MemoryLogRawAllocation) GetAllocationId() int64

func (*MemoryLogRawAllocation) GetAllocatorName

func (m *MemoryLogRawAllocation) GetAllocatorName() string

func (*MemoryLogRawAllocation) GetNumBytes

func (m *MemoryLogRawAllocation) GetNumBytes() int64

func (*MemoryLogRawAllocation) GetOperation

func (m *MemoryLogRawAllocation) GetOperation() string

func (*MemoryLogRawAllocation) GetPtr

func (m *MemoryLogRawAllocation) GetPtr() uint64

func (*MemoryLogRawAllocation) GetStepId

func (m *MemoryLogRawAllocation) GetStepId() int64

func (*MemoryLogRawAllocation) Marshal

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

func (*MemoryLogRawAllocation) MarshalTo

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

func (*MemoryLogRawAllocation) MarshalToSizedBuffer

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

func (*MemoryLogRawAllocation) ProtoMessage

func (*MemoryLogRawAllocation) ProtoMessage()

func (*MemoryLogRawAllocation) Reset

func (m *MemoryLogRawAllocation) Reset()

func (*MemoryLogRawAllocation) Size

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

func (*MemoryLogRawAllocation) String

func (m *MemoryLogRawAllocation) String() string

func (*MemoryLogRawAllocation) Unmarshal

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

func (*MemoryLogRawAllocation) XXX_DiscardUnknown

func (m *MemoryLogRawAllocation) XXX_DiscardUnknown()

func (*MemoryLogRawAllocation) XXX_Marshal

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

func (*MemoryLogRawAllocation) XXX_Merge

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

func (*MemoryLogRawAllocation) XXX_Size

func (m *MemoryLogRawAllocation) XXX_Size() int

func (*MemoryLogRawAllocation) XXX_Unmarshal

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

type MemoryLogRawDeallocation

type MemoryLogRawDeallocation struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the operation making the deallocation.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// Id of the tensor buffer being deallocated, used to match to a
	// corresponding allocation.
	AllocationId int64 `protobuf:"varint,3,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,4,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// True if the deallocation is queued and will be performed later,
	// e.g. for GPU lazy freeing of buffers.
	Deferred bool `protobuf:"varint,5,opt,name=deferred,proto3" json:"deferred,omitempty"`
}

func (*MemoryLogRawDeallocation) Descriptor

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

func (*MemoryLogRawDeallocation) GetAllocationId

func (m *MemoryLogRawDeallocation) GetAllocationId() int64

func (*MemoryLogRawDeallocation) GetAllocatorName

func (m *MemoryLogRawDeallocation) GetAllocatorName() string

func (*MemoryLogRawDeallocation) GetDeferred

func (m *MemoryLogRawDeallocation) GetDeferred() bool

func (*MemoryLogRawDeallocation) GetOperation

func (m *MemoryLogRawDeallocation) GetOperation() string

func (*MemoryLogRawDeallocation) GetStepId

func (m *MemoryLogRawDeallocation) GetStepId() int64

func (*MemoryLogRawDeallocation) Marshal

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

func (*MemoryLogRawDeallocation) MarshalTo

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

func (*MemoryLogRawDeallocation) MarshalToSizedBuffer

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

func (*MemoryLogRawDeallocation) ProtoMessage

func (*MemoryLogRawDeallocation) ProtoMessage()

func (*MemoryLogRawDeallocation) Reset

func (m *MemoryLogRawDeallocation) Reset()

func (*MemoryLogRawDeallocation) Size

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

func (*MemoryLogRawDeallocation) String

func (m *MemoryLogRawDeallocation) String() string

func (*MemoryLogRawDeallocation) Unmarshal

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

func (*MemoryLogRawDeallocation) XXX_DiscardUnknown

func (m *MemoryLogRawDeallocation) XXX_DiscardUnknown()

func (*MemoryLogRawDeallocation) XXX_Marshal

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

func (*MemoryLogRawDeallocation) XXX_Merge

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

func (*MemoryLogRawDeallocation) XXX_Size

func (m *MemoryLogRawDeallocation) XXX_Size() int

func (*MemoryLogRawDeallocation) XXX_Unmarshal

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

type MemoryLogStep

type MemoryLogStep struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Handle describing the feeds and fetches of the step.
	Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
}

func (*MemoryLogStep) Descriptor

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

func (*MemoryLogStep) GetHandle

func (m *MemoryLogStep) GetHandle() string

func (*MemoryLogStep) GetStepId

func (m *MemoryLogStep) GetStepId() int64

func (*MemoryLogStep) Marshal

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

func (*MemoryLogStep) MarshalTo

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

func (*MemoryLogStep) MarshalToSizedBuffer

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

func (*MemoryLogStep) ProtoMessage

func (*MemoryLogStep) ProtoMessage()

func (*MemoryLogStep) Reset

func (m *MemoryLogStep) Reset()

func (*MemoryLogStep) Size

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

func (*MemoryLogStep) String

func (m *MemoryLogStep) String() string

func (*MemoryLogStep) Unmarshal

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

func (*MemoryLogStep) XXX_DiscardUnknown

func (m *MemoryLogStep) XXX_DiscardUnknown()

func (*MemoryLogStep) XXX_Marshal

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

func (*MemoryLogStep) XXX_Merge

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

func (*MemoryLogStep) XXX_Size

func (m *MemoryLogStep) XXX_Size() int

func (*MemoryLogStep) XXX_Unmarshal

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

type MemoryLogTensorAllocation

type MemoryLogTensorAllocation struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the kernel making the allocation as set in GraphDef,
	// e.g., "affine2/weights/Assign".
	KernelName string `protobuf:"bytes,2,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Allocated tensor details.
	Tensor *TensorDescription `protobuf:"bytes,3,opt,name=tensor,proto3" json:"tensor,omitempty"`
}

func (*MemoryLogTensorAllocation) Descriptor

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

func (*MemoryLogTensorAllocation) GetKernelName

func (m *MemoryLogTensorAllocation) GetKernelName() string

func (*MemoryLogTensorAllocation) GetStepId

func (m *MemoryLogTensorAllocation) GetStepId() int64

func (*MemoryLogTensorAllocation) GetTensor

func (*MemoryLogTensorAllocation) Marshal

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

func (*MemoryLogTensorAllocation) MarshalTo

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

func (*MemoryLogTensorAllocation) MarshalToSizedBuffer

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

func (*MemoryLogTensorAllocation) ProtoMessage

func (*MemoryLogTensorAllocation) ProtoMessage()

func (*MemoryLogTensorAllocation) Reset

func (m *MemoryLogTensorAllocation) Reset()

func (*MemoryLogTensorAllocation) Size

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

func (*MemoryLogTensorAllocation) String

func (m *MemoryLogTensorAllocation) String() string

func (*MemoryLogTensorAllocation) Unmarshal

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

func (*MemoryLogTensorAllocation) XXX_DiscardUnknown

func (m *MemoryLogTensorAllocation) XXX_DiscardUnknown()

func (*MemoryLogTensorAllocation) XXX_Marshal

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

func (*MemoryLogTensorAllocation) XXX_Merge

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

func (*MemoryLogTensorAllocation) XXX_Size

func (m *MemoryLogTensorAllocation) XXX_Size() int

func (*MemoryLogTensorAllocation) XXX_Unmarshal

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

type MemoryLogTensorDeallocation

type MemoryLogTensorDeallocation struct {
	// Id of the tensor buffer being deallocated, used to match to a
	// corresponding allocation.
	AllocationId int64 `protobuf:"varint,1,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,2,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
}

func (*MemoryLogTensorDeallocation) Descriptor

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

func (*MemoryLogTensorDeallocation) GetAllocationId

func (m *MemoryLogTensorDeallocation) GetAllocationId() int64

func (*MemoryLogTensorDeallocation) GetAllocatorName

func (m *MemoryLogTensorDeallocation) GetAllocatorName() string

func (*MemoryLogTensorDeallocation) Marshal

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

func (*MemoryLogTensorDeallocation) MarshalTo

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

func (*MemoryLogTensorDeallocation) MarshalToSizedBuffer

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

func (*MemoryLogTensorDeallocation) ProtoMessage

func (*MemoryLogTensorDeallocation) ProtoMessage()

func (*MemoryLogTensorDeallocation) Reset

func (m *MemoryLogTensorDeallocation) Reset()

func (*MemoryLogTensorDeallocation) Size

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

func (*MemoryLogTensorDeallocation) String

func (m *MemoryLogTensorDeallocation) String() string

func (*MemoryLogTensorDeallocation) Unmarshal

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

func (*MemoryLogTensorDeallocation) XXX_DiscardUnknown

func (m *MemoryLogTensorDeallocation) XXX_DiscardUnknown()

func (*MemoryLogTensorDeallocation) XXX_Marshal

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

func (*MemoryLogTensorDeallocation) XXX_Merge

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

func (*MemoryLogTensorDeallocation) XXX_Size

func (m *MemoryLogTensorDeallocation) XXX_Size() int

func (*MemoryLogTensorDeallocation) XXX_Unmarshal

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

type MemoryLogTensorOutput

type MemoryLogTensorOutput struct {
	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the kernel producing an output as set in GraphDef, e.g.,
	// "affine2/weights/Assign".
	KernelName string `protobuf:"bytes,2,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Index of the output being set.
	Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// Output tensor details.
	Tensor *TensorDescription `protobuf:"bytes,4,opt,name=tensor,proto3" json:"tensor,omitempty"`
}

func (*MemoryLogTensorOutput) Descriptor

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

func (*MemoryLogTensorOutput) GetIndex

func (m *MemoryLogTensorOutput) GetIndex() int32

func (*MemoryLogTensorOutput) GetKernelName

func (m *MemoryLogTensorOutput) GetKernelName() string

func (*MemoryLogTensorOutput) GetStepId

func (m *MemoryLogTensorOutput) GetStepId() int64

func (*MemoryLogTensorOutput) GetTensor

func (m *MemoryLogTensorOutput) GetTensor() *TensorDescription

func (*MemoryLogTensorOutput) Marshal

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

func (*MemoryLogTensorOutput) MarshalTo

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

func (*MemoryLogTensorOutput) MarshalToSizedBuffer

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

func (*MemoryLogTensorOutput) ProtoMessage

func (*MemoryLogTensorOutput) ProtoMessage()

func (*MemoryLogTensorOutput) Reset

func (m *MemoryLogTensorOutput) Reset()

func (*MemoryLogTensorOutput) Size

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

func (*MemoryLogTensorOutput) String

func (m *MemoryLogTensorOutput) String() string

func (*MemoryLogTensorOutput) Unmarshal

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

func (*MemoryLogTensorOutput) XXX_DiscardUnknown

func (m *MemoryLogTensorOutput) XXX_DiscardUnknown()

func (*MemoryLogTensorOutput) XXX_Marshal

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

func (*MemoryLogTensorOutput) XXX_Merge

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

func (*MemoryLogTensorOutput) XXX_Size

func (m *MemoryLogTensorOutput) XXX_Size() int

func (*MemoryLogTensorOutput) XXX_Unmarshal

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

type MemoryStats

type MemoryStats struct {
	TempMemorySize           int64   `protobuf:"varint,1,opt,name=temp_memory_size,json=tempMemorySize,proto3" json:"temp_memory_size,omitempty"`
	PersistentMemorySize     int64   `protobuf:"varint,3,opt,name=persistent_memory_size,json=persistentMemorySize,proto3" json:"persistent_memory_size,omitempty"`
	PersistentTensorAllocIds []int64 `` /* 145-byte string literal not displayed */
	DeviceTempMemorySize     int64   `` // Deprecated: Do not use.
	/* 126-byte string literal not displayed */
	DevicePersistentMemorySize int64 `` // Deprecated: Do not use.
	/* 144-byte string literal not displayed */
	DevicePersistentTensorAllocIds []int64 `` // Deprecated: Do not use.
	/* 165-byte string literal not displayed */
}

For memory tracking.

func (*MemoryStats) Descriptor

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

func (*MemoryStats) GetDevicePersistentMemorySize deprecated

func (m *MemoryStats) GetDevicePersistentMemorySize() int64

Deprecated: Do not use.

func (*MemoryStats) GetDevicePersistentTensorAllocIds deprecated

func (m *MemoryStats) GetDevicePersistentTensorAllocIds() []int64

Deprecated: Do not use.

func (*MemoryStats) GetDeviceTempMemorySize deprecated

func (m *MemoryStats) GetDeviceTempMemorySize() int64

Deprecated: Do not use.

func (*MemoryStats) GetPersistentMemorySize

func (m *MemoryStats) GetPersistentMemorySize() int64

func (*MemoryStats) GetPersistentTensorAllocIds

func (m *MemoryStats) GetPersistentTensorAllocIds() []int64

func (*MemoryStats) GetTempMemorySize

func (m *MemoryStats) GetTempMemorySize() int64

func (*MemoryStats) Marshal

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

func (*MemoryStats) MarshalTo

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

func (*MemoryStats) MarshalToSizedBuffer

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

func (*MemoryStats) ProtoMessage

func (*MemoryStats) ProtoMessage()

func (*MemoryStats) Reset

func (m *MemoryStats) Reset()

func (*MemoryStats) Size

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

func (*MemoryStats) String

func (m *MemoryStats) String() string

func (*MemoryStats) Unmarshal

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

func (*MemoryStats) XXX_DiscardUnknown

func (m *MemoryStats) XXX_DiscardUnknown()

func (*MemoryStats) XXX_Marshal

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

func (*MemoryStats) XXX_Merge

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

func (*MemoryStats) XXX_Size

func (m *MemoryStats) XXX_Size() int

func (*MemoryStats) XXX_Unmarshal

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

type NameAttrList

type NameAttrList struct {
	Name string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */
}

A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].

func (*NameAttrList) Descriptor

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

func (*NameAttrList) GetAttr

func (m *NameAttrList) GetAttr() map[string]*AttrValue

func (*NameAttrList) GetName

func (m *NameAttrList) GetName() string

func (*NameAttrList) Marshal

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

func (*NameAttrList) MarshalTo

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

func (*NameAttrList) MarshalToSizedBuffer

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

func (*NameAttrList) ProtoMessage

func (*NameAttrList) ProtoMessage()

func (*NameAttrList) Reset

func (m *NameAttrList) Reset()

func (*NameAttrList) Size

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

func (*NameAttrList) String

func (m *NameAttrList) String() string

func (*NameAttrList) Unmarshal

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

func (*NameAttrList) XXX_DiscardUnknown

func (m *NameAttrList) XXX_DiscardUnknown()

func (*NameAttrList) XXX_Marshal

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

func (*NameAttrList) XXX_Merge

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

func (*NameAttrList) XXX_Size

func (m *NameAttrList) XXX_Size() int

func (*NameAttrList) XXX_Unmarshal

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

type NodeDef

type NodeDef struct {
	// The name given to this operator. Used for naming inputs,
	// logging, visualization, etc.  Unique within a single GraphDef.
	// Must match the regexp "[A-Za-z0-9.][A-Za-z0-9_>./]*".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The operation name.  There may be custom parameters in attrs.
	// Op names starting with an underscore are reserved for internal use.
	Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"`
	// Each input is "node:src_output" with "node" being a string name and
	// "src_output" indicating which output tensor to use from "node". If
	// "src_output" is 0 the ":0" suffix can be omitted.  Regular inputs
	// may optionally be followed by control inputs that have the format
	// "^node".
	Input []string `protobuf:"bytes,3,rep,name=input,proto3" json:"input,omitempty"`
	// A (possibly partial) specification for the device on which this
	// node should be placed.
	// The expected syntax for this string is as follows:
	//
	// DEVICE_SPEC ::= PARTIAL_SPEC
	//
	// PARTIAL_SPEC ::= ("/" CONSTRAINT) *
	// CONSTRAINT ::= ("job:" JOB_NAME)
	//              | ("replica:" [1-9][0-9]*)
	//              | ("task:" [1-9][0-9]*)
	//              | ("device:" [A-Za-z]* ":" ([1-9][0-9]* | "*") )
	//
	// Valid values for this string include:
	// * "/job:worker/replica:0/task:1/device:GPU:3"  (full specification)
	// * "/job:worker/device:GPU:3"                   (partial specification)
	// * ""                                    (no specification)
	//
	// If the constraints do not resolve to a single device (or if this
	// field is empty or not present), the runtime will attempt to
	// choose a device automatically.
	Device string `protobuf:"bytes,4,opt,name=device,proto3" json:"device,omitempty"`
	// Operation-specific graph-construction-time configuration.
	// Note that this should include all attrs defined in the
	// corresponding OpDef, including those with a value matching
	// the default -- this allows the default to change and makes
	// NodeDefs easier to interpret on their own.  However, if
	// an attr with a default is not specified in this list, the
	// default will be used.
	// The "names" (keys) must match the regexp "[a-z][a-z0-9_]+" (and
	// one of the names from the corresponding OpDef's attr field).
	// The values must have a type matching the corresponding OpDef
	// attr's type field.
	// TODO(josh11b): Add some examples here showing best practices.
	Attr map[string]*AttrValue `` /* 149-byte string literal not displayed */
	// This stores debug information associated with the node.
	ExperimentalDebugInfo *NodeDef_ExperimentalDebugInfo `` /* 126-byte string literal not displayed */
}

func (*NodeDef) Descriptor

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

func (*NodeDef) GetAttr

func (m *NodeDef) GetAttr() map[string]*AttrValue

func (*NodeDef) GetDevice

func (m *NodeDef) GetDevice() string

func (*NodeDef) GetExperimentalDebugInfo

func (m *NodeDef) GetExperimentalDebugInfo() *NodeDef_ExperimentalDebugInfo

func (*NodeDef) GetInput

func (m *NodeDef) GetInput() []string

func (*NodeDef) GetName

func (m *NodeDef) GetName() string

func (*NodeDef) GetOp

func (m *NodeDef) GetOp() string

func (*NodeDef) Marshal

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

func (*NodeDef) MarshalTo

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

func (*NodeDef) MarshalToSizedBuffer

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

func (*NodeDef) ProtoMessage

func (*NodeDef) ProtoMessage()

func (*NodeDef) Reset

func (m *NodeDef) Reset()

func (*NodeDef) Size

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

func (*NodeDef) String

func (m *NodeDef) String() string

func (*NodeDef) Unmarshal

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

func (*NodeDef) XXX_DiscardUnknown

func (m *NodeDef) XXX_DiscardUnknown()

func (*NodeDef) XXX_Marshal

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

func (*NodeDef) XXX_Merge

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

func (*NodeDef) XXX_Size

func (m *NodeDef) XXX_Size() int

func (*NodeDef) XXX_Unmarshal

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

type NodeDef_ExperimentalDebugInfo

type NodeDef_ExperimentalDebugInfo struct {
	// Opaque string inserted into error messages created by the runtime.
	//
	// This is intended to store the list of names of the nodes from the
	// original graph that this node was derived. For example if this node, say
	// C, was result of a fusion of 2 nodes A and B, then 'original_node' would
	// be {A, B}. This information can be used to map errors originating at the
	// current node to some top level source code.
	OriginalNodeNames []string `protobuf:"bytes,1,rep,name=original_node_names,json=originalNodeNames,proto3" json:"original_node_names,omitempty"`
	// This is intended to store the list of names of the functions from the
	// original graph that this node was derived. For example if this node, say
	// C, was result of a fusion of node A in function FA and node B in function
	// FB, then `original_funcs` would be {FA, FB}. If the node is in the top
	// level graph, the `original_func` is empty. This information, with the
	// `original_node_names` can be used to map errors originating at the
	// current ndoe to some top level source code.
	OriginalFuncNames []string `protobuf:"bytes,2,rep,name=original_func_names,json=originalFuncNames,proto3" json:"original_func_names,omitempty"`
}

func (*NodeDef_ExperimentalDebugInfo) Descriptor

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

func (*NodeDef_ExperimentalDebugInfo) GetOriginalFuncNames

func (m *NodeDef_ExperimentalDebugInfo) GetOriginalFuncNames() []string

func (*NodeDef_ExperimentalDebugInfo) GetOriginalNodeNames

func (m *NodeDef_ExperimentalDebugInfo) GetOriginalNodeNames() []string

func (*NodeDef_ExperimentalDebugInfo) Marshal

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

func (*NodeDef_ExperimentalDebugInfo) MarshalTo

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

func (*NodeDef_ExperimentalDebugInfo) MarshalToSizedBuffer

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

func (*NodeDef_ExperimentalDebugInfo) ProtoMessage

func (*NodeDef_ExperimentalDebugInfo) ProtoMessage()

func (*NodeDef_ExperimentalDebugInfo) Reset

func (m *NodeDef_ExperimentalDebugInfo) Reset()

func (*NodeDef_ExperimentalDebugInfo) Size

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

func (*NodeDef_ExperimentalDebugInfo) String

func (*NodeDef_ExperimentalDebugInfo) Unmarshal

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

func (*NodeDef_ExperimentalDebugInfo) XXX_DiscardUnknown

func (m *NodeDef_ExperimentalDebugInfo) XXX_DiscardUnknown()

func (*NodeDef_ExperimentalDebugInfo) XXX_Marshal

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

func (*NodeDef_ExperimentalDebugInfo) XXX_Merge

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

func (*NodeDef_ExperimentalDebugInfo) XXX_Size

func (m *NodeDef_ExperimentalDebugInfo) XXX_Size() int

func (*NodeDef_ExperimentalDebugInfo) XXX_Unmarshal

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

type NodeExecStats

type NodeExecStats struct {
	// TODO(tucker): Use some more compact form of node identity than
	// the full string name.  Either all processes should agree on a
	// global id (cost_id?) for each node, or we should use a hash of
	// the name.
	NodeName         string                   `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	AllStartMicros   int64                    `protobuf:"varint,2,opt,name=all_start_micros,json=allStartMicros,proto3" json:"all_start_micros,omitempty"`
	OpStartRelMicros int64                    `protobuf:"varint,3,opt,name=op_start_rel_micros,json=opStartRelMicros,proto3" json:"op_start_rel_micros,omitempty"`
	OpEndRelMicros   int64                    `protobuf:"varint,4,opt,name=op_end_rel_micros,json=opEndRelMicros,proto3" json:"op_end_rel_micros,omitempty"`
	AllEndRelMicros  int64                    `protobuf:"varint,5,opt,name=all_end_rel_micros,json=allEndRelMicros,proto3" json:"all_end_rel_micros,omitempty"`
	Memory           []*AllocatorMemoryUsed   `protobuf:"bytes,6,rep,name=memory,proto3" json:"memory,omitempty"`
	Output           []*NodeOutput            `protobuf:"bytes,7,rep,name=output,proto3" json:"output,omitempty"`
	TimelineLabel    string                   `protobuf:"bytes,8,opt,name=timeline_label,json=timelineLabel,proto3" json:"timeline_label,omitempty"`
	ScheduledMicros  int64                    `protobuf:"varint,9,opt,name=scheduled_micros,json=scheduledMicros,proto3" json:"scheduled_micros,omitempty"`
	ThreadId         uint32                   `protobuf:"varint,10,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
	ReferencedTensor []*AllocationDescription `protobuf:"bytes,11,rep,name=referenced_tensor,json=referencedTensor,proto3" json:"referenced_tensor,omitempty"`
	MemoryStats      *MemoryStats             `protobuf:"bytes,12,opt,name=memory_stats,json=memoryStats,proto3" json:"memory_stats,omitempty"`
	AllStartNanos    int64                    `protobuf:"varint,13,opt,name=all_start_nanos,json=allStartNanos,proto3" json:"all_start_nanos,omitempty"`
	OpStartRelNanos  int64                    `protobuf:"varint,14,opt,name=op_start_rel_nanos,json=opStartRelNanos,proto3" json:"op_start_rel_nanos,omitempty"`
	OpEndRelNanos    int64                    `protobuf:"varint,15,opt,name=op_end_rel_nanos,json=opEndRelNanos,proto3" json:"op_end_rel_nanos,omitempty"`
	AllEndRelNanos   int64                    `protobuf:"varint,16,opt,name=all_end_rel_nanos,json=allEndRelNanos,proto3" json:"all_end_rel_nanos,omitempty"`
	ScheduledNanos   int64                    `protobuf:"varint,17,opt,name=scheduled_nanos,json=scheduledNanos,proto3" json:"scheduled_nanos,omitempty"`
}

Time/size stats recorded for a single execution of a graph node.

func (*NodeExecStats) Descriptor

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

func (*NodeExecStats) GetAllEndRelMicros

func (m *NodeExecStats) GetAllEndRelMicros() int64

func (*NodeExecStats) GetAllEndRelNanos

func (m *NodeExecStats) GetAllEndRelNanos() int64

func (*NodeExecStats) GetAllStartMicros

func (m *NodeExecStats) GetAllStartMicros() int64

func (*NodeExecStats) GetAllStartNanos

func (m *NodeExecStats) GetAllStartNanos() int64

func (*NodeExecStats) GetMemory

func (m *NodeExecStats) GetMemory() []*AllocatorMemoryUsed

func (*NodeExecStats) GetMemoryStats

func (m *NodeExecStats) GetMemoryStats() *MemoryStats

func (*NodeExecStats) GetNodeName

func (m *NodeExecStats) GetNodeName() string

func (*NodeExecStats) GetOpEndRelMicros

func (m *NodeExecStats) GetOpEndRelMicros() int64

func (*NodeExecStats) GetOpEndRelNanos

func (m *NodeExecStats) GetOpEndRelNanos() int64

func (*NodeExecStats) GetOpStartRelMicros

func (m *NodeExecStats) GetOpStartRelMicros() int64

func (*NodeExecStats) GetOpStartRelNanos

func (m *NodeExecStats) GetOpStartRelNanos() int64

func (*NodeExecStats) GetOutput

func (m *NodeExecStats) GetOutput() []*NodeOutput

func (*NodeExecStats) GetReferencedTensor

func (m *NodeExecStats) GetReferencedTensor() []*AllocationDescription

func (*NodeExecStats) GetScheduledMicros

func (m *NodeExecStats) GetScheduledMicros() int64

func (*NodeExecStats) GetScheduledNanos

func (m *NodeExecStats) GetScheduledNanos() int64

func (*NodeExecStats) GetThreadId

func (m *NodeExecStats) GetThreadId() uint32

func (*NodeExecStats) GetTimelineLabel

func (m *NodeExecStats) GetTimelineLabel() string

func (*NodeExecStats) Marshal

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

func (*NodeExecStats) MarshalTo

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

func (*NodeExecStats) MarshalToSizedBuffer

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

func (*NodeExecStats) ProtoMessage

func (*NodeExecStats) ProtoMessage()

func (*NodeExecStats) Reset

func (m *NodeExecStats) Reset()

func (*NodeExecStats) Size

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

func (*NodeExecStats) String

func (m *NodeExecStats) String() string

func (*NodeExecStats) Unmarshal

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

func (*NodeExecStats) XXX_DiscardUnknown

func (m *NodeExecStats) XXX_DiscardUnknown()

func (*NodeExecStats) XXX_Marshal

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

func (*NodeExecStats) XXX_Merge

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

func (*NodeExecStats) XXX_Size

func (m *NodeExecStats) XXX_Size() int

func (*NodeExecStats) XXX_Unmarshal

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

type NodeOutput

type NodeOutput struct {
	Slot              int32              `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	TensorDescription *TensorDescription `protobuf:"bytes,3,opt,name=tensor_description,json=tensorDescription,proto3" json:"tensor_description,omitempty"`
}

Output sizes recorded for a single execution of a graph node.

func (*NodeOutput) Descriptor

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

func (*NodeOutput) GetSlot

func (m *NodeOutput) GetSlot() int32

func (*NodeOutput) GetTensorDescription

func (m *NodeOutput) GetTensorDescription() *TensorDescription

func (*NodeOutput) Marshal

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

func (*NodeOutput) MarshalTo

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

func (*NodeOutput) MarshalToSizedBuffer

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

func (*NodeOutput) ProtoMessage

func (*NodeOutput) ProtoMessage()

func (*NodeOutput) Reset

func (m *NodeOutput) Reset()

func (*NodeOutput) Size

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

func (*NodeOutput) String

func (m *NodeOutput) String() string

func (*NodeOutput) Unmarshal

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

func (*NodeOutput) XXX_DiscardUnknown

func (m *NodeOutput) XXX_DiscardUnknown()

func (*NodeOutput) XXX_Marshal

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

func (*NodeOutput) XXX_Merge

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

func (*NodeOutput) XXX_Size

func (m *NodeOutput) XXX_Size() int

func (*NodeOutput) XXX_Unmarshal

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

type OpDef

type OpDef struct {
	// Op names starting with an underscore are reserved for internal use.
	// Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the input(s).
	InputArg []*OpDef_ArgDef `protobuf:"bytes,2,rep,name=input_arg,json=inputArg,proto3" json:"input_arg,omitempty"`
	// Description of the output(s).
	OutputArg []*OpDef_ArgDef `protobuf:"bytes,3,rep,name=output_arg,json=outputArg,proto3" json:"output_arg,omitempty"`
	// Named control outputs for this operation. Useful only for composite
	// operations (i.e. functions) which want to name different control outputs.
	ControlOutput []string         `protobuf:"bytes,20,rep,name=control_output,json=controlOutput,proto3" json:"control_output,omitempty"`
	Attr          []*OpDef_AttrDef `protobuf:"bytes,4,rep,name=attr,proto3" json:"attr,omitempty"`
	// Optional deprecation based on GraphDef versions.
	Deprecation *OpDeprecation `protobuf:"bytes,8,opt,name=deprecation,proto3" json:"deprecation,omitempty"`
	// One-line human-readable description of what the Op does.
	Summary string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary,omitempty"`
	// Additional, longer human-readable description of what the Op does.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
	IsCommutative bool `protobuf:"varint,18,opt,name=is_commutative,json=isCommutative,proto3" json:"is_commutative,omitempty"`
	// If is_aggregate is true, then this operation accepts N >= 2
	// inputs and produces 1 output all of the same type.  Should be
	// associative and commutative, and produce output with the same
	// shape as the input.  The optimizer may replace an aggregate op
	// taking input from multiple devices with a tree of aggregate ops
	// that aggregate locally within each device (and possibly within
	// groups of nearby devices) before communicating.
	// TODO(josh11b): Implement that optimization.
	IsAggregate bool `protobuf:"varint,16,opt,name=is_aggregate,json=isAggregate,proto3" json:"is_aggregate,omitempty"`
	// Ops are marked as stateful if their behavior depends on some state beyond
	// their input tensors (e.g. variable reading op) or if they have
	// a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops
	// must always produce the same output for the same input and have
	// no side-effects.
	//
	// By default Ops may be moved between devices.  Stateful ops should
	// either not be moved, or should only be moved if that state can also
	// be moved (e.g. via some sort of save / restore).
	// Stateful ops are guaranteed to never be optimized away by Common
	// Subexpression Elimination (CSE).
	IsStateful bool `protobuf:"varint,17,opt,name=is_stateful,json=isStateful,proto3" json:"is_stateful,omitempty"`
	// By default, all inputs to an Op must be initialized Tensors.  Ops
	// that may initialize tensors for the first time should set this
	// field to true, to allow the Op to take an uninitialized Tensor as
	// input.
	AllowsUninitializedInput bool `` /* 137-byte string literal not displayed */
}

Defines an operation. A NodeDef in a GraphDef specifies an Op by using the "op" field which should match the name of a OpDef. LINT.IfChange

func (*OpDef) Descriptor

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

func (*OpDef) GetAllowsUninitializedInput

func (m *OpDef) GetAllowsUninitializedInput() bool

func (*OpDef) GetAttr

func (m *OpDef) GetAttr() []*OpDef_AttrDef

func (*OpDef) GetControlOutput

func (m *OpDef) GetControlOutput() []string

func (*OpDef) GetDeprecation

func (m *OpDef) GetDeprecation() *OpDeprecation

func (*OpDef) GetDescription

func (m *OpDef) GetDescription() string

func (*OpDef) GetInputArg

func (m *OpDef) GetInputArg() []*OpDef_ArgDef

func (*OpDef) GetIsAggregate

func (m *OpDef) GetIsAggregate() bool

func (*OpDef) GetIsCommutative

func (m *OpDef) GetIsCommutative() bool

func (*OpDef) GetIsStateful

func (m *OpDef) GetIsStateful() bool

func (*OpDef) GetName

func (m *OpDef) GetName() string

func (*OpDef) GetOutputArg

func (m *OpDef) GetOutputArg() []*OpDef_ArgDef

func (*OpDef) GetSummary

func (m *OpDef) GetSummary() string

func (*OpDef) Marshal

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

func (*OpDef) MarshalTo

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

func (*OpDef) MarshalToSizedBuffer

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

func (*OpDef) ProtoMessage

func (*OpDef) ProtoMessage()

func (*OpDef) Reset

func (m *OpDef) Reset()

func (*OpDef) Size

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

func (*OpDef) String

func (m *OpDef) String() string

func (*OpDef) Unmarshal

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

func (*OpDef) XXX_DiscardUnknown

func (m *OpDef) XXX_DiscardUnknown()

func (*OpDef) XXX_Marshal

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

func (*OpDef) XXX_Merge

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

func (*OpDef) XXX_Size

func (m *OpDef) XXX_Size() int

func (*OpDef) XXX_Unmarshal

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

type OpDef_ArgDef

type OpDef_ArgDef struct {
	// Name for the input/output.  Should match the regexp "[a-z][a-z0-9_]*".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Human readable description.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Describes the type of one or more tensors that are accepted/produced
	// by this input/output arg.  The only legal combinations are:
	// * For a single tensor: either the "type" field is set or the
	//   "type_attr" field is set to the name of an attr with type "type".
	// * For a sequence of tensors with the same type: the "number_attr"
	//   field will be set to the name of an attr with type "int", and
	//   either the "type" or "type_attr" field will be set as for
	//   single tensors.
	// * For a sequence of tensors, the "type_list_attr" field will be set
	//   to the name of an attr with type "list(type)".
	Type       DataType `protobuf:"varint,3,opt,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"`
	TypeAttr   string   `protobuf:"bytes,4,opt,name=type_attr,json=typeAttr,proto3" json:"type_attr,omitempty"`
	NumberAttr string   `protobuf:"bytes,5,opt,name=number_attr,json=numberAttr,proto3" json:"number_attr,omitempty"`
	// If specified, attr must have type "list(type)", and none of
	// type, type_attr, and number_attr may be specified.
	TypeListAttr string `protobuf:"bytes,6,opt,name=type_list_attr,json=typeListAttr,proto3" json:"type_list_attr,omitempty"`
	// For inputs: if true, the inputs are required to be refs.
	//   By default, inputs can be either refs or non-refs.
	// For outputs: if true, outputs are refs, otherwise they are not.
	IsRef bool `protobuf:"varint,16,opt,name=is_ref,json=isRef,proto3" json:"is_ref,omitempty"`
}

For describing inputs and outputs.

func (*OpDef_ArgDef) Descriptor

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

func (*OpDef_ArgDef) GetDescription

func (m *OpDef_ArgDef) GetDescription() string

func (*OpDef_ArgDef) GetIsRef

func (m *OpDef_ArgDef) GetIsRef() bool

func (*OpDef_ArgDef) GetName

func (m *OpDef_ArgDef) GetName() string

func (*OpDef_ArgDef) GetNumberAttr

func (m *OpDef_ArgDef) GetNumberAttr() string

func (*OpDef_ArgDef) GetType

func (m *OpDef_ArgDef) GetType() DataType

func (*OpDef_ArgDef) GetTypeAttr

func (m *OpDef_ArgDef) GetTypeAttr() string

func (*OpDef_ArgDef) GetTypeListAttr

func (m *OpDef_ArgDef) GetTypeListAttr() string

func (*OpDef_ArgDef) Marshal

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

func (*OpDef_ArgDef) MarshalTo

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

func (*OpDef_ArgDef) MarshalToSizedBuffer

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

func (*OpDef_ArgDef) ProtoMessage

func (*OpDef_ArgDef) ProtoMessage()

func (*OpDef_ArgDef) Reset

func (m *OpDef_ArgDef) Reset()

func (*OpDef_ArgDef) Size

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

func (*OpDef_ArgDef) String

func (m *OpDef_ArgDef) String() string

func (*OpDef_ArgDef) Unmarshal

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

func (*OpDef_ArgDef) XXX_DiscardUnknown

func (m *OpDef_ArgDef) XXX_DiscardUnknown()

func (*OpDef_ArgDef) XXX_Marshal

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

func (*OpDef_ArgDef) XXX_Merge

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

func (*OpDef_ArgDef) XXX_Size

func (m *OpDef_ArgDef) XXX_Size() int

func (*OpDef_ArgDef) XXX_Unmarshal

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

type OpDef_AttrDef

type OpDef_AttrDef struct {
	// A descriptive name for the argument.  May be used, e.g. by the
	// Python client, as a keyword argument name, and so should match
	// the regexp "[a-z][a-z0-9_]+".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// One of the type names from attr_value.proto ("string", "list(string)",
	// "int", etc.).
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// A reasonable default for this attribute if the user does not supply
	// a value.  If not specified, the user must supply a value.
	DefaultValue *AttrValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Human-readable description.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// For type == "int", this is a minimum value.  For "list(___)"
	// types, this is the minimum length.
	HasMinimum bool  `protobuf:"varint,5,opt,name=has_minimum,json=hasMinimum,proto3" json:"has_minimum,omitempty"`
	Minimum    int64 `protobuf:"varint,6,opt,name=minimum,proto3" json:"minimum,omitempty"`
	// The set of allowed values.  Has type that is the "list" version
	// of the "type" field above (uses the "list" field of AttrValue).
	// If type == "type" or "list(type)" above, then the "type" field
	// of "allowed_values.list" has the set of allowed DataTypes.
	// If type == "string" or "list(string)", then the "s" field of
	// "allowed_values.list" has the set of allowed strings.
	AllowedValues *AttrValue `protobuf:"bytes,7,opt,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
}

Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.

func (*OpDef_AttrDef) Descriptor

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

func (*OpDef_AttrDef) GetAllowedValues

func (m *OpDef_AttrDef) GetAllowedValues() *AttrValue

func (*OpDef_AttrDef) GetDefaultValue

func (m *OpDef_AttrDef) GetDefaultValue() *AttrValue

func (*OpDef_AttrDef) GetDescription

func (m *OpDef_AttrDef) GetDescription() string

func (*OpDef_AttrDef) GetHasMinimum

func (m *OpDef_AttrDef) GetHasMinimum() bool

func (*OpDef_AttrDef) GetMinimum

func (m *OpDef_AttrDef) GetMinimum() int64

func (*OpDef_AttrDef) GetName

func (m *OpDef_AttrDef) GetName() string

func (*OpDef_AttrDef) GetType

func (m *OpDef_AttrDef) GetType() string

func (*OpDef_AttrDef) Marshal

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

func (*OpDef_AttrDef) MarshalTo

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

func (*OpDef_AttrDef) MarshalToSizedBuffer

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

func (*OpDef_AttrDef) ProtoMessage

func (*OpDef_AttrDef) ProtoMessage()

func (*OpDef_AttrDef) Reset

func (m *OpDef_AttrDef) Reset()

func (*OpDef_AttrDef) Size

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

func (*OpDef_AttrDef) String

func (m *OpDef_AttrDef) String() string

func (*OpDef_AttrDef) Unmarshal

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

func (*OpDef_AttrDef) XXX_DiscardUnknown

func (m *OpDef_AttrDef) XXX_DiscardUnknown()

func (*OpDef_AttrDef) XXX_Marshal

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

func (*OpDef_AttrDef) XXX_Merge

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

func (*OpDef_AttrDef) XXX_Size

func (m *OpDef_AttrDef) XXX_Size() int

func (*OpDef_AttrDef) XXX_Unmarshal

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

type OpDeprecation

type OpDeprecation struct {
	// First GraphDef version at which the op is disallowed.
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Explanation of why it was deprecated and what to use instead.
	Explanation string `protobuf:"bytes,2,opt,name=explanation,proto3" json:"explanation,omitempty"`
}

Information about version-dependent deprecation of an op

func (*OpDeprecation) Descriptor

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

func (*OpDeprecation) GetExplanation

func (m *OpDeprecation) GetExplanation() string

func (*OpDeprecation) GetVersion

func (m *OpDeprecation) GetVersion() int32

func (*OpDeprecation) Marshal

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

func (*OpDeprecation) MarshalTo

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

func (*OpDeprecation) MarshalToSizedBuffer

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

func (*OpDeprecation) ProtoMessage

func (*OpDeprecation) ProtoMessage()

func (*OpDeprecation) Reset

func (m *OpDeprecation) Reset()

func (*OpDeprecation) Size

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

func (*OpDeprecation) String

func (m *OpDeprecation) String() string

func (*OpDeprecation) Unmarshal

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

func (*OpDeprecation) XXX_DiscardUnknown

func (m *OpDeprecation) XXX_DiscardUnknown()

func (*OpDeprecation) XXX_Marshal

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

func (*OpDeprecation) XXX_Merge

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

func (*OpDeprecation) XXX_Size

func (m *OpDeprecation) XXX_Size() int

func (*OpDeprecation) XXX_Unmarshal

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

type OpList

type OpList struct {
	Op []*OpDef `protobuf:"bytes,1,rep,name=op,proto3" json:"op,omitempty"`
}

A collection of OpDefs

func (*OpList) Descriptor

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

func (*OpList) GetOp

func (m *OpList) GetOp() []*OpDef

func (*OpList) Marshal

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

func (*OpList) MarshalTo

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

func (*OpList) MarshalToSizedBuffer

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

func (*OpList) ProtoMessage

func (*OpList) ProtoMessage()

func (*OpList) Reset

func (m *OpList) Reset()

func (*OpList) Size

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

func (*OpList) String

func (m *OpList) String() string

func (*OpList) Unmarshal

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

func (*OpList) XXX_DiscardUnknown

func (m *OpList) XXX_DiscardUnknown()

func (*OpList) XXX_Marshal

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

func (*OpList) XXX_Merge

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

func (*OpList) XXX_Size

func (m *OpList) XXX_Size() int

func (*OpList) XXX_Unmarshal

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

type ReaderBaseState

type ReaderBaseState struct {
	WorkStarted        int64  `protobuf:"varint,1,opt,name=work_started,json=workStarted,proto3" json:"work_started,omitempty"`
	WorkFinished       int64  `protobuf:"varint,2,opt,name=work_finished,json=workFinished,proto3" json:"work_finished,omitempty"`
	NumRecordsProduced int64  `protobuf:"varint,3,opt,name=num_records_produced,json=numRecordsProduced,proto3" json:"num_records_produced,omitempty"`
	CurrentWork        []byte `protobuf:"bytes,4,opt,name=current_work,json=currentWork,proto3" json:"current_work,omitempty"`
}

For serializing and restoring the state of ReaderBase, see reader_base.h for details.

func (*ReaderBaseState) Descriptor

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

func (*ReaderBaseState) GetCurrentWork

func (m *ReaderBaseState) GetCurrentWork() []byte

func (*ReaderBaseState) GetNumRecordsProduced

func (m *ReaderBaseState) GetNumRecordsProduced() int64

func (*ReaderBaseState) GetWorkFinished

func (m *ReaderBaseState) GetWorkFinished() int64

func (*ReaderBaseState) GetWorkStarted

func (m *ReaderBaseState) GetWorkStarted() int64

func (*ReaderBaseState) Marshal

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

func (*ReaderBaseState) MarshalTo

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

func (*ReaderBaseState) MarshalToSizedBuffer

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

func (*ReaderBaseState) ProtoMessage

func (*ReaderBaseState) ProtoMessage()

func (*ReaderBaseState) Reset

func (m *ReaderBaseState) Reset()

func (*ReaderBaseState) Size

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

func (*ReaderBaseState) String

func (m *ReaderBaseState) String() string

func (*ReaderBaseState) Unmarshal

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

func (*ReaderBaseState) XXX_DiscardUnknown

func (m *ReaderBaseState) XXX_DiscardUnknown()

func (*ReaderBaseState) XXX_Marshal

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

func (*ReaderBaseState) XXX_Merge

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

func (*ReaderBaseState) XXX_Size

func (m *ReaderBaseState) XXX_Size() int

func (*ReaderBaseState) XXX_Unmarshal

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

type RemoteFusedGraphExecuteInfo

type RemoteFusedGraphExecuteInfo struct {
	// Definition of remote graph
	RemoteGraph *GraphDef `protobuf:"bytes,1,opt,name=remote_graph,json=remoteGraph,proto3" json:"remote_graph,omitempty"`
	// Remote fused graph input node name
	GraphInputNodeName []string `protobuf:"bytes,2,rep,name=graph_input_node_name,json=graphInputNodeName,proto3" json:"graph_input_node_name,omitempty"`
	// Remote fused graph output node name
	GraphOutputNodeName []string `protobuf:"bytes,3,rep,name=graph_output_node_name,json=graphOutputNodeName,proto3" json:"graph_output_node_name,omitempty"`
	// Executor's name
	ExecutorName string `protobuf:"bytes,4,opt,name=executor_name,json=executorName,proto3" json:"executor_name,omitempty"`
	// Optional: Parameters given to the executor
	SerializedExecutorParameters []byte `` /* 147-byte string literal not displayed */
	// Optional: Default graph input tensor shape used to allocate memory
	// before executing op
	DefaultGraphInputTensorShape []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto `` /* 151-byte string literal not displayed */
	// Optional: Default graph input tensor shape used to allocate memory
	// before executing op
	// TODO(satok): Remote output tensor shape once shape information is stored
	// in NodeDef
	DefaultGraphOutputTensorShape []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto `` /* 154-byte string literal not displayed */
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*RemoteFusedGraphExecuteInfo) Descriptor

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

func (*RemoteFusedGraphExecuteInfo) GetDefaultGraphInputTensorShape

func (m *RemoteFusedGraphExecuteInfo) GetDefaultGraphInputTensorShape() []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto

func (*RemoteFusedGraphExecuteInfo) GetDefaultGraphOutputTensorShape

func (m *RemoteFusedGraphExecuteInfo) GetDefaultGraphOutputTensorShape() []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto

func (*RemoteFusedGraphExecuteInfo) GetExecutorName

func (m *RemoteFusedGraphExecuteInfo) GetExecutorName() string

func (*RemoteFusedGraphExecuteInfo) GetGraphInputNodeName

func (m *RemoteFusedGraphExecuteInfo) GetGraphInputNodeName() []string

func (*RemoteFusedGraphExecuteInfo) GetGraphOutputNodeName

func (m *RemoteFusedGraphExecuteInfo) GetGraphOutputNodeName() []string

func (*RemoteFusedGraphExecuteInfo) GetRemoteGraph

func (m *RemoteFusedGraphExecuteInfo) GetRemoteGraph() *GraphDef

func (*RemoteFusedGraphExecuteInfo) GetSerializedExecutorParameters

func (m *RemoteFusedGraphExecuteInfo) GetSerializedExecutorParameters() []byte

func (*RemoteFusedGraphExecuteInfo) Marshal

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

func (*RemoteFusedGraphExecuteInfo) MarshalTo

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

func (*RemoteFusedGraphExecuteInfo) MarshalToSizedBuffer

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

func (*RemoteFusedGraphExecuteInfo) ProtoMessage

func (*RemoteFusedGraphExecuteInfo) ProtoMessage()

func (*RemoteFusedGraphExecuteInfo) Reset

func (m *RemoteFusedGraphExecuteInfo) Reset()

func (*RemoteFusedGraphExecuteInfo) Size

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

func (*RemoteFusedGraphExecuteInfo) String

func (m *RemoteFusedGraphExecuteInfo) String() string

func (*RemoteFusedGraphExecuteInfo) Unmarshal

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

func (*RemoteFusedGraphExecuteInfo) XXX_DiscardUnknown

func (m *RemoteFusedGraphExecuteInfo) XXX_DiscardUnknown()

func (*RemoteFusedGraphExecuteInfo) XXX_Marshal

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

func (*RemoteFusedGraphExecuteInfo) XXX_Merge

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

func (*RemoteFusedGraphExecuteInfo) XXX_Size

func (m *RemoteFusedGraphExecuteInfo) XXX_Size() int

func (*RemoteFusedGraphExecuteInfo) XXX_Unmarshal

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

type RemoteFusedGraphExecuteInfo_TensorShapeTypeProto

type RemoteFusedGraphExecuteInfo_TensorShapeTypeProto struct {
	Dtype DataType          `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
}

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Descriptor

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) GetDtype

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) GetShape

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Marshal

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

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) MarshalTo

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) MarshalToSizedBuffer

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

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) ProtoMessage

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Reset

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Size

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) String

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Unmarshal

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_DiscardUnknown

func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_DiscardUnknown()

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Marshal

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

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Merge

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Size

func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) XXX_Unmarshal

type ResourceHandleProto

type ResourceHandleProto struct {
	// Unique name for the device containing the resource.
	Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// Container in which this resource is placed.
	Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
	// Unique name of this resource.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Hash code for the type of the resource. Is only valid in the same device
	// and in the same execution.
	HashCode uint64 `protobuf:"varint,4,opt,name=hash_code,json=hashCode,proto3" json:"hash_code,omitempty"`
	// For debug-only, the name of the type pointed to by this handle, if
	// available.
	MaybeTypeName string `protobuf:"bytes,5,opt,name=maybe_type_name,json=maybeTypeName,proto3" json:"maybe_type_name,omitempty"`
	// Data types and shapes for the underlying resource.
	DtypesAndShapes []*ResourceHandleProto_DtypeAndShape `protobuf:"bytes,6,rep,name=dtypes_and_shapes,json=dtypesAndShapes,proto3" json:"dtypes_and_shapes,omitempty"`
	// A set of devices containing the resource. If empty, the resource only
	// exists on `device`.
	AllowedDevices []string `protobuf:"bytes,7,rep,name=allowed_devices,json=allowedDevices,proto3" json:"allowed_devices,omitempty"`
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

func (*ResourceHandleProto) Descriptor

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

func (*ResourceHandleProto) GetAllowedDevices

func (m *ResourceHandleProto) GetAllowedDevices() []string

func (*ResourceHandleProto) GetContainer

func (m *ResourceHandleProto) GetContainer() string

func (*ResourceHandleProto) GetDevice

func (m *ResourceHandleProto) GetDevice() string

func (*ResourceHandleProto) GetDtypesAndShapes

func (m *ResourceHandleProto) GetDtypesAndShapes() []*ResourceHandleProto_DtypeAndShape

func (*ResourceHandleProto) GetHashCode

func (m *ResourceHandleProto) GetHashCode() uint64

func (*ResourceHandleProto) GetMaybeTypeName

func (m *ResourceHandleProto) GetMaybeTypeName() string

func (*ResourceHandleProto) GetName

func (m *ResourceHandleProto) GetName() string

func (*ResourceHandleProto) Marshal

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

func (*ResourceHandleProto) MarshalTo

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

func (*ResourceHandleProto) MarshalToSizedBuffer

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

func (*ResourceHandleProto) ProtoMessage

func (*ResourceHandleProto) ProtoMessage()

func (*ResourceHandleProto) Reset

func (m *ResourceHandleProto) Reset()

func (*ResourceHandleProto) Size

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

func (*ResourceHandleProto) String

func (m *ResourceHandleProto) String() string

func (*ResourceHandleProto) Unmarshal

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

func (*ResourceHandleProto) XXX_DiscardUnknown

func (m *ResourceHandleProto) XXX_DiscardUnknown()

func (*ResourceHandleProto) XXX_Marshal

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

func (*ResourceHandleProto) XXX_Merge

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

func (*ResourceHandleProto) XXX_Size

func (m *ResourceHandleProto) XXX_Size() int

func (*ResourceHandleProto) XXX_Unmarshal

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

type ResourceHandleProto_DtypeAndShape

type ResourceHandleProto_DtypeAndShape struct {
	Dtype DataType          `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
}

Protocol buffer representing a pair of (data type, tensor shape).

func (*ResourceHandleProto_DtypeAndShape) Descriptor

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

func (*ResourceHandleProto_DtypeAndShape) GetDtype

func (*ResourceHandleProto_DtypeAndShape) GetShape

func (*ResourceHandleProto_DtypeAndShape) Marshal

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

func (*ResourceHandleProto_DtypeAndShape) MarshalTo

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

func (*ResourceHandleProto_DtypeAndShape) MarshalToSizedBuffer

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

func (*ResourceHandleProto_DtypeAndShape) ProtoMessage

func (*ResourceHandleProto_DtypeAndShape) ProtoMessage()

func (*ResourceHandleProto_DtypeAndShape) Reset

func (*ResourceHandleProto_DtypeAndShape) Size

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

func (*ResourceHandleProto_DtypeAndShape) String

func (*ResourceHandleProto_DtypeAndShape) Unmarshal

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

func (*ResourceHandleProto_DtypeAndShape) XXX_DiscardUnknown

func (m *ResourceHandleProto_DtypeAndShape) XXX_DiscardUnknown()

func (*ResourceHandleProto_DtypeAndShape) XXX_Marshal

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

func (*ResourceHandleProto_DtypeAndShape) XXX_Merge

func (*ResourceHandleProto_DtypeAndShape) XXX_Size

func (m *ResourceHandleProto_DtypeAndShape) XXX_Size() int

func (*ResourceHandleProto_DtypeAndShape) XXX_Unmarshal

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

type SaveSliceInfoDef

type SaveSliceInfoDef struct {
	// Name of the full variable of which this is a slice.
	FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// Shape of the full variable.
	FullShape []int64 `protobuf:"varint,2,rep,packed,name=full_shape,json=fullShape,proto3" json:"full_shape,omitempty"`
	// Offset of this variable into the full variable.
	VarOffset []int64 `protobuf:"varint,3,rep,packed,name=var_offset,json=varOffset,proto3" json:"var_offset,omitempty"`
	// Shape of this variable.
	VarShape []int64 `protobuf:"varint,4,rep,packed,name=var_shape,json=varShape,proto3" json:"var_shape,omitempty"`
}

func (*SaveSliceInfoDef) Descriptor

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

func (*SaveSliceInfoDef) GetFullName

func (m *SaveSliceInfoDef) GetFullName() string

func (*SaveSliceInfoDef) GetFullShape

func (m *SaveSliceInfoDef) GetFullShape() []int64

func (*SaveSliceInfoDef) GetVarOffset

func (m *SaveSliceInfoDef) GetVarOffset() []int64

func (*SaveSliceInfoDef) GetVarShape

func (m *SaveSliceInfoDef) GetVarShape() []int64

func (*SaveSliceInfoDef) Marshal

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

func (*SaveSliceInfoDef) MarshalTo

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

func (*SaveSliceInfoDef) MarshalToSizedBuffer

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

func (*SaveSliceInfoDef) ProtoMessage

func (*SaveSliceInfoDef) ProtoMessage()

func (*SaveSliceInfoDef) Reset

func (m *SaveSliceInfoDef) Reset()

func (*SaveSliceInfoDef) Size

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

func (*SaveSliceInfoDef) String

func (m *SaveSliceInfoDef) String() string

func (*SaveSliceInfoDef) Unmarshal

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

func (*SaveSliceInfoDef) XXX_DiscardUnknown

func (m *SaveSliceInfoDef) XXX_DiscardUnknown()

func (*SaveSliceInfoDef) XXX_Marshal

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

func (*SaveSliceInfoDef) XXX_Merge

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

func (*SaveSliceInfoDef) XXX_Size

func (m *SaveSliceInfoDef) XXX_Size() int

func (*SaveSliceInfoDef) XXX_Unmarshal

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

type StepStats

type StepStats struct {
	DevStats []*DeviceStepStats `protobuf:"bytes,1,rep,name=dev_stats,json=devStats,proto3" json:"dev_stats,omitempty"`
}

func (*StepStats) Descriptor

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

func (*StepStats) GetDevStats

func (m *StepStats) GetDevStats() []*DeviceStepStats

func (*StepStats) Marshal

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

func (*StepStats) MarshalTo

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

func (*StepStats) MarshalToSizedBuffer

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

func (*StepStats) ProtoMessage

func (*StepStats) ProtoMessage()

func (*StepStats) Reset

func (m *StepStats) Reset()

func (*StepStats) Size

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

func (*StepStats) String

func (m *StepStats) String() string

func (*StepStats) Unmarshal

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

func (*StepStats) XXX_DiscardUnknown

func (m *StepStats) XXX_DiscardUnknown()

func (*StepStats) XXX_Marshal

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

func (*StepStats) XXX_Merge

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

func (*StepStats) XXX_Size

func (m *StepStats) XXX_Size() int

func (*StepStats) XXX_Unmarshal

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

type Summary

type Summary struct {
	// Set of values for the summary.
	Value []*Summary_Value `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}

A Summary is a set of named values to be displayed by the visualizer.

Summaries are produced regularly during training, as controlled by the "summary_interval_secs" attribute of the training operation. Summaries are also produced at the end of an evaluation.

func (*Summary) Descriptor

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

func (*Summary) GetValue

func (m *Summary) GetValue() []*Summary_Value

func (*Summary) Marshal

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

func (*Summary) MarshalTo

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

func (*Summary) MarshalToSizedBuffer

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

func (*Summary) ProtoMessage

func (*Summary) ProtoMessage()

func (*Summary) Reset

func (m *Summary) Reset()

func (*Summary) Size

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

func (*Summary) String

func (m *Summary) String() string

func (*Summary) Unmarshal

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

func (*Summary) XXX_DiscardUnknown

func (m *Summary) XXX_DiscardUnknown()

func (*Summary) XXX_Marshal

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

func (*Summary) XXX_Merge

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

func (*Summary) XXX_Size

func (m *Summary) XXX_Size() int

func (*Summary) XXX_Unmarshal

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

type SummaryDescription

type SummaryDescription struct {
	// Hint on how plugins should process the data in this series.
	// Supported values include "scalar", "histogram", "image", "audio"
	TypeHint string `protobuf:"bytes,1,opt,name=type_hint,json=typeHint,proto3" json:"type_hint,omitempty"`
}

Metadata associated with a series of Summary data

func (*SummaryDescription) Descriptor

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

func (*SummaryDescription) GetTypeHint

func (m *SummaryDescription) GetTypeHint() string

func (*SummaryDescription) Marshal

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

func (*SummaryDescription) MarshalTo

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

func (*SummaryDescription) MarshalToSizedBuffer

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

func (*SummaryDescription) ProtoMessage

func (*SummaryDescription) ProtoMessage()

func (*SummaryDescription) Reset

func (m *SummaryDescription) Reset()

func (*SummaryDescription) Size

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

func (*SummaryDescription) String

func (m *SummaryDescription) String() string

func (*SummaryDescription) Unmarshal

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

func (*SummaryDescription) XXX_DiscardUnknown

func (m *SummaryDescription) XXX_DiscardUnknown()

func (*SummaryDescription) XXX_Marshal

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

func (*SummaryDescription) XXX_Merge

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

func (*SummaryDescription) XXX_Size

func (m *SummaryDescription) XXX_Size() int

func (*SummaryDescription) XXX_Unmarshal

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

type SummaryMetadata

type SummaryMetadata struct {
	// Data that associates a summary with a certain plugin.
	PluginData *SummaryMetadata_PluginData `protobuf:"bytes,1,opt,name=plugin_data,json=pluginData,proto3" json:"plugin_data,omitempty"`
	// Display name for viewing in TensorBoard.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Longform readable description of the summary sequence. Markdown supported.
	SummaryDescription string `protobuf:"bytes,3,opt,name=summary_description,json=summaryDescription,proto3" json:"summary_description,omitempty"`
	// Class of data stored in this time series. Required for compatibility with
	// TensorBoard's generic data facilities (`DataProvider`, et al.). This value
	// imposes constraints on the dtype and shape of the corresponding tensor
	// values. See `DataClass` docs for details.
	DataClass DataClass `protobuf:"varint,4,opt,name=data_class,json=dataClass,proto3,enum=tensorflow.DataClass" json:"data_class,omitempty"`
}

A SummaryMetadata encapsulates information on which plugins are able to make use of a certain summary value.

func (*SummaryMetadata) Descriptor

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

func (*SummaryMetadata) GetDataClass

func (m *SummaryMetadata) GetDataClass() DataClass

func (*SummaryMetadata) GetDisplayName

func (m *SummaryMetadata) GetDisplayName() string

func (*SummaryMetadata) GetPluginData

func (m *SummaryMetadata) GetPluginData() *SummaryMetadata_PluginData

func (*SummaryMetadata) GetSummaryDescription

func (m *SummaryMetadata) GetSummaryDescription() string

func (*SummaryMetadata) Marshal

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

func (*SummaryMetadata) MarshalTo

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

func (*SummaryMetadata) MarshalToSizedBuffer

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

func (*SummaryMetadata) ProtoMessage

func (*SummaryMetadata) ProtoMessage()

func (*SummaryMetadata) Reset

func (m *SummaryMetadata) Reset()

func (*SummaryMetadata) Size

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

func (*SummaryMetadata) String

func (m *SummaryMetadata) String() string

func (*SummaryMetadata) Unmarshal

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

func (*SummaryMetadata) XXX_DiscardUnknown

func (m *SummaryMetadata) XXX_DiscardUnknown()

func (*SummaryMetadata) XXX_Marshal

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

func (*SummaryMetadata) XXX_Merge

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

func (*SummaryMetadata) XXX_Size

func (m *SummaryMetadata) XXX_Size() int

func (*SummaryMetadata) XXX_Unmarshal

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

type SummaryMetadata_PluginData

type SummaryMetadata_PluginData struct {
	// The name of the plugin this data pertains to.
	PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
	// The content to store for the plugin. The best practice is for this to be
	// a binary serialized protocol buffer.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

func (*SummaryMetadata_PluginData) Descriptor

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

func (*SummaryMetadata_PluginData) GetContent

func (m *SummaryMetadata_PluginData) GetContent() []byte

func (*SummaryMetadata_PluginData) GetPluginName

func (m *SummaryMetadata_PluginData) GetPluginName() string

func (*SummaryMetadata_PluginData) Marshal

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

func (*SummaryMetadata_PluginData) MarshalTo

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

func (*SummaryMetadata_PluginData) MarshalToSizedBuffer

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

func (*SummaryMetadata_PluginData) ProtoMessage

func (*SummaryMetadata_PluginData) ProtoMessage()

func (*SummaryMetadata_PluginData) Reset

func (m *SummaryMetadata_PluginData) Reset()

func (*SummaryMetadata_PluginData) Size

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

func (*SummaryMetadata_PluginData) String

func (m *SummaryMetadata_PluginData) String() string

func (*SummaryMetadata_PluginData) Unmarshal

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

func (*SummaryMetadata_PluginData) XXX_DiscardUnknown

func (m *SummaryMetadata_PluginData) XXX_DiscardUnknown()

func (*SummaryMetadata_PluginData) XXX_Marshal

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

func (*SummaryMetadata_PluginData) XXX_Merge

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

func (*SummaryMetadata_PluginData) XXX_Size

func (m *SummaryMetadata_PluginData) XXX_Size() int

func (*SummaryMetadata_PluginData) XXX_Unmarshal

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

type Summary_Audio

type Summary_Audio struct {
	// Sample rate of the audio in Hz.
	SampleRate float32 `protobuf:"fixed32,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	// Number of channels of audio.
	NumChannels int64 `protobuf:"varint,2,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
	// Length of the audio in frames (samples per channel).
	LengthFrames int64 `protobuf:"varint,3,opt,name=length_frames,json=lengthFrames,proto3" json:"length_frames,omitempty"`
	// Encoded audio data and its associated RFC 2045 content type (e.g.
	// "audio/wav").
	EncodedAudioString []byte `protobuf:"bytes,4,opt,name=encoded_audio_string,json=encodedAudioString,proto3" json:"encoded_audio_string,omitempty"`
	ContentType        string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
}

func (*Summary_Audio) Descriptor

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

func (*Summary_Audio) GetContentType

func (m *Summary_Audio) GetContentType() string

func (*Summary_Audio) GetEncodedAudioString

func (m *Summary_Audio) GetEncodedAudioString() []byte

func (*Summary_Audio) GetLengthFrames

func (m *Summary_Audio) GetLengthFrames() int64

func (*Summary_Audio) GetNumChannels

func (m *Summary_Audio) GetNumChannels() int64

func (*Summary_Audio) GetSampleRate

func (m *Summary_Audio) GetSampleRate() float32

func (*Summary_Audio) Marshal

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

func (*Summary_Audio) MarshalTo

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

func (*Summary_Audio) MarshalToSizedBuffer

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

func (*Summary_Audio) ProtoMessage

func (*Summary_Audio) ProtoMessage()

func (*Summary_Audio) Reset

func (m *Summary_Audio) Reset()

func (*Summary_Audio) Size

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

func (*Summary_Audio) String

func (m *Summary_Audio) String() string

func (*Summary_Audio) Unmarshal

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

func (*Summary_Audio) XXX_DiscardUnknown

func (m *Summary_Audio) XXX_DiscardUnknown()

func (*Summary_Audio) XXX_Marshal

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

func (*Summary_Audio) XXX_Merge

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

func (*Summary_Audio) XXX_Size

func (m *Summary_Audio) XXX_Size() int

func (*Summary_Audio) XXX_Unmarshal

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

type Summary_Image

type Summary_Image struct {
	// Dimensions of the image.
	Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Width  int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	// Valid colorspace values are
	//   1 - grayscale
	//   2 - grayscale + alpha
	//   3 - RGB
	//   4 - RGBA
	//   5 - DIGITAL_YUV
	//   6 - BGRA
	Colorspace int32 `protobuf:"varint,3,opt,name=colorspace,proto3" json:"colorspace,omitempty"`
	// Image data in encoded format.  All image formats supported by
	// image_codec::CoderUtil can be stored here.
	EncodedImageString []byte `protobuf:"bytes,4,opt,name=encoded_image_string,json=encodedImageString,proto3" json:"encoded_image_string,omitempty"`
}

func (*Summary_Image) Descriptor

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

func (*Summary_Image) GetColorspace

func (m *Summary_Image) GetColorspace() int32

func (*Summary_Image) GetEncodedImageString

func (m *Summary_Image) GetEncodedImageString() []byte

func (*Summary_Image) GetHeight

func (m *Summary_Image) GetHeight() int32

func (*Summary_Image) GetWidth

func (m *Summary_Image) GetWidth() int32

func (*Summary_Image) Marshal

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

func (*Summary_Image) MarshalTo

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

func (*Summary_Image) MarshalToSizedBuffer

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

func (*Summary_Image) ProtoMessage

func (*Summary_Image) ProtoMessage()

func (*Summary_Image) Reset

func (m *Summary_Image) Reset()

func (*Summary_Image) Size

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

func (*Summary_Image) String

func (m *Summary_Image) String() string

func (*Summary_Image) Unmarshal

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

func (*Summary_Image) XXX_DiscardUnknown

func (m *Summary_Image) XXX_DiscardUnknown()

func (*Summary_Image) XXX_Marshal

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

func (*Summary_Image) XXX_Merge

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

func (*Summary_Image) XXX_Size

func (m *Summary_Image) XXX_Size() int

func (*Summary_Image) XXX_Unmarshal

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

type Summary_Value

type Summary_Value struct {
	// This field is deprecated and will not be set.
	NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	// Tag name for the data. Used by TensorBoard plugins to organize data. Tags
	// are often organized by scope (which contains slashes to convey
	// hierarchy). For example: foo/bar/0
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Contains metadata on the summary value such as which plugins may use it.
	// Take note that many summary values may lack a metadata field. This is
	// because the FileWriter only keeps a metadata object on the first summary
	// value with a certain tag for each tag. TensorBoard then remembers which
	// tags are associated with which plugins. This saves space.
	Metadata *SummaryMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Value associated with the tag.
	//
	// Types that are valid to be assigned to Value:
	//	*Summary_Value_SimpleValue
	//	*Summary_Value_ObsoleteOldStyleHistogram
	//	*Summary_Value_Image
	//	*Summary_Value_Histo
	//	*Summary_Value_Audio
	//	*Summary_Value_Tensor
	Value isSummary_Value_Value `protobuf_oneof:"value"`
}

func (*Summary_Value) Descriptor

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

func (*Summary_Value) GetAudio

func (m *Summary_Value) GetAudio() *Summary_Audio

func (*Summary_Value) GetHisto

func (m *Summary_Value) GetHisto() *HistogramProto

func (*Summary_Value) GetImage

func (m *Summary_Value) GetImage() *Summary_Image

func (*Summary_Value) GetMetadata

func (m *Summary_Value) GetMetadata() *SummaryMetadata

func (*Summary_Value) GetNodeName

func (m *Summary_Value) GetNodeName() string

func (*Summary_Value) GetObsoleteOldStyleHistogram

func (m *Summary_Value) GetObsoleteOldStyleHistogram() []byte

func (*Summary_Value) GetSimpleValue

func (m *Summary_Value) GetSimpleValue() float32

func (*Summary_Value) GetTag

func (m *Summary_Value) GetTag() string

func (*Summary_Value) GetTensor

func (m *Summary_Value) GetTensor() *TensorProto

func (*Summary_Value) GetValue

func (m *Summary_Value) GetValue() isSummary_Value_Value

func (*Summary_Value) Marshal

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

func (*Summary_Value) MarshalTo

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

func (*Summary_Value) MarshalToSizedBuffer

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

func (*Summary_Value) ProtoMessage

func (*Summary_Value) ProtoMessage()

func (*Summary_Value) Reset

func (m *Summary_Value) Reset()

func (*Summary_Value) Size

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

func (*Summary_Value) String

func (m *Summary_Value) String() string

func (*Summary_Value) Unmarshal

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

func (*Summary_Value) XXX_DiscardUnknown

func (m *Summary_Value) XXX_DiscardUnknown()

func (*Summary_Value) XXX_Marshal

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

func (*Summary_Value) XXX_Merge

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

func (*Summary_Value) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Summary_Value) XXX_Size

func (m *Summary_Value) XXX_Size() int

func (*Summary_Value) XXX_Unmarshal

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

type Summary_Value_Audio

type Summary_Value_Audio struct {
	Audio *Summary_Audio `protobuf:"bytes,6,opt,name=audio,proto3,oneof" json:"audio,omitempty"`
}

func (*Summary_Value_Audio) MarshalTo

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

func (*Summary_Value_Audio) MarshalToSizedBuffer

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

func (*Summary_Value_Audio) Size

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

type Summary_Value_Histo

type Summary_Value_Histo struct {
	Histo *HistogramProto `protobuf:"bytes,5,opt,name=histo,proto3,oneof" json:"histo,omitempty"`
}

func (*Summary_Value_Histo) MarshalTo

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

func (*Summary_Value_Histo) MarshalToSizedBuffer

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

func (*Summary_Value_Histo) Size

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

type Summary_Value_Image

type Summary_Value_Image struct {
	Image *Summary_Image `protobuf:"bytes,4,opt,name=image,proto3,oneof" json:"image,omitempty"`
}

func (*Summary_Value_Image) MarshalTo

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

func (*Summary_Value_Image) MarshalToSizedBuffer

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

func (*Summary_Value_Image) Size

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

type Summary_Value_ObsoleteOldStyleHistogram

type Summary_Value_ObsoleteOldStyleHistogram struct {
	ObsoleteOldStyleHistogram []byte `` /* 146-byte string literal not displayed */
}

func (*Summary_Value_ObsoleteOldStyleHistogram) MarshalTo

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

func (*Summary_Value_ObsoleteOldStyleHistogram) MarshalToSizedBuffer

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

func (*Summary_Value_ObsoleteOldStyleHistogram) Size

type Summary_Value_SimpleValue

type Summary_Value_SimpleValue struct {
	SimpleValue float32 `protobuf:"fixed32,2,opt,name=simple_value,json=simpleValue,proto3,oneof" json:"simple_value,omitempty"`
}

func (*Summary_Value_SimpleValue) MarshalTo

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

func (*Summary_Value_SimpleValue) MarshalToSizedBuffer

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

func (*Summary_Value_SimpleValue) Size

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

type Summary_Value_Tensor

type Summary_Value_Tensor struct {
	Tensor *TensorProto `protobuf:"bytes,8,opt,name=tensor,proto3,oneof" json:"tensor,omitempty"`
}

func (*Summary_Value_Tensor) MarshalTo

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

func (*Summary_Value_Tensor) MarshalToSizedBuffer

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

func (*Summary_Value_Tensor) Size

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

type TensorDescription

type TensorDescription struct {
	// Data type of tensor elements
	Dtype DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// Shape of the tensor.
	Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	// Information about the size and allocator used for the data
	AllocationDescription *AllocationDescription `protobuf:"bytes,4,opt,name=allocation_description,json=allocationDescription,proto3" json:"allocation_description,omitempty"`
}

func (*TensorDescription) Descriptor

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

func (*TensorDescription) GetAllocationDescription

func (m *TensorDescription) GetAllocationDescription() *AllocationDescription

func (*TensorDescription) GetDtype

func (m *TensorDescription) GetDtype() DataType

func (*TensorDescription) GetShape

func (m *TensorDescription) GetShape() *TensorShapeProto

func (*TensorDescription) Marshal

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

func (*TensorDescription) MarshalTo

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

func (*TensorDescription) MarshalToSizedBuffer

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

func (*TensorDescription) ProtoMessage

func (*TensorDescription) ProtoMessage()

func (*TensorDescription) Reset

func (m *TensorDescription) Reset()

func (*TensorDescription) Size

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

func (*TensorDescription) String

func (m *TensorDescription) String() string

func (*TensorDescription) Unmarshal

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

func (*TensorDescription) XXX_DiscardUnknown

func (m *TensorDescription) XXX_DiscardUnknown()

func (*TensorDescription) XXX_Marshal

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

func (*TensorDescription) XXX_Merge

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

func (*TensorDescription) XXX_Size

func (m *TensorDescription) XXX_Size() int

func (*TensorDescription) XXX_Unmarshal

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

type TensorProto

type TensorProto struct {
	Dtype DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// Shape of the tensor.  TODO(touts): sort out the 0-rank issues.
	TensorShape *TensorShapeProto `protobuf:"bytes,2,opt,name=tensor_shape,json=tensorShape,proto3" json:"tensor_shape,omitempty"`
	// Version number.
	//
	// In version 0, if the "repeated xxx" representations contain only one
	// element, that element is repeated to fill the shape.  This makes it easy
	// to represent a constant Tensor with a single value.
	VersionNumber int32 `protobuf:"varint,3,opt,name=version_number,json=versionNumber,proto3" json:"version_number,omitempty"`
	// Serialized raw tensor content from either Tensor::AsProtoTensorContent or
	// memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation
	// can be used for all tensor types. The purpose of this representation is to
	// reduce serialization overhead during RPC call by avoiding serialization of
	// many repeated small items.
	TensorContent []byte `protobuf:"bytes,4,opt,name=tensor_content,json=tensorContent,proto3" json:"tensor_content,omitempty"`
	// DT_HALF, DT_BFLOAT16. Note that since protobuf has no int16 type, we'll
	// have some pointless zero padding for each value here.
	HalfVal []int32 `protobuf:"varint,13,rep,packed,name=half_val,json=halfVal,proto3" json:"half_val,omitempty"`
	// DT_FLOAT.
	FloatVal []float32 `protobuf:"fixed32,5,rep,packed,name=float_val,json=floatVal,proto3" json:"float_val,omitempty"`
	// DT_DOUBLE.
	DoubleVal []float64 `protobuf:"fixed64,6,rep,packed,name=double_val,json=doubleVal,proto3" json:"double_val,omitempty"`
	// DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
	IntVal []int32 `protobuf:"varint,7,rep,packed,name=int_val,json=intVal,proto3" json:"int_val,omitempty"`
	// DT_STRING
	StringVal [][]byte `protobuf:"bytes,8,rep,name=string_val,json=stringVal,proto3" json:"string_val,omitempty"`
	// DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real
	// and imaginary parts of i-th single precision complex.
	ScomplexVal []float32 `protobuf:"fixed32,9,rep,packed,name=scomplex_val,json=scomplexVal,proto3" json:"scomplex_val,omitempty"`
	// DT_INT64
	Int64Val []int64 `protobuf:"varint,10,rep,packed,name=int64_val,json=int64Val,proto3" json:"int64_val,omitempty"`
	// DT_BOOL
	BoolVal []bool `protobuf:"varint,11,rep,packed,name=bool_val,json=boolVal,proto3" json:"bool_val,omitempty"`
	// DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real
	// and imaginary parts of i-th double precision complex.
	DcomplexVal []float64 `protobuf:"fixed64,12,rep,packed,name=dcomplex_val,json=dcomplexVal,proto3" json:"dcomplex_val,omitempty"`
	// DT_RESOURCE
	ResourceHandleVal []*ResourceHandleProto `protobuf:"bytes,14,rep,name=resource_handle_val,json=resourceHandleVal,proto3" json:"resource_handle_val,omitempty"`
	// DT_VARIANT
	VariantVal []*VariantTensorDataProto `protobuf:"bytes,15,rep,name=variant_val,json=variantVal,proto3" json:"variant_val,omitempty"`
	// DT_UINT32
	Uint32Val []uint32 `protobuf:"varint,16,rep,packed,name=uint32_val,json=uint32Val,proto3" json:"uint32_val,omitempty"`
	// DT_UINT64
	Uint64Val []uint64 `protobuf:"varint,17,rep,packed,name=uint64_val,json=uint64Val,proto3" json:"uint64_val,omitempty"`
}

Protocol buffer representing a tensor.

func (*TensorProto) Descriptor

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

func (*TensorProto) GetBoolVal

func (m *TensorProto) GetBoolVal() []bool

func (*TensorProto) GetDcomplexVal

func (m *TensorProto) GetDcomplexVal() []float64

func (*TensorProto) GetDoubleVal

func (m *TensorProto) GetDoubleVal() []float64

func (*TensorProto) GetDtype

func (m *TensorProto) GetDtype() DataType

func (*TensorProto) GetFloatVal

func (m *TensorProto) GetFloatVal() []float32

func (*TensorProto) GetHalfVal

func (m *TensorProto) GetHalfVal() []int32

func (*TensorProto) GetInt64Val

func (m *TensorProto) GetInt64Val() []int64

func (*TensorProto) GetIntVal

func (m *TensorProto) GetIntVal() []int32

func (*TensorProto) GetResourceHandleVal

func (m *TensorProto) GetResourceHandleVal() []*ResourceHandleProto

func (*TensorProto) GetScomplexVal

func (m *TensorProto) GetScomplexVal() []float32

func (*TensorProto) GetStringVal

func (m *TensorProto) GetStringVal() [][]byte

func (*TensorProto) GetTensorContent

func (m *TensorProto) GetTensorContent() []byte

func (*TensorProto) GetTensorShape

func (m *TensorProto) GetTensorShape() *TensorShapeProto

func (*TensorProto) GetUint32Val

func (m *TensorProto) GetUint32Val() []uint32

func (*TensorProto) GetUint64Val

func (m *TensorProto) GetUint64Val() []uint64

func (*TensorProto) GetVariantVal

func (m *TensorProto) GetVariantVal() []*VariantTensorDataProto

func (*TensorProto) GetVersionNumber

func (m *TensorProto) GetVersionNumber() int32

func (*TensorProto) Marshal

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

func (*TensorProto) MarshalTo

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

func (*TensorProto) MarshalToSizedBuffer

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

func (*TensorProto) ProtoMessage

func (*TensorProto) ProtoMessage()

func (*TensorProto) Reset

func (m *TensorProto) Reset()

func (*TensorProto) Size

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

func (*TensorProto) String

func (m *TensorProto) String() string

func (*TensorProto) Unmarshal

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

func (*TensorProto) XXX_DiscardUnknown

func (m *TensorProto) XXX_DiscardUnknown()

func (*TensorProto) XXX_Marshal

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

func (*TensorProto) XXX_Merge

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

func (*TensorProto) XXX_Size

func (m *TensorProto) XXX_Size() int

func (*TensorProto) XXX_Unmarshal

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

type TensorShapeProto

type TensorShapeProto struct {
	// Dimensions of the tensor, such as {"input", 30}, {"output", 40}
	// for a 30 x 40 2D tensor.  If an entry has size -1, this
	// corresponds to a dimension of unknown size. The names are
	// optional.
	//
	// The order of entries in "dim" matters: It indicates the layout of the
	// values in the tensor in-memory representation.
	//
	// The first entry in "dim" is the outermost dimension used to layout the
	// values, the last entry is the innermost dimension.  This matches the
	// in-memory layout of RowMajor Eigen tensors.
	//
	// If "dim.size()" > 0, "unknown_rank" must be false.
	Dim []*TensorShapeProto_Dim `protobuf:"bytes,2,rep,name=dim,proto3" json:"dim,omitempty"`
	// If true, the number of dimensions in the shape is unknown.
	//
	// If true, "dim.size()" must be 0.
	UnknownRank bool `protobuf:"varint,3,opt,name=unknown_rank,json=unknownRank,proto3" json:"unknown_rank,omitempty"`
}

Dimensions of a tensor.

func (*TensorShapeProto) Descriptor

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

func (*TensorShapeProto) GetDim

func (m *TensorShapeProto) GetDim() []*TensorShapeProto_Dim

func (*TensorShapeProto) GetUnknownRank

func (m *TensorShapeProto) GetUnknownRank() bool

func (*TensorShapeProto) Marshal

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

func (*TensorShapeProto) MarshalTo

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

func (*TensorShapeProto) MarshalToSizedBuffer

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

func (*TensorShapeProto) ProtoMessage

func (*TensorShapeProto) ProtoMessage()

func (*TensorShapeProto) Reset

func (m *TensorShapeProto) Reset()

func (*TensorShapeProto) Size

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

func (*TensorShapeProto) String

func (m *TensorShapeProto) String() string

func (*TensorShapeProto) Unmarshal

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

func (*TensorShapeProto) XXX_DiscardUnknown

func (m *TensorShapeProto) XXX_DiscardUnknown()

func (*TensorShapeProto) XXX_Marshal

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

func (*TensorShapeProto) XXX_Merge

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

func (*TensorShapeProto) XXX_Size

func (m *TensorShapeProto) XXX_Size() int

func (*TensorShapeProto) XXX_Unmarshal

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

type TensorShapeProto_Dim

type TensorShapeProto_Dim struct {
	// Size of the tensor in that dimension.
	// This value must be >= -1, but values of -1 are reserved for "unknown"
	// shapes (values of -1 mean "unknown" dimension).  Certain wrappers
	// that work with TensorShapeProto may fail at runtime when deserializing
	// a TensorShapeProto containing a dim value of -1.
	Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Optional name of the tensor dimension.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

One dimension of the tensor.

func (*TensorShapeProto_Dim) Descriptor

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

func (*TensorShapeProto_Dim) GetName

func (m *TensorShapeProto_Dim) GetName() string

func (*TensorShapeProto_Dim) GetSize_

func (m *TensorShapeProto_Dim) GetSize_() int64

func (*TensorShapeProto_Dim) Marshal

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

func (*TensorShapeProto_Dim) MarshalTo

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

func (*TensorShapeProto_Dim) MarshalToSizedBuffer

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

func (*TensorShapeProto_Dim) ProtoMessage

func (*TensorShapeProto_Dim) ProtoMessage()

func (*TensorShapeProto_Dim) Reset

func (m *TensorShapeProto_Dim) Reset()

func (*TensorShapeProto_Dim) Size

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

func (*TensorShapeProto_Dim) String

func (m *TensorShapeProto_Dim) String() string

func (*TensorShapeProto_Dim) Unmarshal

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

func (*TensorShapeProto_Dim) XXX_DiscardUnknown

func (m *TensorShapeProto_Dim) XXX_DiscardUnknown()

func (*TensorShapeProto_Dim) XXX_Marshal

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

func (*TensorShapeProto_Dim) XXX_Merge

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

func (*TensorShapeProto_Dim) XXX_Size

func (m *TensorShapeProto_Dim) XXX_Size() int

func (*TensorShapeProto_Dim) XXX_Unmarshal

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

type TensorSliceProto

type TensorSliceProto struct {
	// Extent of the slice in all tensor dimensions.
	//
	// Must have one entry for each of the dimension of the tensor that this
	// slice belongs to.  The order of sizes is the same as the order of
	// dimensions in the TensorShape.
	Extent []*TensorSliceProto_Extent `protobuf:"bytes,1,rep,name=extent,proto3" json:"extent,omitempty"`
}

Can only be interpreted if you know the corresponding TensorShape.

func (*TensorSliceProto) Descriptor

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

func (*TensorSliceProto) GetExtent

func (m *TensorSliceProto) GetExtent() []*TensorSliceProto_Extent

func (*TensorSliceProto) Marshal

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

func (*TensorSliceProto) MarshalTo

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

func (*TensorSliceProto) MarshalToSizedBuffer

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

func (*TensorSliceProto) ProtoMessage

func (*TensorSliceProto) ProtoMessage()

func (*TensorSliceProto) Reset

func (m *TensorSliceProto) Reset()

func (*TensorSliceProto) Size

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

func (*TensorSliceProto) String

func (m *TensorSliceProto) String() string

func (*TensorSliceProto) Unmarshal

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

func (*TensorSliceProto) XXX_DiscardUnknown

func (m *TensorSliceProto) XXX_DiscardUnknown()

func (*TensorSliceProto) XXX_Marshal

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

func (*TensorSliceProto) XXX_Merge

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

func (*TensorSliceProto) XXX_Size

func (m *TensorSliceProto) XXX_Size() int

func (*TensorSliceProto) XXX_Unmarshal

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

type TensorSliceProto_Extent

type TensorSliceProto_Extent struct {
	// Start index of the slice, starting at 0.
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// Length of the slice: if the length is missing or -1 we will
	// interpret this as "everything in this dimension".  We use
	// "oneof" to preserve information about whether the length is
	// present without changing the serialization format from the
	// prior proto2 version of this proto.
	//
	// Types that are valid to be assigned to HasLength:
	//	*TensorSliceProto_Extent_Length
	HasLength isTensorSliceProto_Extent_HasLength `protobuf_oneof:"has_length"`
}

Extent of the slice in one dimension.

func (*TensorSliceProto_Extent) Descriptor

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

func (*TensorSliceProto_Extent) GetHasLength

func (m *TensorSliceProto_Extent) GetHasLength() isTensorSliceProto_Extent_HasLength

func (*TensorSliceProto_Extent) GetLength

func (m *TensorSliceProto_Extent) GetLength() int64

func (*TensorSliceProto_Extent) GetStart

func (m *TensorSliceProto_Extent) GetStart() int64

func (*TensorSliceProto_Extent) Marshal

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

func (*TensorSliceProto_Extent) MarshalTo

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

func (*TensorSliceProto_Extent) MarshalToSizedBuffer

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

func (*TensorSliceProto_Extent) ProtoMessage

func (*TensorSliceProto_Extent) ProtoMessage()

func (*TensorSliceProto_Extent) Reset

func (m *TensorSliceProto_Extent) Reset()

func (*TensorSliceProto_Extent) Size

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

func (*TensorSliceProto_Extent) String

func (m *TensorSliceProto_Extent) String() string

func (*TensorSliceProto_Extent) Unmarshal

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

func (*TensorSliceProto_Extent) XXX_DiscardUnknown

func (m *TensorSliceProto_Extent) XXX_DiscardUnknown()

func (*TensorSliceProto_Extent) XXX_Marshal

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

func (*TensorSliceProto_Extent) XXX_Merge

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

func (*TensorSliceProto_Extent) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*TensorSliceProto_Extent) XXX_Size

func (m *TensorSliceProto_Extent) XXX_Size() int

func (*TensorSliceProto_Extent) XXX_Unmarshal

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

type TensorSliceProto_Extent_Length

type TensorSliceProto_Extent_Length struct {
	Length int64 `protobuf:"varint,2,opt,name=length,proto3,oneof" json:"length,omitempty"`
}

func (*TensorSliceProto_Extent_Length) MarshalTo

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

func (*TensorSliceProto_Extent_Length) MarshalToSizedBuffer

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

func (*TensorSliceProto_Extent_Length) Size

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

type VariableAggregation

type VariableAggregation int32

Indicates how a distributed variable will be aggregated.

const (
	// `NONE`: This is the default, giving an error if you use a
	// variable-update operation with multiple replicas.
	VariableAggregation_VARIABLE_AGGREGATION_NONE VariableAggregation = 0
	// `SUM`: Add the updates across replicas.
	VariableAggregation_VARIABLE_AGGREGATION_SUM VariableAggregation = 1
	// `MEAN`: Take the arithmetic mean ("average") of the updates across
	// replicas.
	VariableAggregation_VARIABLE_AGGREGATION_MEAN VariableAggregation = 2
	// `ONLY_FIRST_REPLICA`: This is for when every replica is performing the same
	// update, but we only want to perform the update once. Used, e.g., for the
	// global step counter.
	VariableAggregation_VARIABLE_AGGREGATION_ONLY_FIRST_REPLICA VariableAggregation = 3
)

func (VariableAggregation) EnumDescriptor

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

func (VariableAggregation) String

func (x VariableAggregation) String() string

type VariableDef

type VariableDef struct {
	// Name of the variable tensor.
	VariableName string `protobuf:"bytes,1,opt,name=variable_name,json=variableName,proto3" json:"variable_name,omitempty"`
	// Name of the tensor holding the variable's initial value.
	InitialValueName string `protobuf:"bytes,6,opt,name=initial_value_name,json=initialValueName,proto3" json:"initial_value_name,omitempty"`
	// Name of the initializer op.
	InitializerName string `protobuf:"bytes,2,opt,name=initializer_name,json=initializerName,proto3" json:"initializer_name,omitempty"`
	// Name of the snapshot tensor.
	SnapshotName string `protobuf:"bytes,3,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	// Support for saving variables as slices of a larger variable.
	SaveSliceInfoDef *SaveSliceInfoDef `protobuf:"bytes,4,opt,name=save_slice_info_def,json=saveSliceInfoDef,proto3" json:"save_slice_info_def,omitempty"`
	// Whether to represent this as a ResourceVariable.
	IsResource bool `protobuf:"varint,5,opt,name=is_resource,json=isResource,proto3" json:"is_resource,omitempty"`
	// Whether this variable should be trained.
	Trainable bool `protobuf:"varint,7,opt,name=trainable,proto3" json:"trainable,omitempty"`
	// Indicates when a distributed variable will be synced.
	Synchronization VariableSynchronization `protobuf:"varint,8,opt,name=synchronization,proto3,enum=tensorflow.VariableSynchronization" json:"synchronization,omitempty"`
	// Indicates how a distributed variable will be aggregated.
	Aggregation VariableAggregation `protobuf:"varint,9,opt,name=aggregation,proto3,enum=tensorflow.VariableAggregation" json:"aggregation,omitempty"`
}

Protocol buffer representing a Variable.

func (*VariableDef) Descriptor

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

func (*VariableDef) GetAggregation

func (m *VariableDef) GetAggregation() VariableAggregation

func (*VariableDef) GetInitialValueName

func (m *VariableDef) GetInitialValueName() string

func (*VariableDef) GetInitializerName

func (m *VariableDef) GetInitializerName() string

func (*VariableDef) GetIsResource

func (m *VariableDef) GetIsResource() bool

func (*VariableDef) GetSaveSliceInfoDef

func (m *VariableDef) GetSaveSliceInfoDef() *SaveSliceInfoDef

func (*VariableDef) GetSnapshotName

func (m *VariableDef) GetSnapshotName() string

func (*VariableDef) GetSynchronization

func (m *VariableDef) GetSynchronization() VariableSynchronization

func (*VariableDef) GetTrainable

func (m *VariableDef) GetTrainable() bool

func (*VariableDef) GetVariableName

func (m *VariableDef) GetVariableName() string

func (*VariableDef) Marshal

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

func (*VariableDef) MarshalTo

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

func (*VariableDef) MarshalToSizedBuffer

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

func (*VariableDef) ProtoMessage

func (*VariableDef) ProtoMessage()

func (*VariableDef) Reset

func (m *VariableDef) Reset()

func (*VariableDef) Size

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

func (*VariableDef) String

func (m *VariableDef) String() string

func (*VariableDef) Unmarshal

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

func (*VariableDef) XXX_DiscardUnknown

func (m *VariableDef) XXX_DiscardUnknown()

func (*VariableDef) XXX_Marshal

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

func (*VariableDef) XXX_Merge

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

func (*VariableDef) XXX_Size

func (m *VariableDef) XXX_Size() int

func (*VariableDef) XXX_Unmarshal

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

type VariableSynchronization

type VariableSynchronization int32

Indicates when a distributed variable will be synced.

const (
	// `AUTO`: Indicates that the synchronization will be determined by the
	// current `DistributionStrategy` (eg. With `MirroredStrategy` this would be
	// `ON_WRITE`).
	VariableSynchronization_VARIABLE_SYNCHRONIZATION_AUTO VariableSynchronization = 0
	// `NONE`: Indicates that there will only be one copy of the variable, so
	// there is no need to sync.
	VariableSynchronization_VARIABLE_SYNCHRONIZATION_NONE VariableSynchronization = 1
	// `ON_WRITE`: Indicates that the variable will be updated across devices
	// every time it is written.
	VariableSynchronization_VARIABLE_SYNCHRONIZATION_ON_WRITE VariableSynchronization = 2
	// `ON_READ`: Indicates that the variable will be aggregated across devices
	// when it is read (eg. when checkpointing or when evaluating an op that uses
	// the variable).
	VariableSynchronization_VARIABLE_SYNCHRONIZATION_ON_READ VariableSynchronization = 3
)

func (VariableSynchronization) EnumDescriptor

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

func (VariableSynchronization) String

func (x VariableSynchronization) String() string

type VariantTensorDataProto

type VariantTensorDataProto struct {
	// Name of the type of objects being serialized.
	TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// Portions of the object that are not Tensors.
	Metadata []byte `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Tensors contained within objects being serialized.
	Tensors []*TensorProto `protobuf:"bytes,3,rep,name=tensors,proto3" json:"tensors,omitempty"`
}

Protocol buffer representing the serialization format of DT_VARIANT tensors.

func (*VariantTensorDataProto) Descriptor

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

func (*VariantTensorDataProto) GetMetadata

func (m *VariantTensorDataProto) GetMetadata() []byte

func (*VariantTensorDataProto) GetTensors

func (m *VariantTensorDataProto) GetTensors() []*TensorProto

func (*VariantTensorDataProto) GetTypeName

func (m *VariantTensorDataProto) GetTypeName() string

func (*VariantTensorDataProto) Marshal

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

func (*VariantTensorDataProto) MarshalTo

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

func (*VariantTensorDataProto) MarshalToSizedBuffer

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

func (*VariantTensorDataProto) ProtoMessage

func (*VariantTensorDataProto) ProtoMessage()

func (*VariantTensorDataProto) Reset

func (m *VariantTensorDataProto) Reset()

func (*VariantTensorDataProto) Size

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

func (*VariantTensorDataProto) String

func (m *VariantTensorDataProto) String() string

func (*VariantTensorDataProto) Unmarshal

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

func (*VariantTensorDataProto) XXX_DiscardUnknown

func (m *VariantTensorDataProto) XXX_DiscardUnknown()

func (*VariantTensorDataProto) XXX_Marshal

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

func (*VariantTensorDataProto) XXX_Merge

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

func (*VariantTensorDataProto) XXX_Size

func (m *VariantTensorDataProto) XXX_Size() int

func (*VariantTensorDataProto) XXX_Unmarshal

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

type VersionDef

type VersionDef struct {
	// The version of the code that produced this data.
	Producer int32 `protobuf:"varint,1,opt,name=producer,proto3" json:"producer,omitempty"`
	// Any consumer below this version is not allowed to consume this data.
	MinConsumer int32 `protobuf:"varint,2,opt,name=min_consumer,json=minConsumer,proto3" json:"min_consumer,omitempty"`
	// Specific consumer versions which are disallowed (e.g. due to bugs).
	BadConsumers []int32 `protobuf:"varint,3,rep,packed,name=bad_consumers,json=badConsumers,proto3" json:"bad_consumers,omitempty"`
}

Version information for a piece of serialized data

There are different types of versions for each type of data (GraphDef, etc.), but they all have the same common shape described here.

Each consumer has "consumer" and "min_producer" versions (specified elsewhere). A consumer is allowed to consume this data if

producer >= min_producer
consumer >= min_consumer
consumer not in bad_consumers

func (*VersionDef) Descriptor

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

func (*VersionDef) GetBadConsumers

func (m *VersionDef) GetBadConsumers() []int32

func (*VersionDef) GetMinConsumer

func (m *VersionDef) GetMinConsumer() int32

func (*VersionDef) GetProducer

func (m *VersionDef) GetProducer() int32

func (*VersionDef) Marshal

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

func (*VersionDef) MarshalTo

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

func (*VersionDef) MarshalToSizedBuffer

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

func (*VersionDef) ProtoMessage

func (*VersionDef) ProtoMessage()

func (*VersionDef) Reset

func (m *VersionDef) Reset()

func (*VersionDef) Size

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

func (*VersionDef) String

func (m *VersionDef) String() string

func (*VersionDef) Unmarshal

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

func (*VersionDef) XXX_DiscardUnknown

func (m *VersionDef) XXX_DiscardUnknown()

func (*VersionDef) XXX_Marshal

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

func (*VersionDef) XXX_Merge

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

func (*VersionDef) XXX_Size

func (m *VersionDef) XXX_Size() int

func (*VersionDef) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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