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

Method Set

include/tvm/ffi/container/array.h:585–585  ·  view source on GitHub ↗

! * \brief set i-th element of the array. * \param i The index * \param value The value to be setted. */

Source from the content-addressed store, hash-verified

583 * \param value The value to be setted.
584 */
585 void Set(int64_t i, T value) { CopyOnWrite()->SetItem(i, std::move(value)); }
586
587 /*! \return The underlying ArrayObj */
588 ArrayObj* GetArrayObj() const { return static_cast<ArrayObj*>(data_.get()); }

Callers

nothing calls this directly

Calls 1

SetItemMethod · 0.80

Tested by

no test coverage detected