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

Method Map

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

Source from the content-addressed store, hash-verified

608 */
609 template <typename F, typename U = std::invoke_result_t<F, T>>
610 Array<U> Map(F fmap) const {
611 return Array<U>(MapHelper(data_, fmap));
612 }
613
614 /*!
615 * \brief Helper function to apply fmutate to mutate an array.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected