code: def forward(self, inputs, states):
      out, states = npx.foreach(self.cell, inputs, states)
      return out
  
imports: from __future__ import print_function
  from six.moves import range
  import argparse
  import subprocess
  from itertools import product
  from time import time
  import mxnet
  import numpy
  from mxnet import gluon, np, npx
label_desc: Use image node_id 2 for calling the ForeachRNN obj's underlying member method code with example usage: obj.forward(inputs, states) and returns: out