Efficient Deep Learning Algorithms for Deep Supervised Hashing