提交 f18853e3 authored 作者: Frederic Bastien's avatar Frederic Bastien

added comment.

上级 77dbbbda
......@@ -348,6 +348,9 @@ def int_out(*types):
def float_out(*types):
return float64,
def upgrade_to_float(*types):
"""
This upgrade the types to float32 or float64 to don't loose any precision.
"""
conv = {int8: float32,
int16: float32,
int32: float64,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论