allocation_description_go_proto

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_framework_allocation_description_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*AllocationDescription) Descriptor deprecated

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

Deprecated: Use AllocationDescription.ProtoReflect.Descriptor instead.

func (*AllocationDescription) GetAllocatedBytes

func (x *AllocationDescription) GetAllocatedBytes() int64

func (*AllocationDescription) GetAllocationId

func (x *AllocationDescription) GetAllocationId() int64

func (*AllocationDescription) GetAllocatorName

func (x *AllocationDescription) GetAllocatorName() string

func (*AllocationDescription) GetHasSingleReference

func (x *AllocationDescription) GetHasSingleReference() bool

func (*AllocationDescription) GetPtr

func (x *AllocationDescription) GetPtr() uint64

func (*AllocationDescription) GetRequestedBytes

func (x *AllocationDescription) GetRequestedBytes() int64

func (*AllocationDescription) ProtoMessage

func (*AllocationDescription) ProtoMessage()

func (*AllocationDescription) ProtoReflect

func (x *AllocationDescription) ProtoReflect() protoreflect.Message

func (*AllocationDescription) Reset

func (x *AllocationDescription) Reset()

func (*AllocationDescription) String

func (x *AllocationDescription) String() string

Jump to

Keyboard shortcuts

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