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

Method __add__

python/tvm_ffi/container.py:262–264  ·  view source on GitHub ↗

Concatenate two arrays.

(self, other: Iterable[T])

Source from the content-addressed store, hash-verified

260 return len(self) > 0
261
262 def __add__(self, other: Iterable[T]) -> Array[T]:
263 """Concatenate two arrays."""
264 return type(self)(itertools.chain(self, other))
265
266 def __radd__(self, other: Iterable[T]) -> Array[T]:
267 """Concatenate two arrays."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected