My understanding is that padding arg in reflecion_pad and replication_pad ops is always an array of ints.  Could padding be a single int?  Also, can you use _maybe_get_const() function from symbolic_helper to parse 'is'?  If the output is still a torch._C.Value, then throw the exception?