@@ -159,14 +159,14 @@ class ModelParameters:
159159 """`modelParameters` block within `modelCard`."""
160160
161161 def __init__ (
162- self , * ,
163- approach : Optional [Approach ] = None ,
164- task : Optional [str ] = None ,
165- architecture_family : Optional [str ] = None ,
166- model_architecture : Optional [str ] = None ,
167- datasets : Optional [Iterable [Any ]] = None , # Unsupported placeholder until #913 lands.
168- inputs : Optional [Iterable [InputOutputMLParameters ]] = None ,
169- outputs : Optional [Iterable [InputOutputMLParameters ]] = None ,
162+ self , * ,
163+ approach : Optional [Approach ] = None ,
164+ task : Optional [str ] = None ,
165+ architecture_family : Optional [str ] = None ,
166+ model_architecture : Optional [str ] = None ,
167+ datasets : Optional [Iterable [Any ]] = None , # Unsupported placeholder until #913 lands.
168+ inputs : Optional [Iterable [InputOutputMLParameters ]] = None ,
169+ outputs : Optional [Iterable [InputOutputMLParameters ]] = None ,
170170 ) -> None :
171171 self .approach = approach
172172 self .task = task
@@ -1519,12 +1519,12 @@ class ModelCard:
15191519 """
15201520
15211521 def __init__ (
1522- self , * ,
1523- bom_ref : Optional [Union [str , BomRef ]] = None ,
1524- model_parameters : Optional [ModelParameters ] = None ,
1525- quantitative_analysis : Optional [QuantitativeAnalysis ] = None ,
1526- considerations : Optional [Considerations ] = None ,
1527- properties : Optional [Iterable [Property ]] = None ,
1522+ self , * ,
1523+ bom_ref : Optional [Union [str , BomRef ]] = None ,
1524+ model_parameters : Optional [ModelParameters ] = None ,
1525+ quantitative_analysis : Optional [QuantitativeAnalysis ] = None ,
1526+ considerations : Optional [Considerations ] = None ,
1527+ properties : Optional [Iterable [Property ]] = None ,
15281528 ) -> None :
15291529 self ._bom_ref = _bom_ref_from_str (bom_ref ) if bom_ref is not None else _bom_ref_from_str (None )
15301530 self .model_parameters = model_parameters
0 commit comments