proto

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 5 Imported by: 0

README

go-tfdata/proto package contains files generated by protoc and protoc-go-gen programs.

See development README for more information

Documentation

Overview

// Protocol messages for describing the configuration of the ExampleParserOp.

// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.20.0-devel // protoc v3.11.4 // source: tensorflow/core/example/example_parser_configuration.proto

Index

Constants

This section is empty.

Variables

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 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 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 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

Jump to

Keyboard shortcuts

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