Documentation
¶
Overview ¶
Package tensorflow 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 ExampleParserConfiguration
- 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 FeatureConfiguration
- func (*FeatureConfiguration) Descriptor() ([]byte, []int)
- func (m *FeatureConfiguration) GetConfig() isFeatureConfiguration_Config
- func (m *FeatureConfiguration) GetFixedLenFeature() *FixedLenFeatureProto
- func (m *FeatureConfiguration) GetVarLenFeature() *VarLenFeatureProto
- func (*FeatureConfiguration) ProtoMessage()
- func (m *FeatureConfiguration) Reset()
- func (m *FeatureConfiguration) String() string
- func (*FeatureConfiguration) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- 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)
- func (m *FixedLenFeatureProto) GetDefaultValue() *tensorflow4.TensorProto
- func (m *FixedLenFeatureProto) GetDtype() tensorflow3.DataType
- func (m *FixedLenFeatureProto) GetShape() *tensorflow1.TensorShapeProto
- func (m *FixedLenFeatureProto) GetValuesOutputTensorName() string
- func (*FixedLenFeatureProto) ProtoMessage()
- func (m *FixedLenFeatureProto) Reset()
- func (m *FixedLenFeatureProto) String() string
- type FloatList
- type Int64List
- type SequenceExample
- type VarLenFeatureProto
- func (*VarLenFeatureProto) Descriptor() ([]byte, []int)
- func (m *VarLenFeatureProto) GetDtype() tensorflow3.DataType
- func (m *VarLenFeatureProto) GetIndicesOutputTensorName() string
- func (m *VarLenFeatureProto) GetShapesOutputTensorName() string
- func (m *VarLenFeatureProto) GetValuesOutputTensorName() string
- func (*VarLenFeatureProto) ProtoMessage()
- func (m *VarLenFeatureProto) Reset()
- func (m *VarLenFeatureProto) String() string
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 ExampleParserConfiguration ¶
type ExampleParserConfiguration struct {
FeatureMap map[string]*FeatureConfiguration `` /* 158-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) ProtoMessage ¶
func (*ExampleParserConfiguration) ProtoMessage()
func (*ExampleParserConfiguration) Reset ¶
func (m *ExampleParserConfiguration) Reset()
func (*ExampleParserConfiguration) String ¶
func (m *ExampleParserConfiguration) String() string
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 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) ProtoMessage ¶
func (*FeatureConfiguration) ProtoMessage()
func (*FeatureConfiguration) Reset ¶
func (m *FeatureConfiguration) Reset()
func (*FeatureConfiguration) String ¶
func (m *FeatureConfiguration) String() string
func (*FeatureConfiguration) XXX_OneofFuncs ¶
func (*FeatureConfiguration) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type FeatureConfiguration_FixedLenFeature ¶
type FeatureConfiguration_FixedLenFeature struct {
FixedLenFeature *FixedLenFeatureProto `protobuf:"bytes,1,opt,name=fixed_len_feature,json=fixedLenFeature,oneof"`
}
type FeatureConfiguration_VarLenFeature ¶
type FeatureConfiguration_VarLenFeature struct {
VarLenFeature *VarLenFeatureProto `protobuf:"bytes,2,opt,name=var_len_feature,json=varLenFeature,oneof"`
}
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 FixedLenFeatureProto ¶
type FixedLenFeatureProto struct { Dtype tensorflow3.DataType `protobuf:"varint,1,opt,name=dtype,enum=tensorflow.DataType" json:"dtype,omitempty"` Shape *tensorflow1.TensorShapeProto `protobuf:"bytes,2,opt,name=shape" json:"shape,omitempty"` DefaultValue *tensorflow4.TensorProto `protobuf:"bytes,3,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"` ValuesOutputTensorName string `protobuf:"bytes,4,opt,name=values_output_tensor_name,json=valuesOutputTensorName" json:"values_output_tensor_name,omitempty"` }
func (*FixedLenFeatureProto) Descriptor ¶
func (*FixedLenFeatureProto) Descriptor() ([]byte, []int)
func (*FixedLenFeatureProto) GetDefaultValue ¶
func (m *FixedLenFeatureProto) GetDefaultValue() *tensorflow4.TensorProto
func (*FixedLenFeatureProto) GetDtype ¶
func (m *FixedLenFeatureProto) GetDtype() tensorflow3.DataType
func (*FixedLenFeatureProto) GetShape ¶
func (m *FixedLenFeatureProto) GetShape() *tensorflow1.TensorShapeProto
func (*FixedLenFeatureProto) GetValuesOutputTensorName ¶
func (m *FixedLenFeatureProto) GetValuesOutputTensorName() string
func (*FixedLenFeatureProto) ProtoMessage ¶
func (*FixedLenFeatureProto) ProtoMessage()
func (*FixedLenFeatureProto) Reset ¶
func (m *FixedLenFeatureProto) Reset()
func (*FixedLenFeatureProto) String ¶
func (m *FixedLenFeatureProto) String() string
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
type VarLenFeatureProto ¶
type VarLenFeatureProto struct { Dtype tensorflow3.DataType `protobuf:"varint,1,opt,name=dtype,enum=tensorflow.DataType" json:"dtype,omitempty"` ValuesOutputTensorName string `protobuf:"bytes,2,opt,name=values_output_tensor_name,json=valuesOutputTensorName" json:"values_output_tensor_name,omitempty"` IndicesOutputTensorName string `` /* 127-byte string literal not displayed */ ShapesOutputTensorName string `protobuf:"bytes,4,opt,name=shapes_output_tensor_name,json=shapesOutputTensorName" json:"shapes_output_tensor_name,omitempty"` }
func (*VarLenFeatureProto) Descriptor ¶
func (*VarLenFeatureProto) Descriptor() ([]byte, []int)
func (*VarLenFeatureProto) GetDtype ¶
func (m *VarLenFeatureProto) GetDtype() tensorflow3.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) ProtoMessage ¶
func (*VarLenFeatureProto) ProtoMessage()
func (*VarLenFeatureProto) Reset ¶
func (m *VarLenFeatureProto) Reset()
func (*VarLenFeatureProto) String ¶
func (m *VarLenFeatureProto) String() string
Click to show internal directories.
Click to hide internal directories.