class_docstr: This class can create a struct of Theano types (like TensorType, GpuArrayType, etc.)
  to be used as a convenience op parameter wrapping many data.
  
  ParamsType constructor takes key-value args.
  Key will be the name of the attribute in the struct.
  Value is the Theano type of this attribute, ie. an instance of (a subclass of) :class:`Type`
  (eg. ``TensorType('int64', (False,))``).
  
  In a Python code any attribute named ``key`` will be available via::
  
      structObject.key
  
  In a C code, any attribute named ``key`` will be available via:
  
  .. code-block:: c
  
      structObject->key;
  
  .. note::
  
      This Type is not complete and should never be used for regular graph operations.
class_docstr_tok: ["This","class","can","create","a","struct","of","Theano","types","(","like","TensorType",",","GpuArrayType",",","etc",".",")","to","be","used","as","a","convenience","op","parameter","wrapping","many","data",".","ParamsType","constructor","takes","key-value","args",".","Key","will","be","the","name","of","the","attribute","in","the","struct",".","Value","is","the","Theano","type","of","this","attribute",",","ie",".","an","instance","of","(","a","subclass","of",")",":","class",":","`","Type","`","(","eg",".","``","TensorType","(","'int64","'",",","(","False",",",")",")","``",")",".","In","a","Python","code","any","attribute","named","``","key","``","will","be","available","via",":",":","structObject.key","In","a","C","code",",","any","attribute","named","``","key","``","will","be","available","via",":","..","code-block",":",":","c","structObject-",">","key",";","..","note",":",":","This","Type","is","not","complete","and","should","never","be","used","for","regular","graph","operations","."]
docstr: Return the name (string) of the first field associated to
  the given Theano type. Fields are sorted in lexicographic
  order. Raise an exception if this Theano type is not
  in the current ParamsType.
  
  This method is intended to be used to retrieve a field name
  when we know that current ParamsType contains the given
  Theano type only once.
docstr_tok: ["Return","the","name","(","string",")","of","the","first","field","associated","to","the","given","Theano","type",".","Fields","are","sorted","in","lexicographic","order",".","Raise","an","exception","if","this","Theano","type","is","not","in","the","current","ParamsType",".","This","method","is","intended","to","be","used","to","retrieve","a","field","name","when","we","know","that","current","ParamsType","contains","the","given","Theano","type","only","once","."]
code: def get_field(self, theano_type):
      """
      Return the name (string) of the first field associated to
      the given Theano type. Fields are sorted in lexicographic
      order. Raise an exception if this Theano type is not
      in the current ParamsType.
  
      This method is intended to be used to retrieve a field name
      when we know that current ParamsType contains the given
      Theano type only once.
  
      """
      return self.fields[self.types.index(theano_type)]
  
imports: from __future__ import absolute_import, print_function, division
  import re
  import hashlib
  from theano.gof.utils import MethodNotDefined, c_cpp_keywords
  from theano.gof import Type, EnumType
label_desc: Use image node_id 10 for calling the ParamsType obj's underlying member method code with example usage: obj.get_field(theano_type) and returns: self