itkwasm.pipelineΒΆ
Module ContentsΒΆ
ClassesΒΆ
| Helper for working with the wasm module instance created when a Pipeline is run. | |
| Run an itk-wasm WASI pipeline. | 
FunctionsΒΆ
| Convert a numpy array-like to bytes. | 
APIΒΆ
- itkwasm.pipeline.array_like_to_bytes(arr: numpy.typing.ArrayLike) bytesΒΆ
- Convert a numpy array-like to bytes. 
- class itkwasm.pipeline.RunInstance(engine: wasmtime.Engine, linker: wasmtime.Linker, module: wasmtime.Module, args: List[str], preopen_directories: Set[str])ΒΆ
- Helper for working with the wasm module instance created when a Pipeline is run. - Initialization - delayed_start()ΒΆ
 - delayed_exit(return_code)ΒΆ
 
- class itkwasm.pipeline.Pipeline(pipeline: Union[str, pathlib.Path, bytes])ΒΆ
- Run an itk-wasm WASI pipeline. - Initialization - Compile the pipeline. - run(args: List[str], outputs: List[itkwasm.pipeline_output.PipelineOutput] = [], inputs: List[itkwasm.pipeline_input.PipelineInput] = []) Tuple[itkwasm.pipeline_output.PipelineOutput]ΒΆ
- Run the itk-wasm pipeline.