File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -236,25 +236,6 @@ def print_error_msg(unsupported_funcs: List[str]):
236
236
print (f )
237
237
238
238
239
- def is_not_dype_exception (exc : BaseException , dtype_str : str ) -> bool :
240
- """Check if an exception about unsupported dtype."""
241
-
242
- # alias dtype means the alias name of dtype str, like "Boolean" is the alias name of "Bool".
243
- # Set default alias_dtype as twice of str(exc) to make sure default alias dtype is not part of str(exc)
244
- alias_dtype = 2 * str (exc )
245
- if dtype_str == "Bool" :
246
- alias_dtype = "Boolean"
247
-
248
- return not (
249
- ("not supported" in str (exc ) or "not implemented" in str (exc ))
250
- and (
251
- dtype_str in str (exc )
252
- or alias_dtype in str (exc )
253
- or dtype_str .lower () in str (exc )
254
- )
255
- )
256
-
257
-
258
239
class EdgeOpYamlInfo :
259
240
def __init__ (
260
241
self ,
You can’t perform that action at this time.
0 commit comments