RelaxedOneHotCategoricalDistribution

Models & Types · AiDotNet.Tensors.Distributions

No summary documentation available yet.

Inheritance: DistributionBase → RelaxedOneHotCategoricalDistribution

Constructors

Constructor Summary
RelaxedOneHotCategoricalDistribution(float[] logits, float[] temperature, int k)

Properties

Property Summary
IConstraint Support { get; }
bool HasRSample { get; }
float[] Logits { get; }
float[] Mean { get; }
float[] Temperature { get; }
float[] Variance { get; }
int BatchSize { get; }
int EventSize { get; }
int K { get; }

Methods

Method Summary
float[] Entropy()
float[] LogProb(float[] value)
float[] RSample(Random rng)
float[] Sample(Random rng)