Function mgb::dev_tensor_memset

Function Documentation

void mgb::dev_tensor_memset(const DeviceTensorND &tensor, int val)

call memset in the data of a device tensor