Skip to content

schola.core.utils

Utility functions and classes for Schola.

Functions

get_plugins(group_name)Returns a list of plugins for a given group name.
nested_get(dct, keys, default)Get a value from a nested dictionary, returning a default value if the key is not found.

Classes

IdManager(ids)A class to manage the mapping between nested and flattened ids.
ScholaModel()A PyTorch Module that is compatible with Schola inference.