monai.deploy.core.graphs.GraphFactory

class monai.deploy.core.graphs.GraphFactory[source]

Bases: object

GraphFactory is an abstract class that provides a way to create a graph object.

Methods

__init__()

create(graph_type[, graph_params])

Creates a graph object.

Attributes

DEFAULT

NAMES

static create(graph_type, graph_params=None)[source]

Creates a graph object.

Parameters
  • graph_type (str) – A type of the graph.

  • graph_params (Dict) – A dictionary of parameters of the graph.

Returns

A graph object.

Return type

Graph