Documentation ¶
Index ¶
- Variables
- type TensorDescription
- func (*TensorDescription) Descriptor() ([]byte, []int)deprecated
- func (x *TensorDescription) GetAllocationDescription() *allocation_description_go_proto.AllocationDescription
- func (x *TensorDescription) GetDtype() types_go_proto.DataType
- func (x *TensorDescription) GetShape() *tensor_shape_go_proto.TensorShapeProto
- func (*TensorDescription) ProtoMessage()
- func (x *TensorDescription) ProtoReflect() protoreflect.Message
- func (x *TensorDescription) Reset()
- func (x *TensorDescription) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tensorflow_core_framework_tensor_description_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TensorDescription ¶
type TensorDescription struct { // Data type of tensor elements Dtype types_go_proto.DataType `protobuf:"varint,1,opt,name=dtype,proto3,enum=tensorflow.DataType" json:"dtype,omitempty"` // Shape of the tensor. Shape *tensor_shape_go_proto.TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"` // Information about the size and allocator used for the data AllocationDescription *allocation_description_go_proto.AllocationDescription `protobuf:"bytes,4,opt,name=allocation_description,json=allocationDescription,proto3" json:"allocation_description,omitempty"` // contains filtered or unexported fields }
func (*TensorDescription) Descriptor
deprecated
func (*TensorDescription) Descriptor() ([]byte, []int)
Deprecated: Use TensorDescription.ProtoReflect.Descriptor instead.
func (*TensorDescription) GetAllocationDescription ¶
func (x *TensorDescription) GetAllocationDescription() *allocation_description_go_proto.AllocationDescription
func (*TensorDescription) GetDtype ¶
func (x *TensorDescription) GetDtype() types_go_proto.DataType
func (*TensorDescription) GetShape ¶
func (x *TensorDescription) GetShape() *tensor_shape_go_proto.TensorShapeProto
func (*TensorDescription) ProtoMessage ¶
func (*TensorDescription) ProtoMessage()
func (*TensorDescription) ProtoReflect ¶
func (x *TensorDescription) ProtoReflect() protoreflect.Message
func (*TensorDescription) Reset ¶
func (x *TensorDescription) Reset()
func (*TensorDescription) String ¶
func (x *TensorDescription) String() string
Click to show internal directories.
Click to hide internal directories.