ClikaRT::ops::unsqueeze
function
unsqueeze()
Insert a size-1 dim at dim. The position is normalized against the OUTPUT rank, so -1 appends at the trailing end. Returns a view (no copy).
Throws
ClikaRT::Error: (INVALID_ARGUMENT) whendimis outside the output's rank (code_name()carries the reason).
Returns: a view of x with rank + 1.
Declared in ClikaRT/compute/ops.h, line 3471