Mojo function
concat_shape
concat_shape[input_rank: Int, input_type: DType, single_thread_blocking_override: Bool](input_bufs: List[NDBuffer[input_type, input_rank, MutableAnyOrigin]], axis: Int) -> IndexList[input_rank]
Compute the output shape of a pad operation, and assert the inputs are compatible.
Parameters:
- input_rank (Int): Input_rank of the input tensor.
- input_type (DType): Type of the input tensor.
- single_thread_blocking_override (Bool): If True, then the operation is run synchronously using a single thread.
Args:
Returns:
IndexList: The output shape.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
