code: def sample(self, share_obs, obs):
      obs = torch.from_numpy(obs).to(self.device)
      share_obs = torch.from_numpy(share_obs).to(self.device)
      value, action, action_log_prob = self.alg.sample(share_obs, obs)
      return (
          value.detach().cpu().numpy(),
          action.detach().cpu().numpy(),
          action_log_prob.detach().cpu().numpy(),
      )
  
file_path: PARL/benchmark/torch/mappo/simple_agent.py
imports: import torch
  import numpy
  import parl
label_desc: Use image node_id 2 for calling the SimpleAgent obj's underlying member method code with example usage: obj.sample(share_obs, obs) and returns: value,  action,  action_log_prob