class_docstr: Base function used in the LSGO testbed.
  It is in charge of computing the translation, and summing all function chunks.
  The "optimum" attribute holds the zero of the function. It is usually xopt, but is xopt + 1 in one case (F12),
  and unknown in one other (F14).
class_docstr_tok: ["Base","function","used","in","the","LSGO","testbed",".","It","is","in","charge","of","computing","the","translation",",","and","summing","all","function","chunks",".","The","``","optimum","''","attribute","holds","the","zero","of","the","function",".","It","is","usually","xopt",",","but","is","xopt","+","1","in","one","case","(","F12",")",",","and","unknown","in","one","other","(","F14",")","."]
docstr: Returns an instrumented function, taking the bounds into account by composing it with
  a bounding transform. Instrumentated functions are necessary
  for nevergrad benchmarking
  
  Parameter
  ---------
  transform: str
      "bouncing", "arctan", "tanh" or "clipping"
docstr_tok: ["Returns","an","instrumented","function",",","taking","the","bounds","into","account","by","composing","it","with","a","bounding","transform",".","Instrumentated","functions","are","necessary","for","nevergrad","benchmarking","Parameter","--","--","--","--","-","transform",":","str","``","bouncing","''",",","``","arctan","''",",","``","tanh","''","or","``","clipping","''"]
code: def instrumented(
      self, transform: str = "bouncing"
  ) -> ExperimentFunction:
      """Returns an instrumented function, taking the bounds into account by composing it with
      a bounding transform. Instrumentated functions are necessary
      for nevergrad benchmarking
  
      Parameter
      ---------
      transform: str
          "bouncing", "arctan", "tanh" or "clipping"
      """
      param = ng.p.Array(shape=(self.dimension,)).set_bounds(
          self.bounds[0], self.bounds[1], method=transform
      )
      return ExperimentFunction(self, param.set_name(transform))
  
imports: from typing import List, Callable, Dict, Type, Optional
  from pathlib import Path
  import re
  import numpy
  from nevergrad.common.decorators import Registry
  from nevergrad.functions import ExperimentFunction
  import nevergrad
  from .None import _core
label_desc: Use image node_id 4 for calling the LsgoFunction obj's underlying member method code with example usage: obj.instrumented(transform) and returns: ExperimentFunction