deepr.config.from_config

deepr.config.from_config(item)[source]

Instantiate item from config.

Raises:

ValueError – If item is not a valid config (unexpected eval method)

Return type:

Any