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

Method root

python/tvm_ffi/access_path.py:114–123  ·  view source on GitHub ↗

Create a root access path. Returns ------- AccessPath A path representing the root of an object graph.

()

Source from the content-addressed store, hash-verified

112
113 @staticmethod
114 def root() -> AccessPath:
115 """Create a root access path.
116
117 Returns
118 -------
119 AccessPath
120 A path representing the root of an object graph.
121
122 """
123 return AccessPath._root()
124
125 def __eq__(self, other: Any) -> bool:
126 """Return whether two access paths are equal."""

Callers 8

test_root_pathFunction · 0.80
test_path_attrFunction · 0.80
test_path_array_itemFunction · 0.80
test_path_map_itemFunction · 0.80
test_path_is_prefix_ofFunction · 0.80
test_path_equalFunction · 0.80

Calls 1

_rootMethod · 0.80

Tested by 8

test_root_pathFunction · 0.64
test_path_attrFunction · 0.64
test_path_array_itemFunction · 0.64
test_path_map_itemFunction · 0.64
test_path_is_prefix_ofFunction · 0.64
test_path_equalFunction · 0.64