tensor_description_go_proto

package
v1.12.2-0...-1b6f133 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (*TensorDescription) GetDtype

func (*TensorDescription) GetShape

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

Jump to

Keyboard shortcuts

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