@@ -49,11 +49,11 @@ class ClearMLLogger(BaseLogger):
4949        clearml-init 
5050
5151    Args: 
52-         project_name (str) : The name of the project in which the experiment will be created. If the project 
52+         project_name: The name of the project in which the experiment will be created. If the project 
5353            does not exist, it is created. If ``project_name`` is ``None``, the repository name is used. (Optional) 
54-         task_name (str) : The name of Task (experiment). If ``task_name`` is ``None``, the Python experiment 
54+         task_name: The name of Task (experiment). If ``task_name`` is ``None``, the Python experiment 
5555            script's file name is used. (Optional) 
56-         task_type (str) : Optional. The task type. Valid values are: 
56+         task_type: Optional. The task type. Valid values are: 
5757            - ``TaskTypes.training`` (Default) 
5858            - ``TaskTypes.train`` 
5959            - ``TaskTypes.testing`` 
@@ -119,7 +119,7 @@ class ClearMLLogger(BaseLogger):
119119
120120    """ 
121121
122-     def  __init__ (self , * _ : Any , ** kwargs : Any )  ->   None :
122+     def  __init__ (self , * _ : Any , ** kwargs : Any ):
123123        try :
124124            from  clearml  import  Task 
125125            from  clearml .binding .frameworks .tensorflow_bind  import  WeightsGradientHistHelper 
@@ -270,14 +270,14 @@ def global_step_transform(*args, **kwargs):
270270            ) 
271271
272272    Args: 
273-         tag (str) : common title for all produced plots. For example, "training" 
274-         metric_names (list of str, optional) : list of metric names to plot or a string "all" to plot all available 
273+         tag: common title for all produced plots. For example, "training" 
274+         metric_names: list of metric names to plot or a string "all" to plot all available 
275275            metrics. 
276-         output_transform (callable, optional) : output transform function to prepare `engine.state.output` as a number. 
276+         output_transform: output transform function to prepare `engine.state.output` as a number. 
277277            For example, `output_transform = lambda output: output` 
278278            This function can also return a dictionary, e.g `{"loss": loss1, "another_loss": loss2}` to label the plot 
279279            with corresponding keys. 
280-         global_step_transform (callable, optional) : global step transform function to output a desired global step. 
280+         global_step_transform: global step transform function to output a desired global step. 
281281            Input of the function is `(engine, event_name)`. Output of function should be an integer. 
282282            Default is None, global_step based on attached engine. If provided, 
283283            uses function output as global_step. To setup global step from another engine, please use 
@@ -299,7 +299,7 @@ def __init__(
299299        metric_names : Optional [List [str ]] =  None ,
300300        output_transform : Optional [Callable ] =  None ,
301301        global_step_transform : Optional [Callable ] =  None ,
302-     )  ->   None :
302+     ):
303303        super (OutputHandler , self ).__init__ (tag , metric_names , output_transform , global_step_transform )
304304
305305    def  __call__ (self , engine : Engine , logger : ClearMLLogger , event_name : Union [str , Events ]) ->  None :
@@ -359,13 +359,13 @@ class OptimizerParamsHandler(BaseOptimizerParamsHandler):
359359            ) 
360360
361361    Args: 
362-         optimizer (torch.optim.Optimizer or object) : torch optimizer or any object with attribute ``param_groups`` 
362+         optimizer: torch optimizer or any object with attribute ``param_groups`` 
363363            as a sequence. 
364-         param_name (str) : parameter name 
365-         tag (str, optional) : common title for all produced plots. For example, "generator" 
364+         param_name: parameter name 
365+         tag: common title for all produced plots. For example, "generator" 
366366    """ 
367367
368-     def  __init__ (self , optimizer : Optimizer , param_name : str  =  "lr" , tag : Optional [str ] =  None )  ->   None :
368+     def  __init__ (self , optimizer : Optimizer , param_name : str  =  "lr" , tag : Optional [str ] =  None ):
369369        super (OptimizerParamsHandler , self ).__init__ (optimizer , param_name , tag )
370370
371371    def  __call__ (self , engine : Engine , logger : ClearMLLogger , event_name : Union [str , Events ]) ->  None :
@@ -410,13 +410,13 @@ class WeightsScalarHandler(BaseWeightsScalarHandler):
410410            ) 
411411
412412    Args: 
413-         model (torch.nn.Module) : model to log weights 
414-         reduction (callable) : function to reduce parameters into scalar 
415-         tag (str, optional) : common title for all produced plots. For example, "generator" 
413+         model: model to log weights 
414+         reduction: function to reduce parameters into scalar 
415+         tag: common title for all produced plots. For example, "generator" 
416416
417417    """ 
418418
419-     def  __init__ (self , model : Module , reduction : Callable  =  torch .norm , tag : Optional [str ] =  None )  ->   None :
419+     def  __init__ (self , model : Module , reduction : Callable  =  torch .norm , tag : Optional [str ] =  None ):
420420        super (WeightsScalarHandler , self ).__init__ (model , reduction , tag = tag )
421421
422422    def  __call__ (self , engine : Engine , logger : ClearMLLogger , event_name : Union [str , Events ]) ->  None :
@@ -463,12 +463,12 @@ class WeightsHistHandler(BaseWeightsHistHandler):
463463            ) 
464464
465465    Args: 
466-         model (torch.nn.Module) : model to log weights 
467-         tag (str, optional) : common title for all produced plots. For example, 'generator' 
466+         model: model to log weights 
467+         tag: common title for all produced plots. For example, 'generator' 
468468
469469    """ 
470470
471-     def  __init__ (self , model : Module , tag : Optional [str ] =  None )  ->   None :
471+     def  __init__ (self , model : Module , tag : Optional [str ] =  None ):
472472        super (WeightsHistHandler , self ).__init__ (model , tag = tag )
473473
474474    def  __call__ (self , engine : Engine , logger : ClearMLLogger , event_name : Union [str , Events ]) ->  None :
@@ -517,13 +517,13 @@ class GradsScalarHandler(BaseWeightsScalarHandler):
517517            ) 
518518
519519    Args: 
520-         model (torch.nn.Module) : model to log weights 
521-         reduction (callable) : function to reduce parameters into scalar 
522-         tag (str, optional) : common title for all produced plots. For example, "generator" 
520+         model: model to log weights 
521+         reduction: function to reduce parameters into scalar 
522+         tag: common title for all produced plots. For example, "generator" 
523523
524524    """ 
525525
526-     def  __init__ (self , model : Module , reduction : Callable  =  torch .norm , tag : Optional [str ] =  None )  ->   None :
526+     def  __init__ (self , model : Module , reduction : Callable  =  torch .norm , tag : Optional [str ] =  None ):
527527        super (GradsScalarHandler , self ).__init__ (model , reduction , tag = tag )
528528
529529    def  __call__ (self , engine : Engine , logger : ClearMLLogger , event_name : Union [str , Events ]) ->  None :
@@ -569,12 +569,12 @@ class GradsHistHandler(BaseWeightsHistHandler):
569569            ) 
570570
571571    Args: 
572-         model (torch.nn.Module) : model to log weights 
573-         tag (str, optional) : common title for all produced plots. For example, 'generator' 
572+         model: model to log weights 
573+         tag: common title for all produced plots. For example, 'generator' 
574574
575575    """ 
576576
577-     def  __init__ (self , model : Module , tag : Optional [str ] =  None )  ->   None :
577+     def  __init__ (self , model : Module , tag : Optional [str ] =  None ):
578578        super (GradsHistHandler , self ).__init__ (model , tag = tag )
579579
580580    def  __call__ (self , engine : Engine , logger : ClearMLLogger , event_name : Union [str , Events ]) ->  None :
@@ -602,12 +602,12 @@ class ClearMLSaver(DiskSaver):
602602    Handler that saves input checkpoint as ClearML artifacts 
603603
604604    Args: 
605-         logger (ClearMLLogger, optional) : An instance of :class:`~ignite.contrib.handlers.clearml_logger.ClearMLLogger`, 
605+         logger: An instance of :class:`~ignite.contrib.handlers.clearml_logger.ClearMLLogger`, 
606606            ensuring a valid ClearML ``Task`` has been initialized. If not provided, and a ClearML Task 
607607            has not been manually initialized, a runtime error will be raised. 
608-         output_uri (str, optional) : The default location for output models and other artifacts uploaded by ClearML. For 
608+         output_uri: The default location for output models and other artifacts uploaded by ClearML. For 
609609            more information, see ``clearml.Task.init``. 
610-         dirname (str, optional) : Directory path where the checkpoint will be saved. If not provided, a temporary 
610+         dirname: Directory path where the checkpoint will be saved. If not provided, a temporary 
611611            directory will be created. 
612612
613613    Examples: 
@@ -645,7 +645,7 @@ def __init__(
645645        dirname : Optional [str ] =  None ,
646646        * args : Any ,
647647        ** kwargs : Any ,
648-     )  ->   None :
648+     ):
649649
650650        self ._setup_check_clearml (logger , output_uri )
651651
@@ -793,7 +793,7 @@ def get_local_copy(self, filename: str) -> Optional[str]:
793793            In distributed configuration this method should be called on rank 0 process. 
794794
795795        Args: 
796-             filename (str) : artifact name. 
796+             filename: artifact name. 
797797
798798        Returns: 
799799             a local path to a downloaded copy of the artifact 
0 commit comments