quantnn/models/pytorch/common.py
def _get_default_optimizer(model):
    """
    The default optimizer. Currently set to Adam optimizer.
    """
    optimizer = optim.Adam(model.parameters(), lr=0.0005)
    return optimizer

    The default optimizer. Currently set to Adam optimizer.
    
The default optimizer. Currently set to Adam optimizer.
The default optimizer . Currently set to Adam optimizer .
def _get_default_optimizer(model):
    optimizer = optim.Adam(model.parameters(), lr=0.0005)
    return optimizer
def _get_default_optimizer ( model ) : optimizer = optim . Adam ( model . parameters ( ) , lr = 0.0005 ) return optimizer
The default optimizer.
The default optimizer .
"""
    The default optimizer. Currently set to Adam optimizer.
    """
model