We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd80bec commit 955add9Copy full SHA for 955add9
autoPyTorch/components/networks/activations.py
@@ -19,5 +19,5 @@ def get_activation(name, inplace=False):
19
if name not in all_activations:
20
raise ValueError('Activation ' + str(name) + ' not defined')
21
activation = all_activations[name]
22
- activation_kwargs = { 'inplace': True } if 'inplace' in inspect.getargspec(activation)[0] else dict()
+ activation_kwargs = { 'inplace': True } if 'inplace' in inspect.getfullargspec(activation)[0] else dict()
23
return activation(**activation_kwargs)
0 commit comments