diff --git a/python/tvm_ffi/container.py b/python/tvm_ffi/container.py index 2b64ed63..3f6884f6 100644 --- a/python/tvm_ffi/container.py +++ b/python/tvm_ffi/container.py @@ -144,6 +144,10 @@ class Array(core.Object, Sequence[T]): a = tvm_ffi.Array([1, 2, 3]) assert tuple(a) == (1, 2, 3) + Notes + ----- + For structural equality and hashing, use ``structural_equal`` and ``structural_hash`` APIs. + See Also -------- :py:func:`tvm_ffi.convert` @@ -298,6 +302,10 @@ class Map(core.Object, Mapping[K, V]): assert amap["a"] == 1 assert amap["b"] == 2 + Notes + ----- + For structural equality and hashing, use ``structural_equal`` and ``structural_hash`` APIs. + See Also -------- :py:func:`tvm_ffi.convert`