The size 1 axes to remove. By default, all size 1 axes are
removed. Size 1 axes for removal are identified by their
integer positions in the data array.
i :bool, optional
If True then update the variable in place. By default a new
variable is created. In either case, a variable is
returned.