Wie zu zwingen, python-float-Betrieb auf float32 eher als float64
Ich will ein paar maths float operation(+,-,x,/)
auf float32 eher als float64. Ich brauche diese Operationen auf number
oder numpy.array
. Und einige mathematische Funktionen von numpy, wie sqrt mean
Du musst angemeldet sein, um einen Kommentar abzugeben.
Wird numpy.float32 helfen?
Wenn Sie wollen, um mathematische operation auf float32, konvertieren des Operanden float32 kann Ihnen dabei helfen.