projector

package
v0.0.0-...-d1695c4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package projector is a generated protocol buffer package.

It is generated from these files:

tensorflow/contrib/tensorboard/plugins/projector/projector_config.proto

It has these top-level messages:

SpriteMetadata
EmbeddingInfo
ProjectorConfig

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddingInfo

type EmbeddingInfo struct {
	TensorName    string `protobuf:"bytes,1,opt,name=tensor_name,json=tensorName" json:"tensor_name,omitempty"`
	MetadataPath  string `protobuf:"bytes,2,opt,name=metadata_path,json=metadataPath" json:"metadata_path,omitempty"`
	BookmarksPath string `protobuf:"bytes,3,opt,name=bookmarks_path,json=bookmarksPath" json:"bookmarks_path,omitempty"`
	// Shape of the 2D tensor [N x D]. If missing, it will be inferred from the
	// model checkpoint.
	TensorShape []uint32        `protobuf:"varint,4,rep,packed,name=tensor_shape,json=tensorShape" json:"tensor_shape,omitempty"`
	Sprite      *SpriteMetadata `protobuf:"bytes,5,opt,name=sprite" json:"sprite,omitempty"`
	// Path to the TSV file holding the tensor values. If missing, the tensor
	// is assumed to be stored in the model checkpoint.
	TensorPath string `protobuf:"bytes,6,opt,name=tensor_path,json=tensorPath" json:"tensor_path,omitempty"`
}

func (*EmbeddingInfo) Descriptor

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

func (*EmbeddingInfo) GetBookmarksPath

func (m *EmbeddingInfo) GetBookmarksPath() string

func (*EmbeddingInfo) GetMetadataPath

func (m *EmbeddingInfo) GetMetadataPath() string

func (*EmbeddingInfo) GetSprite

func (m *EmbeddingInfo) GetSprite() *SpriteMetadata

func (*EmbeddingInfo) GetTensorName

func (m *EmbeddingInfo) GetTensorName() string

func (*EmbeddingInfo) GetTensorPath

func (m *EmbeddingInfo) GetTensorPath() string

func (*EmbeddingInfo) GetTensorShape

func (m *EmbeddingInfo) GetTensorShape() []uint32

func (*EmbeddingInfo) ProtoMessage

func (*EmbeddingInfo) ProtoMessage()

func (*EmbeddingInfo) Reset

func (m *EmbeddingInfo) Reset()

func (*EmbeddingInfo) String

func (m *EmbeddingInfo) String() string

type ProjectorConfig

type ProjectorConfig struct {
	// Path to the checkpoint file. Use either this or model_checkpoint_dir.
	ModelCheckpointPath string           `protobuf:"bytes,1,opt,name=model_checkpoint_path,json=modelCheckpointPath" json:"model_checkpoint_path,omitempty"`
	Embeddings          []*EmbeddingInfo `protobuf:"bytes,2,rep,name=embeddings" json:"embeddings,omitempty"`
	// Path to the checkpoint directory. The directory will be scanned for the
	// latest checkpoint file.
	ModelCheckpointDir string `protobuf:"bytes,3,opt,name=model_checkpoint_dir,json=modelCheckpointDir" json:"model_checkpoint_dir,omitempty"`
}

func (*ProjectorConfig) Descriptor

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

func (*ProjectorConfig) GetEmbeddings

func (m *ProjectorConfig) GetEmbeddings() []*EmbeddingInfo

func (*ProjectorConfig) GetModelCheckpointDir

func (m *ProjectorConfig) GetModelCheckpointDir() string

func (*ProjectorConfig) GetModelCheckpointPath

func (m *ProjectorConfig) GetModelCheckpointPath() string

func (*ProjectorConfig) ProtoMessage

func (*ProjectorConfig) ProtoMessage()

func (*ProjectorConfig) Reset

func (m *ProjectorConfig) Reset()

func (*ProjectorConfig) String

func (m *ProjectorConfig) String() string

type SpriteMetadata

type SpriteMetadata struct {
	ImagePath string `protobuf:"bytes,1,opt,name=image_path,json=imagePath" json:"image_path,omitempty"`
	// [width, height] of a single image in the sprite.
	SingleImageDim []uint32 `protobuf:"varint,2,rep,packed,name=single_image_dim,json=singleImageDim" json:"single_image_dim,omitempty"`
}

func (*SpriteMetadata) Descriptor

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

func (*SpriteMetadata) GetImagePath

func (m *SpriteMetadata) GetImagePath() string

func (*SpriteMetadata) GetSingleImageDim

func (m *SpriteMetadata) GetSingleImageDim() []uint32

func (*SpriteMetadata) ProtoMessage

func (*SpriteMetadata) ProtoMessage()

func (*SpriteMetadata) Reset

func (m *SpriteMetadata) Reset()

func (*SpriteMetadata) String

func (m *SpriteMetadata) String() string

Jump to

Keyboard shortcuts

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