cf.squeeze

cf.squeeze(x, *args, **kwargs)[source]

Return a new variable with removed size 1 data array dimensions.

Parameters :
x :

The input variable, which has a squeeze method.

args, kwargs :

As for the input variable’s squeeze method.

Returns :
out :

A new variable with removed size 1 data array dimensions.

Examples

See the input variable’s squeeze method.

Previous topic

cf.flip

Next topic

cf.transpose

This Page