TensorPool

Helpers & Utilities · AiDotNet.Tensors.Helpers

No summary documentation available yet.

Properties

Property Summary
bool Enabled { get; set; }
bool ForceFreshAllocations { get; set; }
long ArenaIdleRetentionBytes { get; set; }

Methods

Method Summary
IDisposable ForceFreshAllocationsScope(bool forceFresh)
Tensor<T> Rent(int[] shape)
Tensor<T> Rent(int[] shape, Vector<T> data)
Tensor<T> RentUninitialized(int[] shape)
void Return(Tensor<T> tensor)