cf.expand_dims

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

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

Parameters :
x :

The input variable, which has an expand_dims method.

args, kwargs :

As for the input variable’s expand_dims method.

Returns :
out :

A new variable with inserted size 1 data array dimensions.

Examples

See the input variable’s expand_dims method.

Previous topic

cf.sin

Next topic

cf.flip

This Page