Class Seed
Random seed for deterministic sampling (when supported):
- Purpose – Reproduce the same output across runs with identical inputs.
- Scope – Holds only if provider, model/deployment, version, and all params are unchanged.
- null – Lets the service choose a random seed (non-deterministic).
- Range – 0–4,294,967,295 (32-bit).
- Support – Some models/services ignore seeds; if unsupported, this has no effect.
[Serializable]
public class Seed : NullableRangedInt<Seed>
- Inheritance
-
objectSeed
Constructors
Seed()
public Seed()
Seed(int)
public Seed(int value)
Parameters
valueint
Properties
Default
public override int Default { get; }
Property Value
- int
Max
public override int Max { get; }
Property Value
- int
Min
public override int Min { get; }
Property Value
- int
Operators
implicit operator int?(Seed)
public static implicit operator int?(Seed p)
Parameters
pSeed
Returns
- int?
implicit operator long?(Seed)
public static implicit operator long?(Seed p)
Parameters
pSeed
Returns
- long?
implicit operator Seed(int)
public static implicit operator Seed(int v)
Parameters
vint
Returns
implicit operator Seed(long)
public static implicit operator Seed(long v)
Parameters
vlong