merlin.models.utils.registry.default_name#

merlin.models.utils.registry.default_name(class_or_fn)[source]#

Default name for a class or function.

This is the naming function by default for registries expecting classes or functions.

Parameters

class_or_fn – class or function to be named.

Return type

Default name for registration.