neuroptica icon indicating copy to clipboard operation
neuroptica copied to clipboard

Flexible simulation package for optical neural networks

Results 4 neuroptica issues
Sort by recently updated
recently updated
newest added

Hey Ben, I got in contact with you about a year ago about using this framework, and I ended up using it in my masters thesis. I extended it to...

This introduces automatic computation of the backpropagation through activation functions. Changes: There is only one `Nonlinearity` class. Real, complex, and non-holomorphic activations handled exactly the same way. You only need...

running this mode ``` model_linear = neu.Sequential([ neu.ClementsLayer(N), neu.Activation(neu.AbsSquared(N)), neu.DropMask(N, keep_ports=range(N_classes)) ]) losses = neu.InSituAdam(model_linear, neu.CategoricalCrossEntropy, step_size=step_size).fit(x_train_flattened, y_train_onehot, epochs=n_epochs, batch_size=batch_size) ``` gives the warning: ```../neuroptica/neuroptica/losses.py:45: RuntimeWarning: overflow encountered in exp...

bug

Not sure if I am doing something stupid, but I get the following error when trying to train a mesh of dimension N = 2. ``` --------------------------------------------------------------------------- IndexError Traceback (most...

lowpriority