pyhf.
get_backend
Get the current backend and the associated optimizer
Example
>>> import pyhf >>> pyhf.get_backend() (<pyhf.tensor.numpy_backend.numpy_backend object at 0x...>, <pyhf.optimize.opt_scipy.scipy_optimizer object at 0x...>)
backend, optimizer