code: def _xy_locs(mask):
      """Mask should be a set of bools from comparison with a feature layer."""
      ys, xs = mask.nonzero()
      return [point.Point(x, y) for x, y in zip(xs, ys)]
  
imports: import random
  from absl import app
  from pysc2 import maps
  from pysc2 import run_configs
  from pysc2.lib import actions
  from pysc2.lib import features
  from pysc2.lib import point
  from pysc2.lib import units
  from s2clientprotocol import common_pb2
  from s2clientprotocol import error_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _xy_locs(mask) and returns: unknown