| 334 | } |
| 335 | |
| 336 | int64_t SHash(int64_t init_hash, ffi::TypedFunction<int64_t(AnyView, int64_t, bool)> hash) const { |
| 337 | int64_t hash_value = init_hash; |
| 338 | hash_value = hash(params, hash_value, true); |
| 339 | hash_value = hash(body, hash_value, false); |
| 340 | return hash_value; |
| 341 | } |
| 342 | |
| 343 | static void RegisterReflection() { |
| 344 | namespace refl = tvm::ffi::reflection; |