hashmap

package
v0.0.0-...-3233e8b Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HashmapSourceAdapterConfig_Format_name = map[int32]string{
		0: "SIMPLE_CSV",
	}
	HashmapSourceAdapterConfig_Format_value = map[string]int32{
		"SIMPLE_CSV": 0,
	}
)

Enum value maps for HashmapSourceAdapterConfig_Format.

View Source
var File_tensorflow_serving_servables_hashmap_hashmap_source_adapter_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HashmapSourceAdapterConfig

type HashmapSourceAdapterConfig struct {
	Format HashmapSourceAdapterConfig_Format `protobuf:"varint,1,opt,name=format,proto3,enum=tensorflow.serving.HashmapSourceAdapterConfig_Format" json:"format,omitempty"`
	// contains filtered or unexported fields
}

Config proto for HashmapSourceAdapter.

func (*HashmapSourceAdapterConfig) Descriptor deprecated

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

Deprecated: Use HashmapSourceAdapterConfig.ProtoReflect.Descriptor instead.

func (*HashmapSourceAdapterConfig) GetFormat

func (*HashmapSourceAdapterConfig) ProtoMessage

func (*HashmapSourceAdapterConfig) ProtoMessage()

func (*HashmapSourceAdapterConfig) ProtoReflect

func (*HashmapSourceAdapterConfig) Reset

func (x *HashmapSourceAdapterConfig) Reset()

func (*HashmapSourceAdapterConfig) String

func (x *HashmapSourceAdapterConfig) String() string

type HashmapSourceAdapterConfig_Format

type HashmapSourceAdapterConfig_Format int32

The format used by the file containing a serialized hashmap.

const (
	// A simple kind of CSV text file of the form:
	//
	//	key0,value0\n
	//	key1,value1\n
	//	...
	HashmapSourceAdapterConfig_SIMPLE_CSV HashmapSourceAdapterConfig_Format = 0
)

func (HashmapSourceAdapterConfig_Format) Descriptor

func (HashmapSourceAdapterConfig_Format) Enum

func (HashmapSourceAdapterConfig_Format) EnumDescriptor deprecated

func (HashmapSourceAdapterConfig_Format) EnumDescriptor() ([]byte, []int)

Deprecated: Use HashmapSourceAdapterConfig_Format.Descriptor instead.

func (HashmapSourceAdapterConfig_Format) Number

func (HashmapSourceAdapterConfig_Format) String

func (HashmapSourceAdapterConfig_Format) Type

Jump to

Keyboard shortcuts

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