Skip to content

Commit e05311d

Browse files
committed
style
1 parent 25ccb7c commit e05311d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

onnx_diagnostic/investigate/input_observer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ def remove_inputs(self, input_names: Sequence[str | int]):
165165
self.args = tuple(args_list)
166166
# remove any temporary structures
167167
self.flat_list, self.spec = torch.utils._pytree.tree_flatten((self.args, self.kwargs))
168-
self._position_to_args_kwargs: list[int | str] | None = None
169-
self._n_tensors_for_args_kwargs: dict[int | str, int] | None = None
170-
self.aligned_spec: torch.utils._pytree.PyTreeSpec | None = None
171-
self.aligned_flat_list: list[torch.Tensor | None] | None = None
168+
self._position_to_args_kwargs = None
169+
self._n_tensors_for_args_kwargs = None
170+
self.aligned_spec = None
171+
self.aligned_flat_list = None
172172

173173
def __str__(self) -> str:
174174
return (

0 commit comments

Comments
 (0)