mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 23:25:39 +08:00
13 lines
222 B
Python
13 lines
222 B
Python
import torch.optim as optim
|
|
|
|
|
|
class Optimizer:
|
|
"""_summary_"""
|
|
|
|
def __init__(self, params: dict) -> None:
|
|
self.optimizer = optim.Adam(params)
|
|
|
|
def test(self):
|
|
raise NotImplementedError
|
|
|
|
|