-
-
Save colesbury/822c84fa73676c4411c616629a37939c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tools/autograd/gen_variable_type.py b/tools/autograd/gen_variable_type.py | |
index 3378d3b..05ac18f 100644 | |
--- a/tools/autograd/gen_variable_type.py | |
+++ b/tools/autograd/gen_variable_type.py | |
@@ -401,7 +401,7 @@ def preprocess_nn_functions(declarations): | |
autograd_functions = [] | |
for declaration in declarations: | |
name = declaration['name'] | |
- if name == 'batch_norm' or 'conv' in name: | |
+ if name == 'batch_norm' or 'conv3d' in name: | |
continue | |
fwd_name = name + '_forward' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment