neuralib.argp.core.as_dict

neuralib.argp.core.as_dict(instance)[source]

collect all argument attributes into a dictionary with attribute name to its value.

Parameters:

instance (T)

Returns:

Return type:

dict[str, Any]