deeplay.module Module#

Functions#

after_build(func)

Decorator for methods that will be run after build instead of immediately.

after_init(func)

Decorator for methods that will be run after init _and_ immediately.

builder(cls, args, kwargs)

not_top_level(cls, obj)

stateful(func)

Decorator for methods modify the object state.

warn(message[, category, stacklevel, source])

Issue a warning, or maybe ignore it or raise an exception.

Classes#

Config(*args, **kwargs)

ConfigItem(source, value)

ConfigItemList([iterable])

Data([x, edge_index, edge_attr, y, pos, time])

A data object describing a homogeneous graph. The data object can hold node-level, link-level and graph-level attributes. In general, Data tries to mimic the behavior of a regular :python:`Python` dictionary. In addition, it provides useful functionality for analyzing graph structures, and provides basic PyTorch tensor functionalities. See here for the accompanying tutorial.

DeeplayModule(*args, **kwargs)

A base class for creating configurable, extensible modules with dynamic initialization and argument management.

DetachedConfigItem(source, value)

ExtendedConstructorMeta(name, bases, attrs)

Selection(*args, **kwargs)

partial

partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.