Solved minor bug at hardtanh binding