How to extract relay.Constant value?

the code is in src/relay/transforms. As the pics show, op gather’s first arg is constant value, but how can I get it? I used to use cnpy to save the constantNode as npy but there is some bug and I cannot get the right value. Help guys.

hey,do you find the solution?

Yes, the problem is not because of cnpy; cnpy saves the right data so you can use this method securely.