TensorLib: A Spatial Accelerator Generation Framework for Tensor Algebra | IEEE Conference Publication | IEEE Xplore