rime.util.score_array.sps_to_torch

rime.util.score_array.sps_to_torch(x, device)[source]

convert scipy.sparse to torch.sparse