-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Shape5D seems to be a shape that has floating point number extents - fine. to_tuple will cast those to integers. Also in some other places it looks weird allowing floating point extents. Take is_scalar for example. How do you even define this with floats? Is something with a c extent of 1.9 still scalar?! And what would this even mean in channel dimension...
Also think of a shape with integers size along x=9.0, is 9 included [probing at 9.0 should be possible] (like it would be in a continuous world) or excluded (in the discrete world [probing not possible at this position]).
What was your motivation? Were you concerned with world coordinates? Then it might be better to allow for a transformation to world coordinates. Where do you need that?