ClikaRT::ops::zeros_like
function
zeros_like()
Tensor zeros_like(Tensor reference, StreamOrDevice s = {})
A zero-filled tensor with reference's shape and dtype (data never read); s absent = the reference's own device.
Throws
ClikaRT::Error: when the input's dtype is not served for this operation (the machine-readable reason ridescode_name()).
Returns: a new zero-filled tensor shaped like reference.
Declared in ClikaRT/compute/ops.h, line 2388