MnistModel.float#

MnistModel.float() T#

Casts all floating point parameters and buffers to float datatype.

Note

This method modifies the module in-place.

Returns:

Module: self