Documentation ¶
Index ¶
- Variables
- type BytesList
- type Example
- type ExampleParserConfiguration
- func (*ExampleParserConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleParserConfiguration) GetFeatureMap() map[string]*FeatureConfiguration
- func (*ExampleParserConfiguration) ProtoMessage()
- func (x *ExampleParserConfiguration) ProtoReflect() protoreflect.Message
- func (x *ExampleParserConfiguration) Reset()
- func (x *ExampleParserConfiguration) String() string
- 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 FeatureConfiguration
- func (*FeatureConfiguration) Descriptor() ([]byte, []int)deprecated
- func (m *FeatureConfiguration) GetConfig() isFeatureConfiguration_Config
- func (x *FeatureConfiguration) GetFixedLenFeature() *FixedLenFeatureProto
- func (x *FeatureConfiguration) GetVarLenFeature() *VarLenFeatureProto
- func (*FeatureConfiguration) ProtoMessage()
- func (x *FeatureConfiguration) ProtoReflect() protoreflect.Message
- func (x *FeatureConfiguration) Reset()
- func (x *FeatureConfiguration) String() string
- type FeatureConfiguration_FixedLenFeature
- type FeatureConfiguration_VarLenFeature
- type FeatureList
- type FeatureLists
- type Feature_BytesList
- type Feature_FloatList
- type Feature_Int64List
- type Features
- type FixedLenFeatureProto
- func (*FixedLenFeatureProto) Descriptor() ([]byte, []int)deprecated
- func (x *FixedLenFeatureProto) GetDefaultValue() *framework.TensorProto
- func (x *FixedLenFeatureProto) GetDtype() framework.DataType
- func (x *FixedLenFeatureProto) GetShape() *framework.TensorShapeProto
- func (x *FixedLenFeatureProto) GetValuesOutputTensorName() string
- func (*FixedLenFeatureProto) ProtoMessage()
- func (x *FixedLenFeatureProto) ProtoReflect() protoreflect.Message
- func (x *FixedLenFeatureProto) Reset()
- func (x *FixedLenFeatureProto) String() string
- 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
- type VarLenFeatureProto
- func (*VarLenFeatureProto) Descriptor() ([]byte, []int)deprecated
- func (x *VarLenFeatureProto) GetDtype() framework.DataType
- func (x *VarLenFeatureProto) GetIndicesOutputTensorName() string
- func (x *VarLenFeatureProto) GetShapesOutputTensorName() string
- func (x *VarLenFeatureProto) GetValuesOutputTensorName() string
- func (*VarLenFeatureProto) ProtoMessage()
- func (x *VarLenFeatureProto) ProtoReflect() protoreflect.Message
- func (x *VarLenFeatureProto) Reset()
- func (x *VarLenFeatureProto) String() string
Constants ¶
This section is empty.
Variables ¶
var File_tensorflow_core_example_example_parser_configuration_proto protoreflect.FileDescriptor
var File_tensorflow_core_example_example_proto protoreflect.FileDescriptor
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 }
Containers to hold repeated fundamental values.
func (*BytesList) Descriptor
deprecated
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
func (*BytesList) ProtoReflect ¶
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 ¶
func (x *Example) ProtoReflect() protoreflect.Message
type ExampleParserConfiguration ¶
type ExampleParserConfiguration struct { FeatureMap map[string]*FeatureConfiguration `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExampleParserConfiguration) Descriptor
deprecated
func (*ExampleParserConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ExampleParserConfiguration.ProtoReflect.Descriptor instead.
func (*ExampleParserConfiguration) GetFeatureMap ¶
func (x *ExampleParserConfiguration) GetFeatureMap() map[string]*FeatureConfiguration
func (*ExampleParserConfiguration) ProtoMessage ¶
func (*ExampleParserConfiguration) ProtoMessage()
func (*ExampleParserConfiguration) ProtoReflect ¶
func (x *ExampleParserConfiguration) ProtoReflect() protoreflect.Message
func (*ExampleParserConfiguration) Reset ¶
func (x *ExampleParserConfiguration) Reset()
func (*ExampleParserConfiguration) String ¶
func (x *ExampleParserConfiguration) String() string
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 ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureConfiguration ¶
type FeatureConfiguration struct { // Types that are assignable to Config: // // *FeatureConfiguration_FixedLenFeature // *FeatureConfiguration_VarLenFeature Config isFeatureConfiguration_Config `protobuf_oneof:"config"` // contains filtered or unexported fields }
func (*FeatureConfiguration) Descriptor
deprecated
func (*FeatureConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use FeatureConfiguration.ProtoReflect.Descriptor instead.
func (*FeatureConfiguration) GetConfig ¶
func (m *FeatureConfiguration) GetConfig() isFeatureConfiguration_Config
func (*FeatureConfiguration) GetFixedLenFeature ¶
func (x *FeatureConfiguration) GetFixedLenFeature() *FixedLenFeatureProto
func (*FeatureConfiguration) GetVarLenFeature ¶
func (x *FeatureConfiguration) GetVarLenFeature() *VarLenFeatureProto
func (*FeatureConfiguration) ProtoMessage ¶
func (*FeatureConfiguration) ProtoMessage()
func (*FeatureConfiguration) ProtoReflect ¶
func (x *FeatureConfiguration) ProtoReflect() protoreflect.Message
func (*FeatureConfiguration) Reset ¶
func (x *FeatureConfiguration) Reset()
func (*FeatureConfiguration) String ¶
func (x *FeatureConfiguration) String() string
type FeatureConfiguration_FixedLenFeature ¶
type FeatureConfiguration_FixedLenFeature struct {
FixedLenFeature *FixedLenFeatureProto `protobuf:"bytes,1,opt,name=fixed_len_feature,json=fixedLenFeature,proto3,oneof"`
}
type FeatureConfiguration_VarLenFeature ¶
type FeatureConfiguration_VarLenFeature struct {
VarLenFeature *VarLenFeatureProto `protobuf:"bytes,2,opt,name=var_len_feature,json=varLenFeature,proto3,oneof"`
}
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 ¶
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 ¶
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 ¶
func (x *Features) ProtoReflect() protoreflect.Message
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 */ // contains filtered or unexported fields }
func (*FixedLenFeatureProto) Descriptor
deprecated
func (*FixedLenFeatureProto) Descriptor() ([]byte, []int)
Deprecated: Use FixedLenFeatureProto.ProtoReflect.Descriptor instead.
func (*FixedLenFeatureProto) GetDefaultValue ¶
func (x *FixedLenFeatureProto) GetDefaultValue() *framework.TensorProto
func (*FixedLenFeatureProto) GetDtype ¶
func (x *FixedLenFeatureProto) GetDtype() framework.DataType
func (*FixedLenFeatureProto) GetShape ¶
func (x *FixedLenFeatureProto) GetShape() *framework.TensorShapeProto
func (*FixedLenFeatureProto) GetValuesOutputTensorName ¶
func (x *FixedLenFeatureProto) GetValuesOutputTensorName() string
func (*FixedLenFeatureProto) ProtoMessage ¶
func (*FixedLenFeatureProto) ProtoMessage()
func (*FixedLenFeatureProto) ProtoReflect ¶
func (x *FixedLenFeatureProto) ProtoReflect() protoreflect.Message
func (*FixedLenFeatureProto) Reset ¶
func (x *FixedLenFeatureProto) Reset()
func (*FixedLenFeatureProto) String ¶
func (x *FixedLenFeatureProto) String() string
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 ¶
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 ¶
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 ¶
func (x *SequenceExample) ProtoReflect() protoreflect.Message
func (*SequenceExample) Reset ¶
func (x *SequenceExample) Reset()
func (*SequenceExample) String ¶
func (x *SequenceExample) String() string
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 */ // contains filtered or unexported fields }
func (*VarLenFeatureProto) Descriptor
deprecated
func (*VarLenFeatureProto) Descriptor() ([]byte, []int)
Deprecated: Use VarLenFeatureProto.ProtoReflect.Descriptor instead.
func (*VarLenFeatureProto) GetDtype ¶
func (x *VarLenFeatureProto) GetDtype() framework.DataType
func (*VarLenFeatureProto) GetIndicesOutputTensorName ¶
func (x *VarLenFeatureProto) GetIndicesOutputTensorName() string
func (*VarLenFeatureProto) GetShapesOutputTensorName ¶
func (x *VarLenFeatureProto) GetShapesOutputTensorName() string
func (*VarLenFeatureProto) GetValuesOutputTensorName ¶
func (x *VarLenFeatureProto) GetValuesOutputTensorName() string
func (*VarLenFeatureProto) ProtoMessage ¶
func (*VarLenFeatureProto) ProtoMessage()
func (*VarLenFeatureProto) ProtoReflect ¶
func (x *VarLenFeatureProto) ProtoReflect() protoreflect.Message
func (*VarLenFeatureProto) Reset ¶
func (x *VarLenFeatureProto) Reset()
func (*VarLenFeatureProto) String ¶
func (x *VarLenFeatureProto) String() string