# Path: cortex/_lib/optimizer.py
# OPTIMIZERS = {}
# def wrap_optimizer(C):
#         def __init__(self, params, clipping=None, **kwargs):
#         def step(self, closure=None):
# def setup(model, optimizer='Adam', learning_rate=1.e-4,
#           weight_decay={}, clipping={}, optimizer_options={},
#           model_optimizer_options={}):
#     class Op(C):


import copy
import numpy as np
from cortex._lib import optimizer
'''Tests the optimizer functionality.

'''





def test_optimizer(model_with_submodel):
    model = model_with_submodel
    model.build()


# Path: cortex/_lib/optimizer.py
# OPTIMIZERS = {}
# def wrap_optimizer(C):
#         def __init__(self, params, clipping=None, **kwargs):
#         def step(self, closure=None):
# def setup(model, optimizer='Adam', learning_rate=1.e-4,
#           weight_decay={}, clipping={}, optimizer_options={},
#           model_optimizer_options={}):
#     class Op(C):


# Path: tests/test_optimizer.py
import copy
import numpy as np
from cortex._lib import optimizer

'''Tests the optimizer functionality.

'''





def test_optimizer(model_with_submodel):
    model = model_with_submodel
    model.build()


    optimizer.setup(model)