Skip to content

Sampler Dependencies

sampler

Helper functions to extract the dependencies of a sampler.

Functions

extract_sampler_dependencies

extract_sampler_dependencies(sampler_spec: dict[str, Any]) -> set[str]

Extract the dependencies of the sampler.

Parameters:

Name Type Description Default
sampler_spec dict[str, Any]

Specifications of the sampler.

required

Returns:

Type Description
set[str]

A set of dependencies.