Skip to content

Commit 955add9

Browse files
committed
Update inspect.getargspec to getfullargspec
1 parent dd80bec commit 955add9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoPyTorch/components/networks/activations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ def get_activation(name, inplace=False):
1919
if name not in all_activations:
2020
raise ValueError('Activation ' + str(name) + ' not defined')
2121
activation = all_activations[name]
22-
activation_kwargs = { 'inplace': True } if 'inplace' in inspect.getargspec(activation)[0] else dict()
22+
activation_kwargs = { 'inplace': True } if 'inplace' in inspect.getfullargspec(activation)[0] else dict()
2323
return activation(**activation_kwargs)

0 commit comments

Comments
 (0)