hydra_zen¶
hydra-zen utilities.
- cneuromax.utils.hydra_zen.builds(*pos_args, zen_partial=None, zen_wrappers=(), zen_meta=None, populate_full_signature=False, zen_convert=None, hydra_recursive=None, hydra_convert=None, hydra_defaults=None, builds_bases=(), zen_dataclass=None, **kwargs_for_target)¶
hydra-zen custom build function.
- Parameters:
populate_full_signature (
bool
, default:False
) – Set toFalse
.hydra_convert (
Optional
[Literal
['none'
,'partial'
,'all'
,'object'
]], default:None
) – Set to"partial"
.
- Return type:
Union
[Type
[Builds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]],Type
[Union
[ZenPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])],HydraPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]]],Type
[BuildsWithSig
[Type
[TypeVar
(R
)],ParamSpec
(P
)]]]
- cneuromax.utils.hydra_zen.p_builds(*pos_args, zen_partial=None, zen_wrappers=(), zen_meta=None, populate_full_signature=False, zen_convert=None, hydra_recursive=None, hydra_convert=None, hydra_defaults=None, builds_bases=(), zen_dataclass=None, **kwargs_for_target)¶
hydra-zen custom build function.
- Parameters:
zen_partial (
Optional
[bool
], default:None
) – Set toTrue
.populate_full_signature (
bool
, default:False
) – Set toFalse
.hydra_convert (
Optional
[Literal
['none'
,'partial'
,'all'
,'object'
]], default:None
) – Set to"partial"
.
- Return type:
Union
[Type
[Builds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]],Type
[Union
[ZenPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])],HydraPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]]],Type
[BuildsWithSig
[Type
[TypeVar
(R
)],ParamSpec
(P
)]]]
- cneuromax.utils.hydra_zen.fs_builds(*pos_args, zen_partial=None, zen_wrappers=(), zen_meta=None, populate_full_signature=False, zen_convert=None, hydra_recursive=None, hydra_convert=None, hydra_defaults=None, builds_bases=(), zen_dataclass=None, **kwargs_for_target)¶
hydra-zen custom build function.
- Parameters:
populate_full_signature (
bool
, default:False
) – Set toTrue
.hydra_convert (
Optional
[Literal
['none'
,'partial'
,'all'
,'object'
]], default:None
) – Set to"partial"
.
- Return type:
Union
[Type
[Builds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]],Type
[Union
[ZenPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])],HydraPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]]],Type
[BuildsWithSig
[Type
[TypeVar
(R
)],ParamSpec
(P
)]]]
- cneuromax.utils.hydra_zen.pfs_builds(*pos_args, zen_partial=None, zen_wrappers=(), zen_meta=None, populate_full_signature=False, zen_convert=None, hydra_recursive=None, hydra_convert=None, hydra_defaults=None, builds_bases=(), zen_dataclass=None, **kwargs_for_target)¶
hydra-zen custom build function.
- Parameters:
zen_partial (
Optional
[bool
], default:None
) – Set toTrue
.populate_full_signature (
bool
, default:False
) – Set toTrue
.hydra_convert (
Optional
[Literal
['none'
,'partial'
,'all'
,'object'
]], default:None
) – Set to"partial"
.
- Return type:
Union
[Type
[Builds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]],Type
[Union
[ZenPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])],HydraPartialBuilds
[TypeVar
(Importable
, bound=Callable
[...
,Any
])]]],Type
[BuildsWithSig
[Type
[TypeVar
(R
)],ParamSpec
(P
)]]]
- cneuromax.utils.hydra_zen.destructure(x)[source]¶
Disables Hydra config type checking.
See discussion.
- Return type: