code: def _make_mask(guesses, missing) -> Floats2d:
      xp = get_array_module(guesses)
      mask = xp.ones(guesses.shape, dtype="f")
      mask[missing] = 0
      return mask
  
imports: from abc import abstractmethod
  from typing import Any, Dict, Generic, List, Optional, Sequence, Tuple, TypeVar, Union, cast
  from .config import registry
  from .types import Floats2d, Ints1d
  from .util import get_array_module, to_categorical
label_desc: Use image node_id 9 for calling a global function with example usage: _make_mask(guesses, missing) and returns: mask