101 102 103
# File 'lib/torch/nn/module.rb', line 101 def half _apply ->(t) { t.floating_point? ? t.half : t } end