Soft And Hard Attention