gflownet.policy.base
Classes
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Module Contents
- class gflownet.policy.base.ModelBase(config, env, device, float_precision, base=None)[source]
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- class gflownet.policy.base.Policy(config, env, device, float_precision, base=None)[source]
Bases:
ModelBaseHelper class that provides a standard way to create an ABC using inheritance.
- fixed_distribution(states)[source]
Returns the fixed distribution specified by the environment.
- Parameters:
states (tensor) – The states for which the fixed distribution is to be returned