MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / initialize

Method initialize

monai/bundle/workflows.py:466–474  ·  view source on GitHub ↗

Initialize the bundle workflow before running.

(self)

Source from the content-addressed store, hash-verified

464 self._is_initialized: bool = False
465
466 def initialize(self) -> Any:
467 """
468 Initialize the bundle workflow before running.
469
470 """
471 # reset the "reference_resolver" buffer at initialization stage
472 self.parser.parse(reset=True)
473 self._is_initialized = True
474 return self._run_expr(id=self.init_id)
475
476 def run(self) -> Any:
477 """

Callers 3

test_dataset_trackingMethod · 0.95
test_train_configMethod · 0.95

Calls 2

_run_exprMethod · 0.95
parseMethod · 0.80

Tested by 3

test_dataset_trackingMethod · 0.76
test_train_configMethod · 0.76