Add logic for StridedSlice ops in ShapeRefiner::ConstantPartialShape().
This mimics the logic in tensor_util.constant_value_as_shape, allowing the C++ shape inference code to infer more shapes than it could before. This change also adds an optional stride argument to InferenceContext::Subshape(). PiperOrigin-RevId: 195749522
Loading
Please sign in to comment