terf

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

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

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

func (*BytesList) GetValue

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

func (*BytesList) ProtoMessage

func (*BytesList) ProtoMessage()

func (*BytesList) Reset

func (m *BytesList) Reset()

func (*BytesList) String

func (m *BytesList) String() string

type Example

type Example struct {
	Features *Features `protobuf:"bytes,1,opt,name=features" json:"features,omitempty"`
}

func (*Example) Descriptor

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

func (*Example) GetFeatures

func (m *Example) GetFeatures() *Features

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) Reset

func (m *Example) Reset()

func (*Example) String

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

func (*Feature) GetBytesList

func (m *Feature) GetBytesList() *BytesList

func (*Feature) GetFloatList

func (m *Feature) GetFloatList() *FloatList

func (*Feature) GetInt64List

func (m *Feature) GetInt64List() *Int64List

func (*Feature) GetKind

func (m *Feature) GetKind() isFeature_Kind

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) Reset

func (m *Feature) Reset()

func (*Feature) String

func (m *Feature) String() string

func (*Feature) XXX_OneofFuncs

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

func (*Features) GetFeature

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

func (*Features) ProtoMessage

func (*Features) ProtoMessage()

func (*Features) Reset

func (m *Features) Reset()

func (*Features) String

func (m *Features) String() string

type FloatList

type FloatList struct {
	Value []float32 `protobuf:"fixed32,1,rep,packed,name=value" json:"value,omitempty"`
}

func (*FloatList) Descriptor

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

func (*FloatList) GetValue

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

func (*FloatList) ProtoMessage

func (*FloatList) ProtoMessage()

func (*FloatList) Reset

func (m *FloatList) Reset()

func (*FloatList) String

func (m *FloatList) String() string

type Int64List

type Int64List struct {
	Value []int64 `protobuf:"varint,1,rep,packed,name=value" json:"value,omitempty"`
}

func (*Int64List) Descriptor

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

func (*Int64List) GetValue

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

func (*Int64List) ProtoMessage

func (*Int64List) ProtoMessage()

func (*Int64List) Reset

func (m *Int64List) Reset()

func (*Int64List) String

func (m *Int64List) String() string

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

Jump to

Keyboard shortcuts

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