cutile-python icon indicating copy to clipboard operation
cutile-python copied to clipboard

[Question] While tile input_arg and input_accum can be add together while the shape not match

Open tsung-li opened this issue 1 month ago • 0 comments

%input = constant <f32: 0.0> : tile<8xf32>
%0 = reduce %input dim=0 identities=[0.000000e+0 : f32] : tile<8xf32> -> tile<f32>
  (%input_arg: tile<2xf32>, %input_accum: tile<f32>) {
    %add_result = addf %input_arg, %input_accum : tile<f32>
    yield %add_result : tile<f32>
  }

doc fromm addf lhs, rhs and result must have the same shape and element type

tsung-li avatar Dec 25 '25 12:12 tsung-li