File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/torchjd/autojac/_transform Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 88from .tensor_dict import _A
99
1010
11- class _Differentiate (Transform [_A , _A ], ABC ):
11+ class Differentiate (Transform [_A , _A ], ABC ):
1212 def __init__ (
1313 self ,
1414 outputs : Iterable [Tensor ],
Original file line number Diff line number Diff line change 33import torch
44from torch import Tensor
55
6- from ._differentiate import _Differentiate
6+ from ._differentiate import Differentiate
77from ._materialize import materialize
88from .tensor_dict import Gradients
99
1010
11- class Grad (_Differentiate [Gradients ]):
11+ class Grad (Differentiate [Gradients ]):
1212 def __init__ (
1313 self ,
1414 outputs : Iterable [Tensor ],
Original file line number Diff line number Diff line change 66import torch
77from torch import Size , Tensor
88
9- from ._differentiate import _Differentiate
9+ from ._differentiate import Differentiate
1010from ._materialize import materialize
1111from .tensor_dict import Jacobians
1212
1313
14- class Jac (_Differentiate [Jacobians ]):
14+ class Jac (Differentiate [Jacobians ]):
1515 def __init__ (
1616 self ,
1717 outputs : Iterable [Tensor ],
You can’t perform that action at this time.
0 commit comments