Documentation ¶
Index ¶
- Variables
- type BytesList
- func (*BytesList) Descriptor() ([]byte, []int)
- func (m *BytesList) GetValue() [][]byte
- func (m *BytesList) Marshal() (dAtA []byte, err error)
- func (m *BytesList) MarshalTo(dAtA []byte) (int, error)
- func (m *BytesList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BytesList) ProtoMessage()
- func (m *BytesList) Reset()
- func (m *BytesList) Size() (n int)
- func (m *BytesList) String() string
- func (m *BytesList) Unmarshal(dAtA []byte) error
- func (m *BytesList) XXX_DiscardUnknown()
- func (m *BytesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BytesList) XXX_Merge(src proto.Message)
- func (m *BytesList) XXX_Size() int
- func (m *BytesList) XXX_Unmarshal(b []byte) error
- type Example
- func (*Example) Descriptor() ([]byte, []int)
- func (m *Example) GetFeatures() *Features
- func (m *Example) Marshal() (dAtA []byte, err error)
- func (m *Example) MarshalTo(dAtA []byte) (int, error)
- func (m *Example) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Example) ProtoMessage()
- func (m *Example) Reset()
- func (m *Example) Size() (n int)
- func (m *Example) String() string
- func (m *Example) Unmarshal(dAtA []byte) error
- func (m *Example) XXX_DiscardUnknown()
- func (m *Example) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Example) XXX_Merge(src proto.Message)
- func (m *Example) XXX_Size() int
- func (m *Example) XXX_Unmarshal(b []byte) error
- type ExampleParserConfiguration
- func (*ExampleParserConfiguration) Descriptor() ([]byte, []int)
- func (m *ExampleParserConfiguration) GetFeatureMap() map[string]*FeatureConfiguration
- func (m *ExampleParserConfiguration) Marshal() (dAtA []byte, err error)
- func (m *ExampleParserConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *ExampleParserConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExampleParserConfiguration) ProtoMessage()
- func (m *ExampleParserConfiguration) Reset()
- func (m *ExampleParserConfiguration) Size() (n int)
- func (m *ExampleParserConfiguration) String() string
- func (m *ExampleParserConfiguration) Unmarshal(dAtA []byte) error
- func (m *ExampleParserConfiguration) XXX_DiscardUnknown()
- func (m *ExampleParserConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExampleParserConfiguration) XXX_Merge(src proto.Message)
- func (m *ExampleParserConfiguration) XXX_Size() int
- func (m *ExampleParserConfiguration) XXX_Unmarshal(b []byte) error
- 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 (m *Feature) Marshal() (dAtA []byte, err error)
- func (m *Feature) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Feature) ProtoMessage()
- func (m *Feature) Reset()
- func (m *Feature) Size() (n int)
- func (m *Feature) String() string
- func (m *Feature) Unmarshal(dAtA []byte) error
- func (m *Feature) XXX_DiscardUnknown()
- func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Feature) XXX_Merge(src proto.Message)
- func (*Feature) XXX_OneofWrappers() []interface{}
- func (m *Feature) XXX_Size() int
- func (m *Feature) XXX_Unmarshal(b []byte) error
- type FeatureConfiguration
- func (*FeatureConfiguration) Descriptor() ([]byte, []int)
- func (m *FeatureConfiguration) GetConfig() isFeatureConfiguration_Config
- func (m *FeatureConfiguration) GetFixedLenFeature() *FixedLenFeatureProto
- func (m *FeatureConfiguration) GetVarLenFeature() *VarLenFeatureProto
- func (m *FeatureConfiguration) Marshal() (dAtA []byte, err error)
- func (m *FeatureConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (m *FeatureConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeatureConfiguration) ProtoMessage()
- func (m *FeatureConfiguration) Reset()
- func (m *FeatureConfiguration) Size() (n int)
- func (m *FeatureConfiguration) String() string
- func (m *FeatureConfiguration) Unmarshal(dAtA []byte) error
- func (m *FeatureConfiguration) XXX_DiscardUnknown()
- func (m *FeatureConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeatureConfiguration) XXX_Merge(src proto.Message)
- func (*FeatureConfiguration) XXX_OneofWrappers() []interface{}
- func (m *FeatureConfiguration) XXX_Size() int
- func (m *FeatureConfiguration) XXX_Unmarshal(b []byte) error
- type FeatureConfiguration_FixedLenFeature
- type FeatureConfiguration_VarLenFeature
- type FeatureList
- func (*FeatureList) Descriptor() ([]byte, []int)
- func (m *FeatureList) GetFeature() []*Feature
- func (m *FeatureList) Marshal() (dAtA []byte, err error)
- func (m *FeatureList) MarshalTo(dAtA []byte) (int, error)
- func (m *FeatureList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeatureList) ProtoMessage()
- func (m *FeatureList) Reset()
- func (m *FeatureList) Size() (n int)
- func (m *FeatureList) String() string
- func (m *FeatureList) Unmarshal(dAtA []byte) error
- func (m *FeatureList) XXX_DiscardUnknown()
- func (m *FeatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeatureList) XXX_Merge(src proto.Message)
- func (m *FeatureList) XXX_Size() int
- func (m *FeatureList) XXX_Unmarshal(b []byte) error
- type FeatureLists
- func (*FeatureLists) Descriptor() ([]byte, []int)
- func (m *FeatureLists) GetFeatureList() map[string]*FeatureList
- func (m *FeatureLists) Marshal() (dAtA []byte, err error)
- func (m *FeatureLists) MarshalTo(dAtA []byte) (int, error)
- func (m *FeatureLists) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeatureLists) ProtoMessage()
- func (m *FeatureLists) Reset()
- func (m *FeatureLists) Size() (n int)
- func (m *FeatureLists) String() string
- func (m *FeatureLists) Unmarshal(dAtA []byte) error
- func (m *FeatureLists) XXX_DiscardUnknown()
- func (m *FeatureLists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeatureLists) XXX_Merge(src proto.Message)
- func (m *FeatureLists) XXX_Size() int
- func (m *FeatureLists) XXX_Unmarshal(b []byte) error
- type Feature_BytesList
- type Feature_FloatList
- type Feature_Int64List
- type Features
- func (*Features) Descriptor() ([]byte, []int)
- func (m *Features) GetFeature() map[string]*Feature
- func (m *Features) Marshal() (dAtA []byte, err error)
- func (m *Features) MarshalTo(dAtA []byte) (int, error)
- func (m *Features) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Features) ProtoMessage()
- func (m *Features) Reset()
- func (m *Features) Size() (n int)
- func (m *Features) String() string
- func (m *Features) Unmarshal(dAtA []byte) error
- func (m *Features) XXX_DiscardUnknown()
- func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Features) XXX_Merge(src proto.Message)
- func (m *Features) XXX_Size() int
- func (m *Features) XXX_Unmarshal(b []byte) error
- type FixedLenFeatureProto
- func (*FixedLenFeatureProto) Descriptor() ([]byte, []int)
- func (m *FixedLenFeatureProto) GetDefaultValue() *framework.TensorProto
- func (m *FixedLenFeatureProto) GetDtype() framework.DataType
- func (m *FixedLenFeatureProto) GetShape() *framework.TensorShapeProto
- func (m *FixedLenFeatureProto) GetValuesOutputTensorName() string
- func (m *FixedLenFeatureProto) Marshal() (dAtA []byte, err error)
- func (m *FixedLenFeatureProto) MarshalTo(dAtA []byte) (int, error)
- func (m *FixedLenFeatureProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FixedLenFeatureProto) ProtoMessage()
- func (m *FixedLenFeatureProto) Reset()
- func (m *FixedLenFeatureProto) Size() (n int)
- func (m *FixedLenFeatureProto) String() string
- func (m *FixedLenFeatureProto) Unmarshal(dAtA []byte) error
- func (m *FixedLenFeatureProto) XXX_DiscardUnknown()
- func (m *FixedLenFeatureProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FixedLenFeatureProto) XXX_Merge(src proto.Message)
- func (m *FixedLenFeatureProto) XXX_Size() int
- func (m *FixedLenFeatureProto) XXX_Unmarshal(b []byte) error
- type FloatList
- func (*FloatList) Descriptor() ([]byte, []int)
- func (m *FloatList) GetValue() []float32
- func (m *FloatList) Marshal() (dAtA []byte, err error)
- func (m *FloatList) MarshalTo(dAtA []byte) (int, error)
- func (m *FloatList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FloatList) ProtoMessage()
- func (m *FloatList) Reset()
- func (m *FloatList) Size() (n int)
- func (m *FloatList) String() string
- func (m *FloatList) Unmarshal(dAtA []byte) error
- func (m *FloatList) XXX_DiscardUnknown()
- func (m *FloatList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FloatList) XXX_Merge(src proto.Message)
- func (m *FloatList) XXX_Size() int
- func (m *FloatList) XXX_Unmarshal(b []byte) error
- type Int64List
- func (*Int64List) Descriptor() ([]byte, []int)
- func (m *Int64List) GetValue() []int64
- func (m *Int64List) Marshal() (dAtA []byte, err error)
- func (m *Int64List) MarshalTo(dAtA []byte) (int, error)
- func (m *Int64List) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Int64List) ProtoMessage()
- func (m *Int64List) Reset()
- func (m *Int64List) Size() (n int)
- func (m *Int64List) String() string
- func (m *Int64List) Unmarshal(dAtA []byte) error
- func (m *Int64List) XXX_DiscardUnknown()
- func (m *Int64List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64List) XXX_Merge(src proto.Message)
- func (m *Int64List) XXX_Size() int
- func (m *Int64List) XXX_Unmarshal(b []byte) error
- type SequenceExample
- func (*SequenceExample) Descriptor() ([]byte, []int)
- func (m *SequenceExample) GetContext() *Features
- func (m *SequenceExample) GetFeatureLists() *FeatureLists
- func (m *SequenceExample) Marshal() (dAtA []byte, err error)
- func (m *SequenceExample) MarshalTo(dAtA []byte) (int, error)
- func (m *SequenceExample) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SequenceExample) ProtoMessage()
- func (m *SequenceExample) Reset()
- func (m *SequenceExample) Size() (n int)
- func (m *SequenceExample) String() string
- func (m *SequenceExample) Unmarshal(dAtA []byte) error
- func (m *SequenceExample) XXX_DiscardUnknown()
- func (m *SequenceExample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SequenceExample) XXX_Merge(src proto.Message)
- func (m *SequenceExample) XXX_Size() int
- func (m *SequenceExample) XXX_Unmarshal(b []byte) error
- type VarLenFeatureProto
- func (*VarLenFeatureProto) Descriptor() ([]byte, []int)
- func (m *VarLenFeatureProto) GetDtype() framework.DataType
- func (m *VarLenFeatureProto) GetIndicesOutputTensorName() string
- func (m *VarLenFeatureProto) GetShapesOutputTensorName() string
- func (m *VarLenFeatureProto) GetValuesOutputTensorName() string
- func (m *VarLenFeatureProto) Marshal() (dAtA []byte, err error)
- func (m *VarLenFeatureProto) MarshalTo(dAtA []byte) (int, error)
- func (m *VarLenFeatureProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VarLenFeatureProto) ProtoMessage()
- func (m *VarLenFeatureProto) Reset()
- func (m *VarLenFeatureProto) Size() (n int)
- func (m *VarLenFeatureProto) String() string
- func (m *VarLenFeatureProto) Unmarshal(dAtA []byte) error
- func (m *VarLenFeatureProto) XXX_DiscardUnknown()
- func (m *VarLenFeatureProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VarLenFeatureProto) XXX_Merge(src proto.Message)
- func (m *VarLenFeatureProto) XXX_Size() int
- func (m *VarLenFeatureProto) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthExample = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExample = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupExample = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthExampleParserConfiguration = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExampleParserConfiguration = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupExampleParserConfiguration = fmt.Errorf("proto: unexpected end of group") )
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) MarshalToSizedBuffer ¶
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
func (*BytesList) XXX_DiscardUnknown ¶
func (m *BytesList) XXX_DiscardUnknown()
func (*BytesList) XXX_Marshal ¶
func (*BytesList) XXX_Unmarshal ¶
type Example ¶
type Example struct {
Features *Features `protobuf:"bytes,1,opt,name=features,proto3" json:"features,omitempty"`
}
func (*Example) Descriptor ¶
func (*Example) GetFeatures ¶
func (*Example) MarshalToSizedBuffer ¶
func (*Example) ProtoMessage ¶
func (*Example) ProtoMessage()
func (*Example) XXX_DiscardUnknown ¶
func (m *Example) XXX_DiscardUnknown()
func (*Example) XXX_Marshal ¶
func (*Example) XXX_Unmarshal ¶
type ExampleParserConfiguration ¶
type ExampleParserConfiguration struct {
FeatureMap map[string]*FeatureConfiguration `` /* 179-byte string literal not displayed */
}
func (*ExampleParserConfiguration) Descriptor ¶
func (*ExampleParserConfiguration) Descriptor() ([]byte, []int)
func (*ExampleParserConfiguration) GetFeatureMap ¶
func (m *ExampleParserConfiguration) GetFeatureMap() map[string]*FeatureConfiguration
func (*ExampleParserConfiguration) Marshal ¶
func (m *ExampleParserConfiguration) Marshal() (dAtA []byte, err error)
func (*ExampleParserConfiguration) MarshalTo ¶
func (m *ExampleParserConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*ExampleParserConfiguration) MarshalToSizedBuffer ¶
func (m *ExampleParserConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExampleParserConfiguration) ProtoMessage ¶
func (*ExampleParserConfiguration) ProtoMessage()
func (*ExampleParserConfiguration) Reset ¶
func (m *ExampleParserConfiguration) Reset()
func (*ExampleParserConfiguration) Size ¶
func (m *ExampleParserConfiguration) Size() (n int)
func (*ExampleParserConfiguration) String ¶
func (m *ExampleParserConfiguration) String() string
func (*ExampleParserConfiguration) Unmarshal ¶
func (m *ExampleParserConfiguration) Unmarshal(dAtA []byte) error
func (*ExampleParserConfiguration) XXX_DiscardUnknown ¶
func (m *ExampleParserConfiguration) XXX_DiscardUnknown()
func (*ExampleParserConfiguration) XXX_Marshal ¶
func (m *ExampleParserConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExampleParserConfiguration) XXX_Merge ¶
func (m *ExampleParserConfiguration) XXX_Merge(src proto.Message)
func (*ExampleParserConfiguration) XXX_Size ¶
func (m *ExampleParserConfiguration) XXX_Size() int
func (*ExampleParserConfiguration) XXX_Unmarshal ¶
func (m *ExampleParserConfiguration) XXX_Unmarshal(b []byte) error
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) MarshalToSizedBuffer ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) XXX_DiscardUnknown ¶
func (m *Feature) XXX_DiscardUnknown()
func (*Feature) XXX_Marshal ¶
func (*Feature) XXX_OneofWrappers ¶
func (*Feature) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Feature) XXX_Unmarshal ¶
type FeatureConfiguration ¶
type FeatureConfiguration struct { // Types that are valid to be assigned to Config: // *FeatureConfiguration_FixedLenFeature // *FeatureConfiguration_VarLenFeature Config isFeatureConfiguration_Config `protobuf_oneof:"config"` }
func (*FeatureConfiguration) Descriptor ¶
func (*FeatureConfiguration) Descriptor() ([]byte, []int)
func (*FeatureConfiguration) GetConfig ¶
func (m *FeatureConfiguration) GetConfig() isFeatureConfiguration_Config
func (*FeatureConfiguration) GetFixedLenFeature ¶
func (m *FeatureConfiguration) GetFixedLenFeature() *FixedLenFeatureProto
func (*FeatureConfiguration) GetVarLenFeature ¶
func (m *FeatureConfiguration) GetVarLenFeature() *VarLenFeatureProto
func (*FeatureConfiguration) Marshal ¶
func (m *FeatureConfiguration) Marshal() (dAtA []byte, err error)
func (*FeatureConfiguration) MarshalTo ¶
func (m *FeatureConfiguration) MarshalTo(dAtA []byte) (int, error)
func (*FeatureConfiguration) MarshalToSizedBuffer ¶
func (m *FeatureConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeatureConfiguration) ProtoMessage ¶
func (*FeatureConfiguration) ProtoMessage()
func (*FeatureConfiguration) Reset ¶
func (m *FeatureConfiguration) Reset()
func (*FeatureConfiguration) Size ¶
func (m *FeatureConfiguration) Size() (n int)
func (*FeatureConfiguration) String ¶
func (m *FeatureConfiguration) String() string
func (*FeatureConfiguration) Unmarshal ¶
func (m *FeatureConfiguration) Unmarshal(dAtA []byte) error
func (*FeatureConfiguration) XXX_DiscardUnknown ¶
func (m *FeatureConfiguration) XXX_DiscardUnknown()
func (*FeatureConfiguration) XXX_Marshal ¶
func (m *FeatureConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeatureConfiguration) XXX_Merge ¶
func (m *FeatureConfiguration) XXX_Merge(src proto.Message)
func (*FeatureConfiguration) XXX_OneofWrappers ¶
func (*FeatureConfiguration) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*FeatureConfiguration) XXX_Size ¶
func (m *FeatureConfiguration) XXX_Size() int
func (*FeatureConfiguration) XXX_Unmarshal ¶
func (m *FeatureConfiguration) XXX_Unmarshal(b []byte) error
type FeatureConfiguration_FixedLenFeature ¶
type FeatureConfiguration_FixedLenFeature struct {
FixedLenFeature *FixedLenFeatureProto `protobuf:"bytes,1,opt,name=fixed_len_feature,json=fixedLenFeature,proto3,oneof" json:"fixed_len_feature,omitempty"`
}
func (*FeatureConfiguration_FixedLenFeature) MarshalTo ¶
func (m *FeatureConfiguration_FixedLenFeature) MarshalTo(dAtA []byte) (int, error)
func (*FeatureConfiguration_FixedLenFeature) MarshalToSizedBuffer ¶
func (m *FeatureConfiguration_FixedLenFeature) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeatureConfiguration_FixedLenFeature) Size ¶
func (m *FeatureConfiguration_FixedLenFeature) Size() (n int)
type FeatureConfiguration_VarLenFeature ¶
type FeatureConfiguration_VarLenFeature struct {
VarLenFeature *VarLenFeatureProto `protobuf:"bytes,2,opt,name=var_len_feature,json=varLenFeature,proto3,oneof" json:"var_len_feature,omitempty"`
}
func (*FeatureConfiguration_VarLenFeature) MarshalTo ¶
func (m *FeatureConfiguration_VarLenFeature) MarshalTo(dAtA []byte) (int, error)
func (*FeatureConfiguration_VarLenFeature) MarshalToSizedBuffer ¶
func (m *FeatureConfiguration_VarLenFeature) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeatureConfiguration_VarLenFeature) Size ¶
func (m *FeatureConfiguration_VarLenFeature) Size() (n int)
type FeatureList ¶
type FeatureList struct {
Feature []*Feature `protobuf:"bytes,1,rep,name=feature,proto3" 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) Marshal ¶
func (m *FeatureList) Marshal() (dAtA []byte, err error)
func (*FeatureList) MarshalToSizedBuffer ¶
func (m *FeatureList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeatureList) ProtoMessage ¶
func (*FeatureList) ProtoMessage()
func (*FeatureList) Reset ¶
func (m *FeatureList) Reset()
func (*FeatureList) Size ¶
func (m *FeatureList) Size() (n int)
func (*FeatureList) String ¶
func (m *FeatureList) String() string
func (*FeatureList) Unmarshal ¶
func (m *FeatureList) Unmarshal(dAtA []byte) error
func (*FeatureList) XXX_DiscardUnknown ¶
func (m *FeatureList) XXX_DiscardUnknown()
func (*FeatureList) XXX_Marshal ¶
func (m *FeatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeatureList) XXX_Merge ¶
func (m *FeatureList) XXX_Merge(src proto.Message)
func (*FeatureList) XXX_Size ¶
func (m *FeatureList) XXX_Size() int
func (*FeatureList) XXX_Unmarshal ¶
func (m *FeatureList) XXX_Unmarshal(b []byte) error
type FeatureLists ¶
type FeatureLists struct { // Map from feature name to feature list. FeatureList map[string]*FeatureList `` /* 182-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) Marshal ¶
func (m *FeatureLists) Marshal() (dAtA []byte, err error)
func (*FeatureLists) MarshalToSizedBuffer ¶
func (m *FeatureLists) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeatureLists) ProtoMessage ¶
func (*FeatureLists) ProtoMessage()
func (*FeatureLists) Reset ¶
func (m *FeatureLists) Reset()
func (*FeatureLists) Size ¶
func (m *FeatureLists) Size() (n int)
func (*FeatureLists) String ¶
func (m *FeatureLists) String() string
func (*FeatureLists) Unmarshal ¶
func (m *FeatureLists) Unmarshal(dAtA []byte) error
func (*FeatureLists) XXX_DiscardUnknown ¶
func (m *FeatureLists) XXX_DiscardUnknown()
func (*FeatureLists) XXX_Marshal ¶
func (m *FeatureLists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeatureLists) XXX_Merge ¶
func (m *FeatureLists) XXX_Merge(src proto.Message)
func (*FeatureLists) XXX_Size ¶
func (m *FeatureLists) XXX_Size() int
func (*FeatureLists) XXX_Unmarshal ¶
func (m *FeatureLists) XXX_Unmarshal(b []byte) error
type Feature_BytesList ¶
type Feature_BytesList struct {
BytesList *BytesList `protobuf:"bytes,1,opt,name=bytes_list,json=bytesList,proto3,oneof" json:"bytes_list,omitempty"`
}
func (*Feature_BytesList) MarshalTo ¶
func (m *Feature_BytesList) MarshalTo(dAtA []byte) (int, error)
func (*Feature_BytesList) MarshalToSizedBuffer ¶
func (m *Feature_BytesList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Feature_BytesList) Size ¶
func (m *Feature_BytesList) Size() (n int)
type Feature_FloatList ¶
type Feature_FloatList struct {
FloatList *FloatList `protobuf:"bytes,2,opt,name=float_list,json=floatList,proto3,oneof" json:"float_list,omitempty"`
}
func (*Feature_FloatList) MarshalTo ¶
func (m *Feature_FloatList) MarshalTo(dAtA []byte) (int, error)
func (*Feature_FloatList) MarshalToSizedBuffer ¶
func (m *Feature_FloatList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Feature_FloatList) Size ¶
func (m *Feature_FloatList) Size() (n int)
type Feature_Int64List ¶
type Feature_Int64List struct {
Int64List *Int64List `protobuf:"bytes,3,opt,name=int64_list,json=int64List,proto3,oneof" json:"int64_list,omitempty"`
}
func (*Feature_Int64List) MarshalTo ¶
func (m *Feature_Int64List) MarshalTo(dAtA []byte) (int, error)
func (*Feature_Int64List) MarshalToSizedBuffer ¶
func (m *Feature_Int64List) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Feature_Int64List) Size ¶
func (m *Feature_Int64List) Size() (n int)
type Features ¶
type Features struct { // Map from feature name to feature. Feature map[string]*Feature `` /* 155-byte string literal not displayed */ }
func (*Features) Descriptor ¶
func (*Features) GetFeature ¶
func (*Features) MarshalToSizedBuffer ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) XXX_DiscardUnknown ¶
func (m *Features) XXX_DiscardUnknown()
func (*Features) XXX_Marshal ¶
func (*Features) XXX_Unmarshal ¶
type FixedLenFeatureProto ¶
type FixedLenFeatureProto struct { Dtype framework.DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"` Shape *framework.TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"` DefaultValue *framework.TensorProto `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` ValuesOutputTensorName string `` /* 131-byte string literal not displayed */ }
func (*FixedLenFeatureProto) Descriptor ¶
func (*FixedLenFeatureProto) Descriptor() ([]byte, []int)
func (*FixedLenFeatureProto) GetDefaultValue ¶
func (m *FixedLenFeatureProto) GetDefaultValue() *framework.TensorProto
func (*FixedLenFeatureProto) GetDtype ¶
func (m *FixedLenFeatureProto) GetDtype() framework.DataType
func (*FixedLenFeatureProto) GetShape ¶
func (m *FixedLenFeatureProto) GetShape() *framework.TensorShapeProto
func (*FixedLenFeatureProto) GetValuesOutputTensorName ¶
func (m *FixedLenFeatureProto) GetValuesOutputTensorName() string
func (*FixedLenFeatureProto) Marshal ¶
func (m *FixedLenFeatureProto) Marshal() (dAtA []byte, err error)
func (*FixedLenFeatureProto) MarshalTo ¶
func (m *FixedLenFeatureProto) MarshalTo(dAtA []byte) (int, error)
func (*FixedLenFeatureProto) MarshalToSizedBuffer ¶
func (m *FixedLenFeatureProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FixedLenFeatureProto) ProtoMessage ¶
func (*FixedLenFeatureProto) ProtoMessage()
func (*FixedLenFeatureProto) Reset ¶
func (m *FixedLenFeatureProto) Reset()
func (*FixedLenFeatureProto) Size ¶
func (m *FixedLenFeatureProto) Size() (n int)
func (*FixedLenFeatureProto) String ¶
func (m *FixedLenFeatureProto) String() string
func (*FixedLenFeatureProto) Unmarshal ¶
func (m *FixedLenFeatureProto) Unmarshal(dAtA []byte) error
func (*FixedLenFeatureProto) XXX_DiscardUnknown ¶
func (m *FixedLenFeatureProto) XXX_DiscardUnknown()
func (*FixedLenFeatureProto) XXX_Marshal ¶
func (m *FixedLenFeatureProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FixedLenFeatureProto) XXX_Merge ¶
func (m *FixedLenFeatureProto) XXX_Merge(src proto.Message)
func (*FixedLenFeatureProto) XXX_Size ¶
func (m *FixedLenFeatureProto) XXX_Size() int
func (*FixedLenFeatureProto) XXX_Unmarshal ¶
func (m *FixedLenFeatureProto) XXX_Unmarshal(b []byte) error
type FloatList ¶
type FloatList struct {
Value []float32 `protobuf:"fixed32,1,rep,packed,name=value,proto3" json:"value,omitempty"`
}
func (*FloatList) Descriptor ¶
func (*FloatList) MarshalToSizedBuffer ¶
func (*FloatList) ProtoMessage ¶
func (*FloatList) ProtoMessage()
func (*FloatList) XXX_DiscardUnknown ¶
func (m *FloatList) XXX_DiscardUnknown()
func (*FloatList) XXX_Marshal ¶
func (*FloatList) XXX_Unmarshal ¶
type Int64List ¶
type Int64List struct {
Value []int64 `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"`
}
func (*Int64List) Descriptor ¶
func (*Int64List) MarshalToSizedBuffer ¶
func (*Int64List) ProtoMessage ¶
func (*Int64List) ProtoMessage()
func (*Int64List) XXX_DiscardUnknown ¶
func (m *Int64List) XXX_DiscardUnknown()
func (*Int64List) XXX_Marshal ¶
func (*Int64List) XXX_Unmarshal ¶
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"` }
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) Marshal ¶
func (m *SequenceExample) Marshal() (dAtA []byte, err error)
func (*SequenceExample) MarshalToSizedBuffer ¶
func (m *SequenceExample) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SequenceExample) ProtoMessage ¶
func (*SequenceExample) ProtoMessage()
func (*SequenceExample) Reset ¶
func (m *SequenceExample) Reset()
func (*SequenceExample) Size ¶
func (m *SequenceExample) Size() (n int)
func (*SequenceExample) String ¶
func (m *SequenceExample) String() string
func (*SequenceExample) Unmarshal ¶
func (m *SequenceExample) Unmarshal(dAtA []byte) error
func (*SequenceExample) XXX_DiscardUnknown ¶
func (m *SequenceExample) XXX_DiscardUnknown()
func (*SequenceExample) XXX_Marshal ¶
func (m *SequenceExample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SequenceExample) XXX_Merge ¶
func (m *SequenceExample) XXX_Merge(src proto.Message)
func (*SequenceExample) XXX_Size ¶
func (m *SequenceExample) XXX_Size() int
func (*SequenceExample) XXX_Unmarshal ¶
func (m *SequenceExample) XXX_Unmarshal(b []byte) error
type VarLenFeatureProto ¶
type VarLenFeatureProto struct { Dtype framework.DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"` ValuesOutputTensorName string `` /* 131-byte string literal not displayed */ IndicesOutputTensorName string `` /* 134-byte string literal not displayed */ ShapesOutputTensorName string `` /* 131-byte string literal not displayed */ }
func (*VarLenFeatureProto) Descriptor ¶
func (*VarLenFeatureProto) Descriptor() ([]byte, []int)
func (*VarLenFeatureProto) GetDtype ¶
func (m *VarLenFeatureProto) GetDtype() framework.DataType
func (*VarLenFeatureProto) GetIndicesOutputTensorName ¶
func (m *VarLenFeatureProto) GetIndicesOutputTensorName() string
func (*VarLenFeatureProto) GetShapesOutputTensorName ¶
func (m *VarLenFeatureProto) GetShapesOutputTensorName() string
func (*VarLenFeatureProto) GetValuesOutputTensorName ¶
func (m *VarLenFeatureProto) GetValuesOutputTensorName() string
func (*VarLenFeatureProto) Marshal ¶
func (m *VarLenFeatureProto) Marshal() (dAtA []byte, err error)
func (*VarLenFeatureProto) MarshalTo ¶
func (m *VarLenFeatureProto) MarshalTo(dAtA []byte) (int, error)
func (*VarLenFeatureProto) MarshalToSizedBuffer ¶
func (m *VarLenFeatureProto) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VarLenFeatureProto) ProtoMessage ¶
func (*VarLenFeatureProto) ProtoMessage()
func (*VarLenFeatureProto) Reset ¶
func (m *VarLenFeatureProto) Reset()
func (*VarLenFeatureProto) Size ¶
func (m *VarLenFeatureProto) Size() (n int)
func (*VarLenFeatureProto) String ¶
func (m *VarLenFeatureProto) String() string
func (*VarLenFeatureProto) Unmarshal ¶
func (m *VarLenFeatureProto) Unmarshal(dAtA []byte) error
func (*VarLenFeatureProto) XXX_DiscardUnknown ¶
func (m *VarLenFeatureProto) XXX_DiscardUnknown()
func (*VarLenFeatureProto) XXX_Marshal ¶
func (m *VarLenFeatureProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VarLenFeatureProto) XXX_Merge ¶
func (m *VarLenFeatureProto) XXX_Merge(src proto.Message)
func (*VarLenFeatureProto) XXX_Size ¶
func (m *VarLenFeatureProto) XXX_Size() int
func (*VarLenFeatureProto) XXX_Unmarshal ¶
func (m *VarLenFeatureProto) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.