Revision 2a4f364df1daeac12b8466073e0682334ddcdd40 authored by Steven Johnson on 12 August 2019, 21:09:20 UTC, committed by Steven Johnson on 12 August 2019, 21:09:20 UTC
bounds_query_input_shapes() agressively fails if we can't complete the bounds-query, which can happen if the constraints on inputs are nontrivial. While we can (and should) improve the bounds-query logic to make this more robust, we shouldn't aggressively fail here in the first place, as the bounds-query shape(s) end up unused if we have estimates for the inputs (which we usually do). This just adds a ShapePromise type that wraps access to the resulting Shapes inside a function; if we never need the shape, the failure doesn't matter and never happens.
1 parent a8128b1
File | Mode | Size |
---|---|---|
apps | ||
correctness | ||
src | ||
stub | ||
tutorial | ||
Makefile | -rw-r--r-- | 7.0 KB |
readme.md | -rw-r--r-- | 3.7 KB |
requirements.txt | -rw-r--r-- | 337 bytes |
todo.txt | -rw-r--r-- | 1.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...