Update dummy_converters.py
Just changes "is not" to "!=", which otherwise throws a warning.
@@ -3,7 +3,7 @@ from torch2trt.torch2trt import *
def is_private(method):
method = method.split('.')[-1] # remove prefix
- return method[0] == '_' and method[1] is not '_'
+ return method[0] == '_' and method[1] != '_'
def is_function_type(method):
fntype = eval(method + '.__class__.__name__')
