class_docstr: Implementation of the visual foraging environment used for scene construction simulations 
class_docstr_tok: ["Implementation","of","the","visual","foraging","environment","used","for","scene","construction","simulations"]
code: def sample_action(self):
      return [
          np.random.randint(self.n_control[i])
          for i in range(self.n_factors)
      ]
  
imports: from pymdp.envs import Env
  from pymdp import utils, maths
  import numpy
  from itertools import permutations, product
label_desc: Use image node_id 5 for calling the VisualForagingEnv obj's underlying member method code with example usage: obj.sample_action() and returns: unknown