MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / LiteAny

Function LiteAny

lite/include/lite/tensor.h:362–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 */
361 template <class T>
362 LiteAny(T value) : m_holder(new AnyHolder<T>(value)) {
363 m_type = get_type<T>();
364 }
365
366 /**
367 * @brief copy constructor

Callers 1

tensor.hFile · 0.85

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected