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

Method map_item_missing

python/tvm_ffi/access_path.py:233–247  ·  view source on GitHub ↗

Create an access path that indicate a map item is missing. Parameters ---------- key The key of the item to access Returns ------- AccessPath The extended access path

(self, key: Any)

Source from the content-addressed store, hash-verified

231 return self._map_item(key)
232
233 def map_item_missing(self, key: Any) -> AccessPath:
234 """Create an access path that indicate a map item is missing.
235
236 Parameters
237 ----------
238 key
239 The key of the item to access
240
241 Returns
242 -------
243 AccessPath
244 The extended access path
245
246 """
247 return self._map_item_missing(key)
248
249 def to_steps(self) -> Sequence[AccessStep]:
250 """Convert the access path to a list of access steps.

Callers 1

Calls 1

_map_item_missingMethod · 0.95

Tested by 1