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

Method __init__

python/tvm_ffi/container.py:283–285  ·  view source on GitHub ↗

Construct a List from a Python sequence.

(self, input_list: Iterable[T] = ())

Source from the content-addressed store, hash-verified

281 return _ffi_api.DeepCopy(self)
282
283 def __init__(self, input_list: Iterable[T] = ()) -> None:
284 """Construct a List from a Python sequence."""
285 self.__init_handle_by_constructor__(_ffi_api.List, *input_list)
286
287 @overload
288 def __getitem__(self, idx: SupportsIndex, /) -> T: ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected