code: def update_sparse_goals(self, current_times: int):
      ratio = max(
          0.0, min(1.0, 1 - (1 - current_times / self.total_times) ** 3)
      )
      self._update_sparse_goals_by_ratio(ratio)
  
imports: from __future__ import annotations
  from collections import defaultdict
  import logging
  from typing import Dict, List, overload
  import torch
  from torch.optim import Adam
  from .scheduled_pruner import ScheduledPruner
  from .tools import is_active_target, generate_sparsity
  from ..base.compressor import Compressor
  from ..base.target_space import TargetType
  from ..base.wrapper import ModuleWrapper
  from ..utils import Evaluator, _EVALUATOR_DOCSTRING
label_desc: Use image node_id 10 for calling the MovementPruner obj's underlying member method code with example usage: obj.update_sparse_goals(current_times) without return types