Documentation ¶
Index ¶
- type TensorDescription
- func (*TensorDescription) Descriptor() ([]byte, []int)
- func (m *TensorDescription) GetAllocationDescription() *allocation_description_go_proto.AllocationDescription
- func (m *TensorDescription) GetDtype() types_go_proto.DataType
- func (m *TensorDescription) GetShape() *tensor_shape_go_proto.TensorShapeProto
- func (*TensorDescription) ProtoMessage()
- func (m *TensorDescription) Reset()
- func (m *TensorDescription) String() string
- func (m *TensorDescription) XXX_DiscardUnknown()
- func (m *TensorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TensorDescription) XXX_Merge(src proto.Message)
- func (m *TensorDescription) XXX_Size() int
- func (m *TensorDescription) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TensorDescription) Descriptor ¶
func (*TensorDescription) Descriptor() ([]byte, []int)
func (*TensorDescription) GetAllocationDescription ¶
func (m *TensorDescription) GetAllocationDescription() *allocation_description_go_proto.AllocationDescription
func (*TensorDescription) GetDtype ¶
func (m *TensorDescription) GetDtype() types_go_proto.DataType
func (*TensorDescription) GetShape ¶
func (m *TensorDescription) GetShape() *tensor_shape_go_proto.TensorShapeProto
func (*TensorDescription) ProtoMessage ¶
func (*TensorDescription) ProtoMessage()
func (*TensorDescription) Reset ¶
func (m *TensorDescription) Reset()
func (*TensorDescription) String ¶
func (m *TensorDescription) String() string
func (*TensorDescription) XXX_DiscardUnknown ¶
func (m *TensorDescription) XXX_DiscardUnknown()
func (*TensorDescription) XXX_Marshal ¶
func (m *TensorDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TensorDescription) XXX_Merge ¶
func (m *TensorDescription) XXX_Merge(src proto.Message)
func (*TensorDescription) XXX_Size ¶
func (m *TensorDescription) XXX_Size() int
func (*TensorDescription) XXX_Unmarshal ¶
func (m *TensorDescription) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.