MCPcopy
hub / github.com/ddbourgin/numpy-ml / __init__

Method __init__

numpy_ml/tests/nn_torch_models.py:52–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50
51class TorchVAELoss(nn.Module):
52 def __init__(self):
53 super(TorchVAELoss, self).__init__()
54
55 def extract_grads(self, X, X_recon, t_mean, t_log_var):
56 eps = np.finfo(float).eps

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected