Documentation ¶
Index ¶
- Variables
- type BytesList
- type Example
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetBytesList() *BytesList
- func (x *Feature) GetFloatList() *FloatList
- func (x *Feature) GetInt64List() *Int64List
- func (m *Feature) GetKind() isFeature_Kind
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- type FeatureList
- type FeatureLists
- type Feature_BytesList
- type Feature_FloatList
- type Feature_Int64List
- type Features
- type FloatList
- type Int64List
- type SequenceExample
- func (*SequenceExample) Descriptor() ([]byte, []int)deprecated
- func (x *SequenceExample) GetContext() *Features
- func (x *SequenceExample) GetFeatureLists() *FeatureLists
- func (*SequenceExample) ProtoMessage()
- func (x *SequenceExample) ProtoReflect() protoreflect.Message
- func (x *SequenceExample) Reset()
- func (x *SequenceExample) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tensorflow_core_example_example_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_example_feature_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BytesList ¶
type BytesList struct { Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
LINT.IfChange Containers to hold repeated fundamental values.
func (*BytesList) Descriptor
deprecated
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
func (*BytesList) ProtoReflect ¶ added in v2.4.1
func (x *BytesList) ProtoReflect() protoreflect.Message
type Example ¶
type Example struct { Features *Features `protobuf:"bytes,1,opt,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
func (*Example) Descriptor
deprecated
func (*Example) GetFeatures ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶ added in v2.4.1
func (x *Example) ProtoReflect() protoreflect.Message
type Feature ¶
type Feature struct { // Each feature can be exactly one kind. // // Types that are assignable to Kind: // *Feature_BytesList // *Feature_FloatList // *Feature_Int64List Kind isFeature_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
Containers for non-sequential data.
func (*Feature) Descriptor
deprecated
func (*Feature) GetBytesList ¶
func (*Feature) GetFloatList ¶
func (*Feature) GetInt64List ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶ added in v2.4.1
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureList ¶
type FeatureList struct { Feature []*Feature `protobuf:"bytes,1,rep,name=feature,proto3" json:"feature,omitempty"` // contains filtered or unexported fields }
Containers for sequential data.
A FeatureList contains lists of Features. These may hold zero or more Feature values.
FeatureLists are organized into categories by name. The FeatureLists message contains the mapping from name to FeatureList.
func (*FeatureList) Descriptor
deprecated
func (*FeatureList) Descriptor() ([]byte, []int)
Deprecated: Use FeatureList.ProtoReflect.Descriptor instead.
func (*FeatureList) GetFeature ¶
func (x *FeatureList) GetFeature() []*Feature
func (*FeatureList) ProtoMessage ¶
func (*FeatureList) ProtoMessage()
func (*FeatureList) ProtoReflect ¶ added in v2.4.1
func (x *FeatureList) ProtoReflect() protoreflect.Message
func (*FeatureList) Reset ¶
func (x *FeatureList) Reset()
func (*FeatureList) String ¶
func (x *FeatureList) String() string
type FeatureLists ¶
type FeatureLists struct { // Map from feature name to feature list. FeatureList map[string]*FeatureList `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FeatureLists) Descriptor
deprecated
func (*FeatureLists) Descriptor() ([]byte, []int)
Deprecated: Use FeatureLists.ProtoReflect.Descriptor instead.
func (*FeatureLists) GetFeatureList ¶
func (x *FeatureLists) GetFeatureList() map[string]*FeatureList
func (*FeatureLists) ProtoMessage ¶
func (*FeatureLists) ProtoMessage()
func (*FeatureLists) ProtoReflect ¶ added in v2.4.1
func (x *FeatureLists) ProtoReflect() protoreflect.Message
func (*FeatureLists) Reset ¶
func (x *FeatureLists) Reset()
func (*FeatureLists) String ¶
func (x *FeatureLists) String() string
type Feature_BytesList ¶
type Feature_BytesList struct {
BytesList *BytesList `protobuf:"bytes,1,opt,name=bytes_list,json=bytesList,proto3,oneof"`
}
type Feature_FloatList ¶
type Feature_FloatList struct {
FloatList *FloatList `protobuf:"bytes,2,opt,name=float_list,json=floatList,proto3,oneof"`
}
type Feature_Int64List ¶
type Feature_Int64List struct {
Int64List *Int64List `protobuf:"bytes,3,opt,name=int64_list,json=int64List,proto3,oneof"`
}
type Features ¶
type Features struct { // Map from feature name to feature. Feature map[string]*Feature `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Features) Descriptor
deprecated
func (*Features) GetFeature ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) ProtoReflect ¶ added in v2.4.1
func (x *Features) ProtoReflect() protoreflect.Message
type FloatList ¶
type FloatList struct { Value []float32 `protobuf:"fixed32,1,rep,packed,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*FloatList) Descriptor
deprecated
func (*FloatList) ProtoMessage ¶
func (*FloatList) ProtoMessage()
func (*FloatList) ProtoReflect ¶ added in v2.4.1
func (x *FloatList) ProtoReflect() protoreflect.Message
type Int64List ¶
type Int64List struct { Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Int64List) Descriptor
deprecated
func (*Int64List) ProtoMessage ¶
func (*Int64List) ProtoMessage()
func (*Int64List) ProtoReflect ¶ added in v2.4.1
func (x *Int64List) ProtoReflect() protoreflect.Message
type SequenceExample ¶
type SequenceExample struct { Context *Features `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` FeatureLists *FeatureLists `protobuf:"bytes,2,opt,name=feature_lists,json=featureLists,proto3" json:"feature_lists,omitempty"` // contains filtered or unexported fields }
func (*SequenceExample) Descriptor
deprecated
func (*SequenceExample) Descriptor() ([]byte, []int)
Deprecated: Use SequenceExample.ProtoReflect.Descriptor instead.
func (*SequenceExample) GetContext ¶
func (x *SequenceExample) GetContext() *Features
func (*SequenceExample) GetFeatureLists ¶
func (x *SequenceExample) GetFeatureLists() *FeatureLists
func (*SequenceExample) ProtoMessage ¶
func (*SequenceExample) ProtoMessage()
func (*SequenceExample) ProtoReflect ¶ added in v2.4.1
func (x *SequenceExample) ProtoReflect() protoreflect.Message
func (*SequenceExample) Reset ¶
func (x *SequenceExample) Reset()
func (*SequenceExample) String ¶
func (x *SequenceExample) String() string
Click to show internal directories.
Click to hide internal directories.