theano/compile/profiling.py
def class_callcount(self):
        """
        dict op -> total number of thunk calls

        """
        # timing is stored by node, we compute timing by class on demand
        rval = {}
        for node, count in iteritems(self.apply_callcount):
            typ = type(node.op)
            rval.setdefault(typ, 0)
            rval[typ] += count
        return rval

        dict op -> total number of thunk calls

        
dict op -> total number of thunk calls
dict op - > total number of thunk calls
def class_callcount(self):
        rval = {}
        for node, count in iteritems(self.apply_callcount):
            typ = type(node.op)
            rval.setdefault(typ, 0)
            rval[typ] += count
        return rval
def class_callcount ( self ) : rval = { } for node , count in iteritems ( self . apply_callcount ) : typ = type ( node . op ) rval . setdefault ( typ , 0 ) rval [ typ ] += count return rval
dict op -> total number of thunk calls
dict op - > total number of thunk calls
"""
        dict op -> total number of thunk calls

        """ # timing is stored by node, we compute timing by class on demand
self