You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support engine='torch' for AxonMapModel. The design should match as closely as possible the code for torch engine for ScoreboardModel (in progress), meaning it should have a separate class that inherits from torches nn.Module, and predict_spatial is refactored to direct calls to the torch module if engine is torch. The torch module should have a function that takes in the stimulus, model parameters, and electrode locations (as torch tensors) and should return the percept as a torch tensor. All existing unit tests should pass.
If it is convenient then this could use the same torch module as BiphasicAxonMapModel.
The text was updated successfully, but these errors were encountered:
Support
engine='torch'
forAxonMapModel
. The design should match as closely as possible the code for torch engine for ScoreboardModel (in progress), meaning it should have a separate class that inherits from torchesnn.Module
, andpredict_spatial
is refactored to direct calls to the torch module if engine is torch. The torch module should have a function that takes in the stimulus, model parameters, and electrode locations (as torch tensors) and should return the percept as a torch tensor. All existing unit tests should pass.If it is convenient then this could use the same torch module as BiphasicAxonMapModel.
The text was updated successfully, but these errors were encountered: