shairubin / fun_with_ast

let's have fun manipulating ASTs in Python
Apache License 2.0
0 stars 1 forks source link

assert with comment failes to match #240

Closed shairubin closed 4 months ago

shairubin commented 4 months ago

def trace_cond(proxy_mode, func_overload, pred, true_fn, false_fn, operands): assert isinstance( operands, (list, tuple) ), "Cond operands must be a list or tuple of tensors"