• Ricardo Vieira's avatar
    Numba DimShuffle: special case for 0d input · ac11da62
    Ricardo Vieira 提交于
    This circumvents a bug when DimShuffle of a scalar shows up inside a Blockwise, as the outer indexing yields a float (as opposed to a numpy scalar) which has no `.shape` attribute.
    ac11da62
test_blockwise.py 2.9 KB