mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-11-23 14:07:55 +01:00
Apply suggestions from code review
Co-authored-by: Dayne Yoshiki Sasaki <37006268+yoshikisd@users.noreply.github.com>
This commit is contained in:
1 parent
f022b5e2c4
commit
9d633074d8
2 files changed
+2
-2
No files matched your search
@@ -87,7 +87,7 @@ class AdamReconstructor(Reconstructor):
|
||||
batch_size: int = 15,
|
||||
lr: float = 0.005,
|
||||
betas: Tuple[float] = (0.9, 0.999),
|
||||
custom_data_loader = None,
|
||||
custom_data_loader: t.utils.data.DataLoader = None,
|
||||
schedule: bool = False,
|
||||
amsgrad: bool = False,
|
||||
regularization_factor: Union[float, List[float]] = None,
|
||||
|
||||
@@ -232,7 +232,7 @@ class Reconstructor:
|
||||
def optimize(self,
|
||||
iterations: int,
|
||||
batch_size: int = 1,
|
||||
custom_data_loader = None,
|
||||
custom_data_loader: torch.utils.data.DataLoader = None,
|
||||
regularization_factor: Union[float, List[float]] = None,
|
||||
thread: bool = True,
|
||||
calculation_width: int = 10,
|
||||
|
||||
Reference in new issue
Block a user