deeprob package
Subpackages
- deeprob.flows package
- deeprob.spn package
- deeprob.torch package
- deeprob.utils package
Submodules
deeprob.context module
- deeprob.context.is_check_dtype_enabled()[source]
Returns whether the context flag ‘check_dtype’ is enabled.
- Return type
- deeprob.context.is_check_spn_enabled()[source]
Returns whether the context flag ‘check_spn’ is enabled.
- Return type
- class deeprob.context.ContextState(**kwargs)[source]
Bases:
ContextDecorator
Thread-safe Context State that disables some flags during execution.
Current supported flags are the following: - check_dtype: bool = True, Whether to check (and cast when needed) Numpy arrays data types. - check_spn: bool = True, Whether to check the SPNs structure properties.