pytree: add automatic type detection
Closed this issue · 1 comments
cshimmin commented
Specifying the type in write_branch() should be optional. It will be easy to infer whether a type is iterable/numeric but there could be problems identifying float vs. int due to the loose type system.
cshimmin commented
this is done. I had to put in some numpy-specific code, which I'm not super happy about, but it works for now.