powered by
Replaces values in sparse tensor and returns a new sparse tensor.
replace_sptensor(x, idxmat, value)
sptensor
matrix of indices
replacement value(s)