Template Function tvm::ffi::make_arc

Template Function tvm::ffi::make_arc#

Function Documentation#

template<typename T, typename ...Args>
inline Arc<T> tvm::ffi::make_arc(Args&&... args)#

Allocate an object and return a non-null owning pointer.

Parameters:

args – Arguments to the constructor.

Template Parameters:

T – The node type.

Returns:

An Arc owning the allocated object.