Skip to content

Function Graphs

openzl.ext.FunctionGraph

__module__ = 'openzl.ext' class-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

__init__() method descriptor

init(self) -> None

__new__(*args, **kwargs) builtin

Create and return a new object. See help(type) for accurate signature.

function_graph_description() method descriptor

function_graph_description(self) -> openzl.ext.FunctionGraphDescription

graph() method descriptor

graph(self, state: openzl.ext.GraphState) -> None

openzl.ext.GraphState

__module__ = 'openzl.ext' class-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

custom_graphs property

(self) -> list[openzl.ext.GraphID]

custom_nodes property

(self) -> list[openzl.ext.NodeID]

edges property

(self) -> list[openzl.ext.Edge]

__init__(*args, **kwargs) method descriptor

Initialize self. See help(type(self)) for accurate signature.

__new__(*args, **kwargs) builtin

Create and return a new object. See help(type) for accurate signature.

get_cparam() method descriptor

get_cparam(self, param: openzl.ext.CParam) -> int

get_local_int_param() method descriptor

get_local_int_param(self, key: int) -> int | None

get_local_param() method descriptor

get_local_param(self, key: int) -> bytes | None

is_node_supported() method descriptor

is_node_supported(self, node: openzl.ext.NodeID) -> bool

openzl.ext.Edge

__module__ = 'openzl.ext' class-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

input property

(self) -> openzl.ext.Input

__init__(*args, **kwargs) method descriptor

Initialize self. See help(type(self)) for accurate signature.

__new__(*args, **kwargs) builtin

Create and return a new object. See help(type) for accurate signature.

run_multi_input_node(*args, **kwargs)

run_multi_input_node(inputs: collections.abc.Sequence[openzl.ext.Edge], node: openzl.ext.NodeID, *, name: str | None = None, local_params: openzl.ext.LocalParams | None = None) -> list[openzl.ext.Edge]

run_node() method descriptor

run_node(self, node: openzl.ext.NodeID, *, name: str | None = None, params: openzl.ext.LocalParams | None = None) -> list[openzl.ext.Edge]

set_destination() method descriptor

set_destination(self, graph: openzl.ext.GraphID, *, name: str | None = None, custom_graphs: collections.abc.Sequence[openzl.ext.GraphID] | None = None, custom_nodes: collections.abc.Sequence[openzl.ext.NodeID] | None = None, local_params: openzl.ext.LocalParams | None = None) -> None

set_int_metadata() method descriptor

set_int_metadata(self, key: int, value: int) -> None

set_multi_input_destination(*args, **kwargs)

set_multi_input_destination(inputs: collections.abc.Sequence[openzl.ext.Edge], graph: openzl.ext.GraphID, *, name: str | None = None, custom_graphs: collections.abc.Sequence[openzl.ext.GraphID] | None = None, custom_nodes: collections.abc.Sequence[openzl.ext.NodeID] | None = None, local_params: openzl.ext.LocalParams | None = None) -> None

openzl.ext.FunctionGraphDescription

__module__ = 'openzl.ext' class-attribute

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.

custom_graphs property

(self) -> list[openzl.ext.GraphID]

custom_nodes property

(self) -> list[openzl.ext.NodeID]

input_type_masks property

(self) -> list[openzl.ext.TypeMask]

last_input_is_variable property

(self) -> bool

local_params property

(self) -> openzl::LocalParams | None

name property

(self) -> str | None

__init__() method descriptor

init(self, *, name: str | None = None, input_type_masks: collections.abc.Sequence[openzl.ext.TypeMask], last_input_is_variable: bool = False, custom_graphs: collections.abc.Sequence[openzl.ext.GraphID] = [], custom_nodes: collections.abc.Sequence[openzl.ext.NodeID] = [], local_params: openzl.ext.LocalParams | None = None) -> None

__new__(*args, **kwargs) builtin

Create and return a new object. See help(type) for accurate signature.