! * \return A hash value of the return of GetTypeKey. */
| 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. |
no test coverage detected