def update_multi_precision(self, index, weight, grad, state):
use_multi_precision = self.multi_precision and weight.dtype == numpy.float16<EOL>self._update_impl(index, weight, grad, state,<EOL>multi_precision=use_multi_precision)<EOL>
multi-precision update function