• Ricardo Vieira's avatar
    Implement JAX dot with sparse constants · 3b425ec7
    Ricardo Vieira 提交于
    Non-constant sparse inputs can't be handled because JAX does not allow Scipy sparse matrices as inputs. We could implement a BCOO type explicitly but this would be JAX exclusive, and the user would need to use it from the get go, meaning such graphs would not be compatible with other backends.
    3b425ec7
test_sparse.py 2.3 KB