Skip to content

Commit

Permalink
Minor text fixes to README
Browse files Browse the repository at this point in the history
  • Loading branch information
eguiraud committed Nov 4, 2023
1 parent 5ddd74e commit 4900aed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[![PyPI - Version](https://img.shields.io/pypi/v/correctionlib-gradients.svg)](https://pypi.org/project/correctionlib-gradients)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/correctionlib-gradients.svg)](https://pypi.org/project/correctionlib-gradients)

A [JAX](https://jax.readthedocs.io)-friendly, auto-differentiable, Python-only implementation of [correctionlib](https://github.com/cms-nanoAOD/correctionlib) correction evaluations.

---

**Table of Contents**
Expand All @@ -25,9 +27,11 @@ pip install correctionlib-gradients

## Usage

1. construct a `CorrectionWithGradient` object from a correctionlib schema
1. construct a `CorrectionWithGradient` object from a `correctionlib.schemav2.Correction`
2. there is no point 2: you can use `CorrectionWithGradient.evaluate` as a normal JAX-friendly, auto-differentiable function

### Example

```python
import jax

Expand Down

0 comments on commit 4900aed

Please sign in to comment.