code: def mofunc(array: np.ndarray) -> np.ndarray:
      return abs(array - 1)
  
file_path: nevergrad/nevergrad/optimization/multiobjective/test_core.py
imports: import warnings
  from unittest import SkipTest
  import numpy
  import pytest
  import nevergrad.common.typing
  import nevergrad
  from ..None import base
  from ..optimizerlib import registry
  from .None import core
label_desc: Use image node_id 4 for calling a global function with example usage: mofunc(array) and returns: abs