make

Contents

make#

hybrid_aif.envs.make(A, B, D, A_deps=None, B_deps=None)[source]#

Build a positional (pymdp-style) process + params (tuple containers) from tensors; defaults: A on all state factors, B on own state factor. Wrap it with GenerativeEnv.wrap() given a System, converting the params with system.from_positional("params", ...).

Multi-modality/multi-factor collections are canonically tuples; any sequence is accepted at runtime.