CoNST: Code Generator for Sparse Tensor Networks | Synapse