Class2Str: End to End Latent Hierarchy Learning