Skip to content

to contiguous of 0-dim array #3628

@wyli

Description

@wyli

Describe the bug

>>> import numpy as np
>>> from monai.transforms import convert_to_contiguous
>>> convert_to_contiguous(np.array(0)))
array([0])

the method should preserve the dimensionality information...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions