Skip to content

Commit 2f7251f

Browse files
shivaniagcopybara-github
authored andcommitted
Allows setting array of bounds in set_calibration_config.
PiperOrigin-RevId: 678393309
1 parent dd10639 commit 2f7251f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aqt/jax/v2/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def _set_noise_fn(
216216

217217

218218
def set_constant_calibration(
219-
cfg: DotGeneral, bound: float = 1.0, bias: float | None = None
219+
cfg: DotGeneral, bound: Union[jnp.ndarray, float], bias: float | None = None
220220
):
221221
"""Sets the static bound for calibration."""
222222
calibration_cls = functools.partial(

0 commit comments

Comments
 (0)