Function
test_init_state_runtime_error
(
params: w.api.Params, audio_file: NDArray[np.float32]
)
Source from the content-addressed store, hash-verified
| 29 | |
| 30 | |
| 31 | def test_init_state_runtime_error( |
| 32 | params: w.api.Params, audio_file: NDArray[np.float32] |
| 33 | ): |
| 34 | context = w.api.Context.from_file(w.utils.download_model("tiny.en"), True) |
| 35 | with pytest.raises(RuntimeError): |
| 36 | context.full(params, audio_file) |
| 37 | |
| 38 | |
| 39 | def test_full_with_init_state_manually( |
Callers
nothing calls this directly
Tested by
no test coverage detected