malmaud / TensorFlow.jl

A Julia wrapper for TensorFlow
Other
886 stars 110 forks source link

Refactor Proposal: Ubiquitous Promotion #178

Open oxinabox opened 7 years ago

oxinabox commented 7 years ago

I am writing this down while I remember. It has probably already occurred to @malmaud

Now that Tensors know their type as Type Parameters, as of #176 We can start to be more serous about promotion rules.

We can promote types to match where required. Eg for add and for the shape and index parameters of ScatterND.

I'm not sure what is directly actionable on this right now.

malmaud commented 7 years ago

Ya, this would be great. It's relatively low-priority for me at the moment, so not sure when I'll be able to address it myself.

oxinabox commented 7 years ago

low priority for me too. We can just leave this here "on the radar"