Namespace: LLama.Abstractions
A fixed size array to set the tensor splits across multiple GPUs
public sealed class TensorSplitsCollection : System.Collections.Generic.IEnumerable`1[[System.Single, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Collections.IEnumerable
Inheritance Object → TensorSplitsCollection
Implements IEnumerable<Single>, IEnumerable
The size of this array
public int Length { get; }
public float Item { get; set; }
Create a new tensor splits collection, copying the given values
public TensorSplitsCollection(Single[] splits)
splits Single[]
Create a new tensor splits collection with all values initialised to the default
public TensorSplitsCollection()
Set all values to zero
public void Clear()
internal MemoryHandle Pin()
public IEnumerator<float> GetEnumerator()