The is_const function for Expr is too weak?

IMHO, the is_const function for Expr should call recursively based on the syntax of Expr.

image

@tqchen @ziheng @ajtulloch

1 Like