TensorAllocator

Helpers & Utilities · AiDotNet.Tensors.Helpers

No summary documentation available yet.

Properties

Property Summary
bool ArenaDiagnosticsEnabled { get; }

Methods

Method Summary
Tensor<T> Adopt(int[] shape, T[] data)
Tensor<T> Rent(int[] shape)
Tensor<T> Rent(int[] shape, T[] data)
Tensor<T> Rent(int[] shape, Vector<T> data)
Tensor<T> RentNative(int[] shape)
Tensor<T> RentPinned(int[] shape)
Tensor<T> RentPinnedOnGpu(int[] shape)
Tensor<T> RentUninitialized(int[] shape)
bool TryGetArenaDiagnostics(ArenaAllocationDiagnostics diagnostics)
bool TryResetArenaDiagnostics()

Fields

Field Summary
int ArrayPoolThresholdValue