code: def mul_mask(target: torch.Tensor, target_space: PruningTargetSpace):
      assert target_space.mask is not None
      return torch.mul(target, target_space.mask)
  
imports: from typing import Any
  import torch
  from .target_space import PruningTargetSpace, QuantizationTargetSpace, TargetSpace, TargetType
label_desc: Use image node_id 4 for calling a global function with example usage: mul_mask(target, target_space) and returns: torch