data

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: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_data_dataset_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CompressedComponentMetadata

type CompressedComponentMetadata struct {

	// The dtype of the component tensor.
	Dtype framework.DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"`
	// The shape of the component tensor.
	TensorShape *framework.TensorShapeProto `protobuf:"bytes,2,opt,name=tensor_shape,json=tensorShape,proto3" json:"tensor_shape,omitempty"`
	// Size of the uncompressed tensor bytes. For tensors serialized as
	// TensorProtos, this is TensorProto::BytesAllocatedLong(). For raw Tensors,
	// this is the size of the buffer underlying the Tensor.
	TensorSizeBytes int64 `protobuf:"varint,3,opt,name=tensor_size_bytes,json=tensorSizeBytes,proto3" json:"tensor_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

Metadata describing a compressed component of a dataset element.

func (*CompressedComponentMetadata) Descriptor deprecated

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

Deprecated: Use CompressedComponentMetadata.ProtoReflect.Descriptor instead.

func (*CompressedComponentMetadata) GetDtype

func (*CompressedComponentMetadata) GetTensorShape

func (*CompressedComponentMetadata) GetTensorSizeBytes

func (x *CompressedComponentMetadata) GetTensorSizeBytes() int64

func (*CompressedComponentMetadata) ProtoMessage

func (*CompressedComponentMetadata) ProtoMessage()

func (*CompressedComponentMetadata) ProtoReflect

func (*CompressedComponentMetadata) Reset

func (x *CompressedComponentMetadata) Reset()

func (*CompressedComponentMetadata) String

func (x *CompressedComponentMetadata) String() string

type CompressedElement

type CompressedElement struct {

	// Compressed tensor bytes for all components of the element.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Metadata for the components of the element.
	ComponentMetadata []*CompressedComponentMetadata `protobuf:"bytes,2,rep,name=component_metadata,json=componentMetadata,proto3" json:"component_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*CompressedElement) Descriptor deprecated

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

Deprecated: Use CompressedElement.ProtoReflect.Descriptor instead.

func (*CompressedElement) GetComponentMetadata

func (x *CompressedElement) GetComponentMetadata() []*CompressedComponentMetadata

func (*CompressedElement) GetData

func (x *CompressedElement) GetData() []byte

func (*CompressedElement) ProtoMessage

func (*CompressedElement) ProtoMessage()

func (*CompressedElement) ProtoReflect

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

func (*CompressedElement) Reset

func (x *CompressedElement) Reset()

func (*CompressedElement) String

func (x *CompressedElement) String() string

type UncompressedElement

type UncompressedElement struct {
	Components []*framework.TensorProto `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

An uncompressed dataset element.

func (*UncompressedElement) Descriptor deprecated

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

Deprecated: Use UncompressedElement.ProtoReflect.Descriptor instead.

func (*UncompressedElement) GetComponents

func (x *UncompressedElement) GetComponents() []*framework.TensorProto

func (*UncompressedElement) ProtoMessage

func (*UncompressedElement) ProtoMessage()

func (*UncompressedElement) ProtoReflect

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

func (*UncompressedElement) Reset

func (x *UncompressedElement) Reset()

func (*UncompressedElement) String

func (x *UncompressedElement) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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