MCPcopy Create free account
hub / github.com/tensorflow/lingvo / GetClass

Method GetClass

lingvo/model_registry.py:226–244  ·  view source on GitHub ↗

Returns a ModelParams subclass with the given `class_key`. Args: class_key: string key of the ModelParams subclass to return. Returns: A subclass of `~.base_model_params._BaseModelParams`. Raises: LookupError: If no class with the given key has been registered.

(cls, class_key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

_testOneModelParamsMethod · 0.80
GetCachedObjectMethod · 0.80
GetParamsMethod · 0.80
GetProgramScheduleMethod · 0.80
GetClassFunction · 0.80
InspectParamsMethod · 0.80
InspectDatasetsMethod · 0.80
InspectDecoderMethod · 0.80
testGetClassMethod · 0.80

Calls 1

Tested by 2

_testOneModelParamsMethod · 0.64
testGetClassMethod · 0.64