log_memory_go_proto

package
v0.0.0-...-8fd67a1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_framework_log_memory_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MemoryLogRawAllocation

type MemoryLogRawAllocation struct {

	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the operation making the allocation.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// Number of bytes in the allocation.
	NumBytes int64 `protobuf:"varint,3,opt,name=num_bytes,json=numBytes,proto3" json:"num_bytes,omitempty"`
	// Address of the allocation.
	Ptr uint64 `protobuf:"varint,4,opt,name=ptr,proto3" json:"ptr,omitempty"`
	// Id of the tensor buffer being allocated, used to match to a
	// corresponding deallocation.
	AllocationId int64 `protobuf:"varint,5,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,6,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryLogRawAllocation) Descriptor deprecated

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

Deprecated: Use MemoryLogRawAllocation.ProtoReflect.Descriptor instead.

func (*MemoryLogRawAllocation) GetAllocationId

func (x *MemoryLogRawAllocation) GetAllocationId() int64

func (*MemoryLogRawAllocation) GetAllocatorName

func (x *MemoryLogRawAllocation) GetAllocatorName() string

func (*MemoryLogRawAllocation) GetNumBytes

func (x *MemoryLogRawAllocation) GetNumBytes() int64

func (*MemoryLogRawAllocation) GetOperation

func (x *MemoryLogRawAllocation) GetOperation() string

func (*MemoryLogRawAllocation) GetPtr

func (x *MemoryLogRawAllocation) GetPtr() uint64

func (*MemoryLogRawAllocation) GetStepId

func (x *MemoryLogRawAllocation) GetStepId() int64

func (*MemoryLogRawAllocation) ProtoMessage

func (*MemoryLogRawAllocation) ProtoMessage()

func (*MemoryLogRawAllocation) ProtoReflect

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

func (*MemoryLogRawAllocation) Reset

func (x *MemoryLogRawAllocation) Reset()

func (*MemoryLogRawAllocation) String

func (x *MemoryLogRawAllocation) String() string

type MemoryLogRawDeallocation

type MemoryLogRawDeallocation struct {

	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the operation making the deallocation.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// Id of the tensor buffer being deallocated, used to match to a
	// corresponding allocation.
	AllocationId int64 `protobuf:"varint,3,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,4,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// True if the deallocation is queued and will be performed later,
	// e.g. for GPU lazy freeing of buffers.
	Deferred bool `protobuf:"varint,5,opt,name=deferred,proto3" json:"deferred,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryLogRawDeallocation) Descriptor deprecated

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

Deprecated: Use MemoryLogRawDeallocation.ProtoReflect.Descriptor instead.

func (*MemoryLogRawDeallocation) GetAllocationId

func (x *MemoryLogRawDeallocation) GetAllocationId() int64

func (*MemoryLogRawDeallocation) GetAllocatorName

func (x *MemoryLogRawDeallocation) GetAllocatorName() string

func (*MemoryLogRawDeallocation) GetDeferred

func (x *MemoryLogRawDeallocation) GetDeferred() bool

func (*MemoryLogRawDeallocation) GetOperation

func (x *MemoryLogRawDeallocation) GetOperation() string

func (*MemoryLogRawDeallocation) GetStepId

func (x *MemoryLogRawDeallocation) GetStepId() int64

func (*MemoryLogRawDeallocation) ProtoMessage

func (*MemoryLogRawDeallocation) ProtoMessage()

func (*MemoryLogRawDeallocation) ProtoReflect

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

func (*MemoryLogRawDeallocation) Reset

func (x *MemoryLogRawDeallocation) Reset()

func (*MemoryLogRawDeallocation) String

func (x *MemoryLogRawDeallocation) String() string

type MemoryLogStep

type MemoryLogStep struct {

	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Handle describing the feeds and fetches of the step.
	Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryLogStep) Descriptor deprecated

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

Deprecated: Use MemoryLogStep.ProtoReflect.Descriptor instead.

func (*MemoryLogStep) GetHandle

func (x *MemoryLogStep) GetHandle() string

func (*MemoryLogStep) GetStepId

func (x *MemoryLogStep) GetStepId() int64

func (*MemoryLogStep) ProtoMessage

func (*MemoryLogStep) ProtoMessage()

func (*MemoryLogStep) ProtoReflect

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

func (*MemoryLogStep) Reset

func (x *MemoryLogStep) Reset()

func (*MemoryLogStep) String

func (x *MemoryLogStep) String() string

type MemoryLogTensorAllocation

type MemoryLogTensorAllocation struct {

	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the kernel making the allocation as set in GraphDef,
	// e.g., "affine2/weights/Assign".
	KernelName string `protobuf:"bytes,2,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Allocated tensor details.
	Tensor *tensor_description_go_proto.TensorDescription `protobuf:"bytes,3,opt,name=tensor,proto3" json:"tensor,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryLogTensorAllocation) Descriptor deprecated

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

Deprecated: Use MemoryLogTensorAllocation.ProtoReflect.Descriptor instead.

func (*MemoryLogTensorAllocation) GetKernelName

func (x *MemoryLogTensorAllocation) GetKernelName() string

func (*MemoryLogTensorAllocation) GetStepId

func (x *MemoryLogTensorAllocation) GetStepId() int64

func (*MemoryLogTensorAllocation) GetTensor

func (*MemoryLogTensorAllocation) ProtoMessage

func (*MemoryLogTensorAllocation) ProtoMessage()

func (*MemoryLogTensorAllocation) ProtoReflect

func (*MemoryLogTensorAllocation) Reset

func (x *MemoryLogTensorAllocation) Reset()

func (*MemoryLogTensorAllocation) String

func (x *MemoryLogTensorAllocation) String() string

type MemoryLogTensorDeallocation

type MemoryLogTensorDeallocation struct {

	// Id of the tensor buffer being deallocated, used to match to a
	// corresponding allocation.
	AllocationId int64 `protobuf:"varint,1,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
	// Name of the allocator used.
	AllocatorName string `protobuf:"bytes,2,opt,name=allocator_name,json=allocatorName,proto3" json:"allocator_name,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryLogTensorDeallocation) Descriptor deprecated

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

Deprecated: Use MemoryLogTensorDeallocation.ProtoReflect.Descriptor instead.

func (*MemoryLogTensorDeallocation) GetAllocationId

func (x *MemoryLogTensorDeallocation) GetAllocationId() int64

func (*MemoryLogTensorDeallocation) GetAllocatorName

func (x *MemoryLogTensorDeallocation) GetAllocatorName() string

func (*MemoryLogTensorDeallocation) ProtoMessage

func (*MemoryLogTensorDeallocation) ProtoMessage()

func (*MemoryLogTensorDeallocation) ProtoReflect

func (*MemoryLogTensorDeallocation) Reset

func (x *MemoryLogTensorDeallocation) Reset()

func (*MemoryLogTensorDeallocation) String

func (x *MemoryLogTensorDeallocation) String() string

type MemoryLogTensorOutput

type MemoryLogTensorOutput struct {

	// Process-unique step id.
	StepId int64 `protobuf:"varint,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Name of the kernel producing an output as set in GraphDef, e.g.,
	// "affine2/weights/Assign".
	KernelName string `protobuf:"bytes,2,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Index of the output being set.
	Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// Output tensor details.
	Tensor *tensor_description_go_proto.TensorDescription `protobuf:"bytes,4,opt,name=tensor,proto3" json:"tensor,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryLogTensorOutput) Descriptor deprecated

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

Deprecated: Use MemoryLogTensorOutput.ProtoReflect.Descriptor instead.

func (*MemoryLogTensorOutput) GetIndex

func (x *MemoryLogTensorOutput) GetIndex() int32

func (*MemoryLogTensorOutput) GetKernelName

func (x *MemoryLogTensorOutput) GetKernelName() string

func (*MemoryLogTensorOutput) GetStepId

func (x *MemoryLogTensorOutput) GetStepId() int64

func (*MemoryLogTensorOutput) GetTensor

func (*MemoryLogTensorOutput) ProtoMessage

func (*MemoryLogTensorOutput) ProtoMessage()

func (*MemoryLogTensorOutput) ProtoReflect

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

func (*MemoryLogTensorOutput) Reset

func (x *MemoryLogTensorOutput) Reset()

func (*MemoryLogTensorOutput) String

func (x *MemoryLogTensorOutput) String() string

Jump to

Keyboard shortcuts

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