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

Method __init__

python/tvm_ffi/container.py:208–210  ·  view source on GitHub ↗

Construct an Array from a Python sequence.

(self, input_list: Iterable[T])

Source from the content-addressed store, hash-verified

206 return _ffi_api.DeepCopy(self)
207
208 def __init__(self, input_list: Iterable[T]) -> None:
209 """Construct an Array from a Python sequence."""
210 self.__init_handle_by_constructor__(_ffi_api.Array, *input_list)
211
212 @overload
213 def __getitem__(self, idx: SupportsIndex, /) -> T: ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected