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

Method __hash__

python/tvm_ffi/container.py:254–256  ·  view source on GitHub ↗

Structural hash.

(self)

Source from the content-addressed store, hash-verified

252 return not result
253
254 def __hash__(self) -> int:
255 """Structural hash."""
256 return _ffi_api.RecursiveHash(self)
257
258 def __bool__(self) -> bool:
259 """Return True if the array is non-empty."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected