log_memory_go_proto

package
v0.0.0-...-dc2c119 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: Apache-2.0, BSD-2-Clause, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemoryLogRawAllocation) Descriptor

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

func (*MemoryLogRawAllocation) GetAllocationId

func (m *MemoryLogRawAllocation) GetAllocationId() int64

func (*MemoryLogRawAllocation) GetAllocatorName

func (m *MemoryLogRawAllocation) GetAllocatorName() string

func (*MemoryLogRawAllocation) GetNumBytes

func (m *MemoryLogRawAllocation) GetNumBytes() int64

func (*MemoryLogRawAllocation) GetOperation

func (m *MemoryLogRawAllocation) GetOperation() string

func (*MemoryLogRawAllocation) GetPtr

func (m *MemoryLogRawAllocation) GetPtr() uint64

func (*MemoryLogRawAllocation) GetStepId

func (m *MemoryLogRawAllocation) GetStepId() int64

func (*MemoryLogRawAllocation) ProtoMessage

func (*MemoryLogRawAllocation) ProtoMessage()

func (*MemoryLogRawAllocation) Reset

func (m *MemoryLogRawAllocation) Reset()

func (*MemoryLogRawAllocation) String

func (m *MemoryLogRawAllocation) String() string

func (*MemoryLogRawAllocation) XXX_DiscardUnknown

func (m *MemoryLogRawAllocation) XXX_DiscardUnknown()

func (*MemoryLogRawAllocation) XXX_Marshal

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

func (*MemoryLogRawAllocation) XXX_Merge

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

func (*MemoryLogRawAllocation) XXX_Size

func (m *MemoryLogRawAllocation) XXX_Size() int

func (*MemoryLogRawAllocation) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemoryLogRawDeallocation) Descriptor

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

func (*MemoryLogRawDeallocation) GetAllocationId

func (m *MemoryLogRawDeallocation) GetAllocationId() int64

func (*MemoryLogRawDeallocation) GetAllocatorName

func (m *MemoryLogRawDeallocation) GetAllocatorName() string

func (*MemoryLogRawDeallocation) GetDeferred

func (m *MemoryLogRawDeallocation) GetDeferred() bool

func (*MemoryLogRawDeallocation) GetOperation

func (m *MemoryLogRawDeallocation) GetOperation() string

func (*MemoryLogRawDeallocation) GetStepId

func (m *MemoryLogRawDeallocation) GetStepId() int64

func (*MemoryLogRawDeallocation) ProtoMessage

func (*MemoryLogRawDeallocation) ProtoMessage()

func (*MemoryLogRawDeallocation) Reset

func (m *MemoryLogRawDeallocation) Reset()

func (*MemoryLogRawDeallocation) String

func (m *MemoryLogRawDeallocation) String() string

func (*MemoryLogRawDeallocation) XXX_DiscardUnknown

func (m *MemoryLogRawDeallocation) XXX_DiscardUnknown()

func (*MemoryLogRawDeallocation) XXX_Marshal

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

func (*MemoryLogRawDeallocation) XXX_Merge

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

func (*MemoryLogRawDeallocation) XXX_Size

func (m *MemoryLogRawDeallocation) XXX_Size() int

func (*MemoryLogRawDeallocation) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemoryLogStep) Descriptor

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

func (*MemoryLogStep) GetHandle

func (m *MemoryLogStep) GetHandle() string

func (*MemoryLogStep) GetStepId

func (m *MemoryLogStep) GetStepId() int64

func (*MemoryLogStep) ProtoMessage

func (*MemoryLogStep) ProtoMessage()

func (*MemoryLogStep) Reset

func (m *MemoryLogStep) Reset()

func (*MemoryLogStep) String

func (m *MemoryLogStep) String() string

func (*MemoryLogStep) XXX_DiscardUnknown

func (m *MemoryLogStep) XXX_DiscardUnknown()

func (*MemoryLogStep) XXX_Marshal

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

func (*MemoryLogStep) XXX_Merge

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

func (*MemoryLogStep) XXX_Size

func (m *MemoryLogStep) XXX_Size() int

func (*MemoryLogStep) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*MemoryLogTensorAllocation) Descriptor

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

func (*MemoryLogTensorAllocation) GetKernelName

func (m *MemoryLogTensorAllocation) GetKernelName() string

func (*MemoryLogTensorAllocation) GetStepId

func (m *MemoryLogTensorAllocation) GetStepId() int64

func (*MemoryLogTensorAllocation) GetTensor

func (*MemoryLogTensorAllocation) ProtoMessage

func (*MemoryLogTensorAllocation) ProtoMessage()

func (*MemoryLogTensorAllocation) Reset

func (m *MemoryLogTensorAllocation) Reset()

func (*MemoryLogTensorAllocation) String

func (m *MemoryLogTensorAllocation) String() string

func (*MemoryLogTensorAllocation) XXX_DiscardUnknown

func (m *MemoryLogTensorAllocation) XXX_DiscardUnknown()

func (*MemoryLogTensorAllocation) XXX_Marshal

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

func (*MemoryLogTensorAllocation) XXX_Merge

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

func (*MemoryLogTensorAllocation) XXX_Size

func (m *MemoryLogTensorAllocation) XXX_Size() int

func (*MemoryLogTensorAllocation) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemoryLogTensorDeallocation) Descriptor

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

func (*MemoryLogTensorDeallocation) GetAllocationId

func (m *MemoryLogTensorDeallocation) GetAllocationId() int64

func (*MemoryLogTensorDeallocation) GetAllocatorName

func (m *MemoryLogTensorDeallocation) GetAllocatorName() string

func (*MemoryLogTensorDeallocation) ProtoMessage

func (*MemoryLogTensorDeallocation) ProtoMessage()

func (*MemoryLogTensorDeallocation) Reset

func (m *MemoryLogTensorDeallocation) Reset()

func (*MemoryLogTensorDeallocation) String

func (m *MemoryLogTensorDeallocation) String() string

func (*MemoryLogTensorDeallocation) XXX_DiscardUnknown

func (m *MemoryLogTensorDeallocation) XXX_DiscardUnknown()

func (*MemoryLogTensorDeallocation) XXX_Marshal

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

func (*MemoryLogTensorDeallocation) XXX_Merge

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

func (*MemoryLogTensorDeallocation) XXX_Size

func (m *MemoryLogTensorDeallocation) XXX_Size() int

func (*MemoryLogTensorDeallocation) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*MemoryLogTensorOutput) Descriptor

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

func (*MemoryLogTensorOutput) GetIndex

func (m *MemoryLogTensorOutput) GetIndex() int32

func (*MemoryLogTensorOutput) GetKernelName

func (m *MemoryLogTensorOutput) GetKernelName() string

func (*MemoryLogTensorOutput) GetStepId

func (m *MemoryLogTensorOutput) GetStepId() int64

func (*MemoryLogTensorOutput) GetTensor

func (*MemoryLogTensorOutput) ProtoMessage

func (*MemoryLogTensorOutput) ProtoMessage()

func (*MemoryLogTensorOutput) Reset

func (m *MemoryLogTensorOutput) Reset()

func (*MemoryLogTensorOutput) String

func (m *MemoryLogTensorOutput) String() string

func (*MemoryLogTensorOutput) XXX_DiscardUnknown

func (m *MemoryLogTensorOutput) XXX_DiscardUnknown()

func (*MemoryLogTensorOutput) XXX_Marshal

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

func (*MemoryLogTensorOutput) XXX_Merge

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

func (*MemoryLogTensorOutput) XXX_Size

func (m *MemoryLogTensorOutput) XXX_Size() int

func (*MemoryLogTensorOutput) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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