code: def standard_normal_scaling(
      seq: torch.Tensor, dim=-1, keepdim=False, min_scale=1e-6
  ) -> Tuple[torch.Tensor, torch.Tensor]:
      scale, loc = torch.std_mean(seq, dim=dim, keepdim=keepdim)
      return loc, _one_if_too_small(scale, min_value=min_scale)
  
imports: from typing import Tuple
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: standard_normal_scaling(seq, dim, keepdim, min_scale) and returns: loc,  _one_if_too_small