monai.deploy.core.executors.ExecutorFactory

class monai.deploy.core.executors.ExecutorFactory[source]

Bases: object

ExecutorFactory is an abstract class that provides a way to create an executor object.

Methods

__init__()

create(executor_type[, executor_params])

Creates an executor object.

Attributes

DEFAULT

NAMES

static create(executor_type, executor_params=None)[source]

Creates an executor object.

Parameters
  • executor_type (str) – A type of the executor.

  • executor_params (Dict) – A dictionary of parameters of the executor.

Returns

An executor object.

Return type

Executor