Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Project-MONAI/MONAI
/ randomize
Method
randomize
monai/apps/datasets.py:148–149 ·
view source on GitHub ↗
(self, data: np.ndarray)
Source
from the content-addressed store, hash-verified
146
)
147
148
def
randomize(self, data: np.ndarray) -> None:
149
self.R.shuffle(data)
150
151
def
get_num_classes(self) -> int:
152
""
"Get number of classes."
""
Callers
1
_generate_data_list
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected