code: def _update_state(self, field, sampled):
      # use unsearched fields as rnn history to update state
      self._lstm_next_step()
      self._inputs = self.embedding[field.name](
          torch.LongTensor([sampled]).to(self._inputs.device)
      )
  
file_path: AutoGL/autogl/module/nas/algorithm/agnn_rl.py
imports: from .rl import *
  import numpy
label_desc: Use image node_id 2 for calling the AGNNReinforceController obj's underlying member method code with example usage: obj._update_state(field, sampled) without return types