code: def _one_if_too_small(x: torch.Tensor, min_value) -> torch.Tensor:
      return torch.where(
          x >= min_value,
          x,
          torch.ones(tuple(1 for _ in x.shape), dtype=x.dtype),
      )
  
imports: from typing import Tuple
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: _one_if_too_small(x, min_value) and returns: torch