Skip to content

Commit

Permalink
Add skipping of validation
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 23, 2022
1 parent 1cc3bea commit 6cad4ab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/release-notes/v0.7.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Python API
``default`` kwarg in :func:`pyhf.set_backend`.
(PR :pr:`1646`)
This allows setting setting the ``pyhf.default_backend`` to be different from the value of
``pyhf.tensorlib`` returned by :func:`pyhf.get_backend`, which can be useful in situations where
a model construction is needed.
``pyhf.tensorlib`` returned by :func:`pyhf.get_backend`, which can be useful in situations
where differentiable model construction is needed.

.. code:: pycon
Expand All @@ -91,6 +91,11 @@ Python API
>>> jax.jacrev(jax.jit(example_op))([2.0])
[DeviceArray([24.], dtype=float64, weak_type=True)]
* A ``validate`` kwarg has been added to :func:`pyhf.workspace.Workspace` to allow
skipping validation.
(PR :pr:`1646`)
This should only be used by expert users who understand the risks.

Deprecations
------------

Expand Down

0 comments on commit 6cad4ab

Please sign in to comment.