MCPcopy Create free account
hub / github.com/apache/tvm-ffi / SHash

Method SHash

tests/cpp/testing_object.h:336–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

hashClass · 0.85

Tested by

no test coverage detected