python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Case of using OpenMP for multi-threading of a matrix factorization calculation of an existing serial code
I came across a code that uses a low-performance series for loop for calculating so-called "Crout factorization". If you need to know more I think the concept is similar to what is described...
Saeid
Votes: 0
Answers: 1
How to efficiently create a CSR row_index vector in python?
I am trying to create a CSR matrix with m rows, n columns, filled with zeroes and ones (at most one per column). I have a numpy array idcs with indices where my 1s are located, ranging from x to n.
My...
hawkspar
Votes: 0
Answers: 1
Create sparse matrix in parallel in Julia
I am trying to parallelize the creation of a sparse matrix in Julia. Inspired by this post this post I am trying this:
using Distributed
addprocs(4)
@everywhere using DistributedArrays
rows = [Int[] ...
Shep Bryan
Votes: 0
Answers: 1
Using 3d sparse input with partial shape in Keras/Tensorflow gives error
I am trying to create a dense neural network where my input is a sparse 3d matrix. When converted to a dense matrix the shape is (2, None, n) (where n is a number of features and is fixed.) My keras a...
deepAgrawal
Votes: 0
Answers: 1