ClikaRT::ops::cast_like
function
cast_like()
cast to another tensor's dtype: cast(x, reference.dtype()).
Throws
ClikaRT::Error: when the input's dtype/shape is not served for this operation (the machine-readable reason ridescode_name()).
Returns: x converted to reference's dtype; same shape as x.
Declared in ClikaRT/compute/ops.h, line 1975