supaernova.steps.posterior.tf.map
source module supaernova.steps.posterior.tf.map
Classes
source class PosteriorMapValue(initial: tf.Variable)
Bases : tf.Module
Attributes
-
name — Returns the name of this module as passed or determined in the ctor.
-
name_scope — Returns a
tf.name_scopeinstance for this class. -
variables — Sequence of variables owned by this module and its submodules.
-
trainable_variables — Sequence of trainable variables owned by this module and its submodules.
-
non_trainable_variables — Sequence of non-trainable variables owned by this module and its submodules.
-
submodules — Sequence of all sub-modules.
source class PosteriorMap(config: PosteriorModelStep[TFPosteriorModelConfig], nflow: TFNFlowModel, pae: TFPAEModel, data: DataStepResult)
Bases : tf.Module
Attributes
-
name — Returns the name of this module as passed or determined in the ctor.
-
name_scope — Returns a
tf.name_scopeinstance for this class. -
variables — Sequence of variables owned by this module and its submodules.
-
trainable_variables — Sequence of trainable variables owned by this module and its submodules.
-
non_trainable_variables — Sequence of non-trainable variables owned by this module and its submodules.
-
submodules — Sequence of all sub-modules.
Methods
source method PosteriorMap.setup(stage: PosteriorMapStage, chain: int) → None
source method PosteriorMap.get_position(position, best=False) → tf.Tensor
source method PosteriorMap.prior(position) → tf.Tensor