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

Method GetTypeKeyHash

include/tvm/ffi/object.h:243–247  ·  view source on GitHub ↗

! * \return A hash value of the return of GetTypeKey. */

Source from the content-addressed store, hash-verified

241 * \return A hash value of the return of GetTypeKey.
242 */
243 uint64_t GetTypeKeyHash() const {
244 // the function checks that the info exists
245 const TypeInfo* type_info = TVMFFIGetTypeInfo(header_.type_index);
246 return type_info->type_key_hash;
247 }
248
249 /*!
250 * \brief Get the type key of the corresponding index from runtime.

Callers 6

HashObjectMethod · 0.80
HashSequenceMethod · 0.80
HashMapBaseMethod · 0.80
HashShapeMethod · 0.80
HashTensorMethod · 0.80
HashShapeMethod · 0.80

Calls 1

TVMFFIGetTypeInfoFunction · 0.85

Tested by

no test coverage detected