neuralib.argp.core.with_defaults

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

Initialize all argument attributes by assign the default value if provided.

Parameters:

instance (T)

Returns:

instance itself

Return type:

T