allocation_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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationDescription

type AllocationDescription struct {
	// Total number of bytes requested
	RequestedBytes int64 `protobuf:"varint,1,opt,name=requested_bytes,json=requestedBytes,proto3" json:"requested_bytes,omitempty"`
	// Total number of bytes allocated if known
	AllocatedBytes int64 `protobuf:"varint,2,opt,name=allocated_bytes,json=allocatedBytes,proto3" json:"allocated_bytes,omitempty"`
	// Name of the allocator used
	AllocatorName string `protobuf:"bytes,3,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// Identifier of the allocated buffer if known
	AllocationId int64 `protobuf:"varint,4,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Set if this tensor only has one remaining reference
	HasSingleReference bool `protobuf:"varint,5,opt,name=has_single_reference,json=hasSingleReference,proto3" json:"has_single_reference,omitempty"`
	// Address of the allocation.
	Ptr                  uint64   `protobuf:"varint,6,opt,name=ptr,proto3" json:"ptr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AllocationDescription) Descriptor

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

func (*AllocationDescription) GetAllocatedBytes

func (m *AllocationDescription) GetAllocatedBytes() int64

func (*AllocationDescription) GetAllocationId

func (m *AllocationDescription) GetAllocationId() int64

func (*AllocationDescription) GetAllocatorName

func (m *AllocationDescription) GetAllocatorName() string

func (*AllocationDescription) GetHasSingleReference

func (m *AllocationDescription) GetHasSingleReference() bool

func (*AllocationDescription) GetPtr

func (m *AllocationDescription) GetPtr() uint64

func (*AllocationDescription) GetRequestedBytes

func (m *AllocationDescription) GetRequestedBytes() int64

func (*AllocationDescription) ProtoMessage

func (*AllocationDescription) ProtoMessage()

func (*AllocationDescription) Reset

func (m *AllocationDescription) Reset()

func (*AllocationDescription) String

func (m *AllocationDescription) String() string

func (*AllocationDescription) XXX_DiscardUnknown

func (m *AllocationDescription) XXX_DiscardUnknown()

func (*AllocationDescription) XXX_Marshal

func (m *AllocationDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllocationDescription) XXX_Merge

func (m *AllocationDescription) XXX_Merge(src proto.Message)

func (*AllocationDescription) XXX_Size

func (m *AllocationDescription) XXX_Size() int

func (*AllocationDescription) XXX_Unmarshal

func (m *AllocationDescription) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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