cf.unsqueeze

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

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

Parameters :
x :

The input variable, which has an unsqueeze method.

args, kwargs :

As for the input variable’s unsqueeze method.

Returns :
out :

A new variable with inserted size 1 data array dimensions.

Examples

See the input variable’s unsqueeze method.

Previous topic

cf.transpose

Next topic

cf.equals

This Page