Deep.Net


PinnedMemory

Namespace: Tensor

pinned .NET managed memory (wraps a GCHandle)

Constructors

ConstructorDescription
new(gcHnd, size)
Signature: (gcHnd:GCHandle * size:int64) -> PinnedMemory

CompiledName: .ctor

Instance members

Instance memberDescription
Ptr
Signature: nativeint

pointer to storage array

CompiledName: get_Ptr

Size
Signature: int64

size of storage array in bytes

CompiledName: get_Size

Fork me on GitHub