Python: Making numpy default to float32

后端 未结 3 523
北荒
北荒 2020-12-03 10:27

Is there any clean way of setting numpy to use float32 values instead of float64 globally?

3条回答
  •  一整个雨季
    2020-12-03 11:09

    This question showed up on the NumPy issue tracker. The answer is:

    There isn't, sorry. And I'm afraid we're unlikely to add such a thing[.]

提交回复
热议问题