chainer.functions.rollaxis

chainer.functions.rollaxis(x, axis, start=0)[source]

Roll the axis backwards to the given position.

This function continues to be supported for backward compatibility, but you should prefer chainer.functions.moveaxis(x, source, destination). See chainer.functions.moveaxis().

Parameters
Returns

Variable whose axis is rolled.

Return type

Variable