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

Function fill_zero_dev_tensor

src/core/include/megbrain/tensor.h:572–574  ·  view source on GitHub ↗

! * \brief fill zeros in the content of a dev tensor */

Source from the content-addressed store, hash-verified

570 * \brief fill zeros in the content of a dev tensor
571 */
572static inline void fill_zero_dev_tensor(const DeviceTensorND& tensor) {
573 dev_tensor_memset(tensor, 0);
574}
575
576} // namespace mgb
577

Callers 6

scn_do_executeMethod · 0.85
makeMethod · 0.85
scn_do_executeMethod · 0.85
prof_implMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected