.xshape._shape_runtime

class experimental_experiment.xshape._shape_runtime._ShapeRuntime[source]

Runs through a few nodes often used to deal with shapes. It updates shape, type, and value_shape though methods set_type, set_shape (or set_rank if full shape is not known), set_value_shape.

simple_update_value_shape_with_node(node: NodeProto) bool[source]

Updates _known`_value_shape for a particular node.