TensorWorkspace<T>
Models & Types · AiDotNet.Tensors.Helpers
No summary documentation available yet.
Implements: IDisposable
Constructors
| Constructor | Summary |
|---|---|
TensorWorkspace() |
Properties
| Property | Summary |
|---|---|
bool IsAllocated { get; } |
|
int SlotCount { get; } |
|
int TotalElements { get; set; } |
Methods
| Method | Summary |
|---|---|
Memory<T> GetMemory(int slotId) |
|
Span<T> GetSpan(int slotId) |
|
Tensor<T> Get(int slotId) |
|
int GetSlotLength(int slotId) |
|
int Register(int[] shape) |
|
int[] GetShape(int slotId) |
|
void Allocate() |
|
void Clear() |
|
void Dispose() |
|
void Reset() |