Skip to content

Commit

Permalink
remove public kwarg from loss derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
knikolaou committed May 27, 2024
1 parent b54db51 commit fb30d6a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions papyrus/measurements/measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,6 @@ def __init__(
apply_fn: Callable,
name: str = "loss_derivative",
rank: int = 1,
public: bool = False,
):
"""
Constructor method of the LossDerivative class.
Expand All @@ -650,11 +649,8 @@ def __init__(
rank : int (default=1)
The rank of the measurement, defining the tensor order of the
measurement.
public : bool (default=False)
Boolean flag to indicate whether the measurement resutls will be
accessible via a public attribute of the recorder.
"""
super().__init__(name, rank, public)
super().__init__(name, rank)
self.apply_fn = apply_fn

def apply(self, predictions: np.ndarray, targets: np.ndarray) -> np.ndarray:
Expand Down

0 comments on commit fb30d6a

Please sign in to comment.