spey_pyhf.manager.PyhfManager#
- class spey_pyhf.manager.PyhfManager[source]#
Manager to unify the usage of pyhf through out the package
Methods
__init__()jit(function)Jit the given function if available
Attributes
available_backendsRetreive the names of available backends
backendRetreive current backend name
backend_accessoraccess to current pyhf backend
grad_availableReturns true or false depending on the availablility of the gradient within the current backend.