parameters: (self, t)
return_statement: return subgraph_id
docstring: Find the input index corresponding to the given input tensor t.
  
      Args:
        t: the input tensor of this subgraph view.
      Returns:
        The index in the self.inputs list.
      Raises:
        Error: if t in not an input tensor.
docstring_summary: Find the input index corresponding to the given input tensor t.
docstring_tokens: Find the input index corresponding to the given input tensor t .
function: def input_index(self, t):
      """Find the input index corresponding to the given input tensor t.
  
      Args:
        t: the input tensor of this subgraph view.
      Returns:
        The index in the self.inputs list.
      Raises:
        Error: if t in not an input tensor.
      """
      try:
        subgraph_id = self._input_ts.index(t)
      except:
        raise ValueError("Can't find {} in inputs of subgraph {}.".format(
            t.name, self.name))
      return subgraph_id
function_tokens: def input_index ( self , t ) : try : subgraph_id = self . _input_ts . index ( t ) except : raise ValueError ( "Can't find {} in inputs of subgraph {}." . format ( t . name , self . name ) ) return subgraph_id