Menu

Module providing common Brain MRI Augmentation Methods for PyTorch.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

brainrise.utils.flatten(data)[source]ΒΆ

Ensure that the list contains more than one element.

Parameters

arr : list

the listify input data.

Returns

out : list or array

the output data.

Follow us

© 2023, brainrise developers