ClikaRT::ops::randn_like
function
randn_like()
Tensor randn_like(Tensor reference, StreamOrDevice s = {})
N(0, 1) draws shaped and typed like reference.
Parameters
reference: the tensor whose shape/dtype the output copies.s: stream or device; default = the default device.
Returns: normal draws, reference's shape and dtype.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) on a non-float reference dtype.
Declared in ClikaRT/compute/ops.h, line 4131