Documentation ¶
Index ¶
- Variables
- type CompressedComponentMetadata
- func (*CompressedComponentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CompressedComponentMetadata) GetDtype() types_go_proto.DataType
- func (x *CompressedComponentMetadata) GetTensorShape() *tensor_shape_go_proto.TensorShapeProto
- func (x *CompressedComponentMetadata) GetUncompressedBytes() []uint64
- func (*CompressedComponentMetadata) ProtoMessage()
- func (x *CompressedComponentMetadata) ProtoReflect() protoreflect.Message
- func (x *CompressedComponentMetadata) Reset()
- func (x *CompressedComponentMetadata) String() string
- type CompressedElement
- func (*CompressedElement) Descriptor() ([]byte, []int)deprecated
- func (x *CompressedElement) GetComponentMetadata() []*CompressedComponentMetadata
- func (x *CompressedElement) GetData() []byte
- func (x *CompressedElement) GetVersion() int32
- func (*CompressedElement) ProtoMessage()
- func (x *CompressedElement) ProtoReflect() protoreflect.Message
- func (x *CompressedElement) Reset()
- func (x *CompressedElement) String() string
- type UncompressedElement
- func (*UncompressedElement) Descriptor() ([]byte, []int)deprecated
- func (x *UncompressedElement) GetComponents() []*tensor_go_proto.TensorProto
- func (*UncompressedElement) ProtoMessage()
- func (x *UncompressedElement) ProtoReflect() protoreflect.Message
- func (x *UncompressedElement) Reset()
- func (x *UncompressedElement) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tensorflow_core_framework_dataset_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompressedComponentMetadata ¶
type CompressedComponentMetadata struct { // The dtype of the component tensor. Dtype types_go_proto.DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"` // The shape of the component tensor. TensorShape *tensor_shape_go_proto.TensorShapeProto `protobuf:"bytes,2,opt,name=tensor_shape,json=tensorShape,proto3" json:"tensor_shape,omitempty"` // The amount of uncompressed tensor data. // - For string tensors, there is an element for each string indicating the // size of the string. // - For all other tensors, there is a single element indicating the size of // the tensor. UncompressedBytes []uint64 `protobuf:"varint,4,rep,packed,name=uncompressed_bytes,json=uncompressedBytes,proto3" json:"uncompressed_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 (x *CompressedComponentMetadata) GetDtype() types_go_proto.DataType
func (*CompressedComponentMetadata) GetTensorShape ¶
func (x *CompressedComponentMetadata) GetTensorShape() *tensor_shape_go_proto.TensorShapeProto
func (*CompressedComponentMetadata) GetUncompressedBytes ¶
func (x *CompressedComponentMetadata) GetUncompressedBytes() []uint64
func (*CompressedComponentMetadata) ProtoMessage ¶
func (*CompressedComponentMetadata) ProtoMessage()
func (*CompressedComponentMetadata) ProtoReflect ¶
func (x *CompressedComponentMetadata) ProtoReflect() protoreflect.Message
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"` // Version of the CompressedElement. CompressedElements may be stored on disk // and read back by later versions of code, so we store a version number to // help readers understand which version they are reading. When you add a new // field to this proto, you need to increment kCompressedElementVersion in // tensorflow/core/data/compression_utils.cc. Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,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) GetVersion ¶
func (x *CompressedElement) GetVersion() int32
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 []*tensor_go_proto.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() []*tensor_go_proto.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
Click to show internal directories.
Click to hide internal directories.