christiaanjs / treeflow

GNU General Public License v3.0
13 stars 4 forks source link

be able to switch between floating point types #13

Closed matsen closed 4 years ago

matsen commented 4 years ago

Goal

Be able to use float32 or float64 in TF and NP.

Proposal

Have a pair of module-level global variables that describe the floating point dtype for TF and NP.

Then have every function that uses those dtypes just use the value encoded in the module.

christiaanjs commented 4 years ago

Closed by #14