IDeviceRng
Interfaces · AiDotNet.Tensors.Engines.DevicePrimitives
No summary documentation available yet.
Known implementations: CpuMrg32k3aGenerator, CpuPhiloxGenerator, CpuSobolGenerator, CuRand, MpsRng, OpenClRng, RocRand, VulkanRng, WebGpuRng
Properties
| Property | Summary |
|---|---|
DeviceRngAlgorithm Algorithm { get; } |
|
ulong Offset { get; set; } |
|
ulong Seed { get; } |
|
ulong Subsequence { get; set; } |
Methods
| Method | Summary |
|---|---|
void Bernoulli(Tensor<float> output, float p) |
|
void Normal(Tensor<double> output, double mean, double stddev) |
|
void Normal(Tensor<float> output, float mean, float stddev) |
|
void Uniform(Tensor<double> output) |
|
void Uniform(Tensor<float> output) |