example

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_example_example_parser_configuration_proto protoreflect.FileDescriptor
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
}

Containers to hold repeated fundamental values.

func (*BytesList) Descriptor deprecated

func (*BytesList) Descriptor() ([]byte, []int)

Deprecated: Use BytesList.ProtoReflect.Descriptor instead.

func (*BytesList) GetValue

func (x *BytesList) GetValue() [][]byte

func (*BytesList) ProtoMessage

func (*BytesList) ProtoMessage()

func (*BytesList) ProtoReflect

func (x *BytesList) ProtoReflect() protoreflect.Message

func (*BytesList) Reset

func (x *BytesList) Reset()

func (*BytesList) String

func (x *BytesList) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetFeatures

func (x *Example) GetFeatures() *Features

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

func (x *Example) ProtoReflect() protoreflect.Message

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Feature.ProtoReflect.Descriptor instead.

func (*Feature) GetBytesList

func (x *Feature) GetBytesList() *BytesList

func (*Feature) GetFloatList

func (x *Feature) GetFloatList() *FloatList

func (*Feature) GetInt64List

func (x *Feature) GetInt64List() *Int64List

func (*Feature) GetKind

func (m *Feature) GetKind() isFeature_Kind

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) ProtoReflect

func (x *Feature) ProtoReflect() protoreflect.Message

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) String

func (x *Feature) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Features.ProtoReflect.Descriptor instead.

func (*Features) GetFeature

func (x *Features) GetFeature() map[string]*Feature

func (*Features) ProtoMessage

func (*Features) ProtoMessage()

func (*Features) ProtoReflect

func (x *Features) ProtoReflect() protoreflect.Message

func (*Features) Reset

func (x *Features) Reset()

func (*Features) String

func (x *Features) String() string

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use FloatList.ProtoReflect.Descriptor instead.

func (*FloatList) GetValue

func (x *FloatList) GetValue() []float32

func (*FloatList) ProtoMessage

func (*FloatList) ProtoMessage()

func (*FloatList) ProtoReflect

func (x *FloatList) ProtoReflect() protoreflect.Message

func (*FloatList) Reset

func (x *FloatList) Reset()

func (*FloatList) String

func (x *FloatList) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Int64List.ProtoReflect.Descriptor instead.

func (*Int64List) GetValue

func (x *Int64List) GetValue() []int64

func (*Int64List) ProtoMessage

func (*Int64List) ProtoMessage()

func (*Int64List) ProtoReflect

func (x *Int64List) ProtoReflect() protoreflect.Message

func (*Int64List) Reset

func (x *Int64List) Reset()

func (*Int64List) String

func (x *Int64List) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL