cf.FieldList.unsqueeze

FieldList.unsqueeze(*args, **kwargs)[source]

Insert size 1 axes into the data array of each field.

fl.unsqueeze(*args, **kwargs) is equivalent to for f in fl: f.unsqueeze(*args, **kwargs).

See cf.Field.unsqueeze for details.

Parameters :
args, kwargs : optional

See cf.Field.unsqueeze.

Returns :

None

Previous topic

cf.FieldList.transpose

Next topic

cf.FieldList.append

This Page