bitorch.layers.qconv_mixin.QConvArgsProviderMixin¶
- class bitorch.layers.qconv_mixin.QConvArgsProviderMixin(*args: Any, **kwargs: Any)[source]¶
Methods
Gather all arguments that were used to create a QLinear layer with argument names.
- static get_args_as_kwargs(recipe: LayerRecipe) Dict[str, Any] [source]¶
Gather all arguments that were used to create a QLinear layer with argument names. Can be used to recreate a layer with identical arguments.
- Returns:
A dictionary with all arguments (key is the argument name as a string even for positional arguments)