API reference
python:irx:irx.analysis.types._target_accepts_known_shape
function _target_accepts_known_shape
_target_accepts_known_shape(target_shape: tuple[int, ...] | None, value_shape: tuple[int, ...] | None) -> bool
Source: packages/irx/src/irx/analysis/types.py:258
Return whether a target shape accepts a value shape.
Parameters
-
target_shape — Type: tuple[int, Ellipsis] | None
-
value_shape — Type: tuple[int, Ellipsis] | None
Returns
Type: bool