view exceptions.py @ 329:9ce791fb2cbf

little hack in MiniBatchToSingleExampleIterator, there was a problem which I think was not a bug, we were receiving [array(3)] and everything was crashing. Hack is kinda slow
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Mon, 16 Jun 2008 16:03:16 -0400
parents ee11ed427ba8
children
line wrap: on
line source

"""
Common exceptions.
@todo: This file should be part of a common/ python package.
"""

class AbstractFunction (Exception): """Derived class must override this function"""
class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""