Traceback (most recent call last):


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/sparse/tests/test_sp2.py", line 86, in test_op

tested = f(*self._inputs)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/compile/function_module.py", line 875, in __call__

storage_map=getattr(self.fn, 'storage_map', None))


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/gof/link.py", line 317, in raise_with_op

reraise(exc_type, exc_value, exc_trace)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/compile/function_module.py", line 862, in __call__

self.fn() if output_subset is None else\


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/gof/op.py", line 905, in rval

r = p(n, [x[0] for x in i], o)


 "/home/yukun/theano_pak/_2_stage_opti_theano/dl4mt-opti/theano/theano/sparse/sandbox/sp2.py", line 126, in perform

binomial = numpy.random.binomial(n, p, size=shape)


 "mtrand.pyx", line 3760, in mtrand.RandomState.binomial (numpy/random/mtrand/mtrand.c:28715)
TypeError: Cannot cast array data from dtype('float32') to dtype('int64') according to the rule 'safe'

time="2019-02-13T19:29:33.394Z" program=ktd level=ERROR ID=None msg="Unhandled exception: Traceback (most recent call last):


 "/scripts/common/loop.py", line 42, in mainLoop

float(None)
TypeError: float() argument must be a string or a number, not 'NoneType'
