For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
broadcast_shape_fn
def broadcast_shape_fn(lhs_buf: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=lhs_buf.static_spec], rhs_buf: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=rhs_buf.static_spec]) -> IndexList[Int(1)]
Computes the output shape for the mo.broadcast_shape graph op.
Returns:
IndexList[Int(1)]