Documentation ¶
Overview ¶
Package terf is a generated protocol buffer package.
It is generated from these files:
tensorflow/core/example/example.proto tensorflow/core/example/example_parser_configuration.proto tensorflow/core/example/feature.proto
It has these top-level messages:
Example SequenceExample VarLenFeatureProto FixedLenFeatureProto FeatureConfiguration ExampleParserConfiguration BytesList FloatList Int64List Feature Features FeatureList FeatureLists
Index ¶
- type BytesList
- type Example
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)
- func (m *Feature) GetBytesList() *BytesList
- func (m *Feature) GetFloatList() *FloatList
- func (m *Feature) GetInt64List() *Int64List
- func (m *Feature) GetKind() isFeature_Kind
- func (*Feature) ProtoMessage()
- func (m *Feature) Reset()
- func (m *Feature) String() string
- func (*Feature) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type FeatureList
- type FeatureLists
- type Feature_BytesList
- type Feature_FloatList
- type Feature_Int64List
- type Features
- type FloatList
- type Int64List
- type SequenceExample
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesList ¶
type BytesList struct {
Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}
Containers to hold repeated fundamental values.
func (*BytesList) Descriptor ¶
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
type Example ¶
type Example struct {
Features *Features `protobuf:"bytes,1,opt,name=features" json:"features,omitempty"`
}
func (*Example) Descriptor ¶
func (*Example) GetFeatures ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
type Feature ¶
type Feature struct { // Each feature can be exactly one kind. // // Types that are valid to be assigned to Kind: // *Feature_BytesList // *Feature_FloatList // *Feature_Int64List Kind isFeature_Kind `protobuf_oneof:"kind"` }
Containers for non-sequential data.
func (*Feature) Descriptor ¶
func (*Feature) GetBytesList ¶
func (*Feature) GetFloatList ¶
func (*Feature) GetInt64List ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
type FeatureList ¶
type FeatureList struct {
Feature []*Feature `protobuf:"bytes,1,rep,name=feature" json:"feature,omitempty"`
}
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 ¶
func (*FeatureList) Descriptor() ([]byte, []int)
func (*FeatureList) GetFeature ¶
func (m *FeatureList) GetFeature() []*Feature
func (*FeatureList) ProtoMessage ¶
func (*FeatureList) ProtoMessage()
func (*FeatureList) Reset ¶
func (m *FeatureList) Reset()
func (*FeatureList) String ¶
func (m *FeatureList) String() string
type FeatureLists ¶
type FeatureLists struct { // Map from feature name to feature list. FeatureList map[string]*FeatureList `` /* 161-byte string literal not displayed */ }
func (*FeatureLists) Descriptor ¶
func (*FeatureLists) Descriptor() ([]byte, []int)
func (*FeatureLists) GetFeatureList ¶
func (m *FeatureLists) GetFeatureList() map[string]*FeatureList
func (*FeatureLists) ProtoMessage ¶
func (*FeatureLists) ProtoMessage()
func (*FeatureLists) Reset ¶
func (m *FeatureLists) Reset()
func (*FeatureLists) String ¶
func (m *FeatureLists) String() string
type Feature_BytesList ¶
type Feature_BytesList struct {
BytesList *BytesList `protobuf:"bytes,1,opt,name=bytes_list,json=bytesList,oneof"`
}
type Feature_FloatList ¶
type Feature_FloatList struct {
FloatList *FloatList `protobuf:"bytes,2,opt,name=float_list,json=floatList,oneof"`
}
type Feature_Int64List ¶
type Feature_Int64List struct {
Int64List *Int64List `protobuf:"bytes,3,opt,name=int64_list,json=int64List,oneof"`
}
type Features ¶
type Features struct { // Map from feature name to feature. Feature map[string]*Feature `` /* 134-byte string literal not displayed */ }
func (*Features) Descriptor ¶
func (*Features) GetFeature ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
type FloatList ¶
type FloatList struct {
Value []float32 `protobuf:"fixed32,1,rep,packed,name=value" json:"value,omitempty"`
}
func (*FloatList) Descriptor ¶
func (*FloatList) ProtoMessage ¶
func (*FloatList) ProtoMessage()
type Int64List ¶
type Int64List struct {
Value []int64 `protobuf:"varint,1,rep,packed,name=value" json:"value,omitempty"`
}
func (*Int64List) Descriptor ¶
func (*Int64List) ProtoMessage ¶
func (*Int64List) ProtoMessage()
type SequenceExample ¶
type SequenceExample struct { Context *Features `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"` FeatureLists *FeatureLists `protobuf:"bytes,2,opt,name=feature_lists,json=featureLists" json:"feature_lists,omitempty"` }
func (*SequenceExample) Descriptor ¶
func (*SequenceExample) Descriptor() ([]byte, []int)
func (*SequenceExample) GetContext ¶
func (m *SequenceExample) GetContext() *Features
func (*SequenceExample) GetFeatureLists ¶
func (m *SequenceExample) GetFeatureLists() *FeatureLists
func (*SequenceExample) ProtoMessage ¶
func (*SequenceExample) ProtoMessage()
func (*SequenceExample) Reset ¶
func (m *SequenceExample) Reset()
func (*SequenceExample) String ¶
func (m *SequenceExample) String() string
Click to show internal directories.
Click to hide internal directories.