yobx.xshape.shape_builder_impl#

class yobx.xshape.shape_builder_impl.InferenceMode(*values)[source]#

Controls which inference is performed by BasicShapeBuilder.run_model().

  • NOTHING — no inference; neither shapes nor types are propagated.

  • SHAPE — full shape and type inference using symbolic expressions (default, existing behaviour).

  • TYPE — lightweight type-only inference via infer_types(); shapes are not computed.