Tensorflow implementation of paper 'Learning Representations for Time Series Clustering' (NIPS 2019 accept paper).