DeepTrackAI / deeplay

Other
5 stars 6 forks source link

Remove *args and **kwargs names passed to init #36

Closed BenjaminMidtvedt closed 11 months ago

BenjaminMidtvedt commented 11 months ago

This PR fixes an issue where *args and **kwargs were added as keyword arguments args=..., kwargs=... during build. This caused the issue where

layer = dl.Layer(torch.nn.LSTM, 10, 20, 2)
layer.build()

would throw an error complaining about an extra argument "args".