class_docstr: A Worker object is created for each training thread.
class_docstr_tok: ["A","Worker","object","is","created","for","each","training","thread","."]
docstr: Create the inputs to the model for use during a rollout.
docstr_tok: ["Create","the","inputs","to","the","model","for","use","during","a","rollout","."]
code: def _create_model_inputs(self, state, rnn_states):
      """Create the inputs to the model for use during a rollout."""
      if not self.ppo._state_is_list:
          state = [state]
      state = state + rnn_states
      return [np.expand_dims(s, axis=0) for s in state]
  
imports: import copy
  import time
  from collections.abc import Sequence
  from multiprocessing.dummy import Pool
  import numpy
  import tensorflow
  from deepchem.models import KerasModel
  from deepchem.models.optimizers import Adam
label_desc: Use image node_id 6 for calling the _Worker obj's underlying member method code with example usage: obj._create_model_inputs(state, rnn_states) and returns: unknown