After further research i became aware that only FloatTensors can become part of the gradient. Now after type conversion i can perform any operations in forward.
Even though i jumped this hurdle, i welcome any further insights.