MCPcopy
hub / github.com/RapidAI/RapidOCR / test_nested_init_parameters

Function test_nested_init_parameters

python/tests/test_input.py:142–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141
142def test_nested_init_parameters():
143 cfg = ParseParams.load(config_path)
144 ParseParams.update_batch(cfg, {"EngineConfig.onnxruntime.use_cuda": True})
145
146 assert cfg.EngineConfig.onnxruntime.use_cuda is True
147
148
149def test_input_three_ndim_two_channel(engine):

Callers

nothing calls this directly

Calls 2

loadMethod · 0.80
update_batchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…