rockchip-linux / rknn-toolkit

BSD 3-Clause "New" or "Revised" License
808 stars 173 forks source link

Cannot reshape a tensor with 96000 elements to shape [20,120] (2400 elements) for '{{node MatMul_p2o.MatMul.0_131_reshape_for_in1_312/MatMul_p2o.MatMul.0_131_reshape_for_in1_312}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Add_p2o.Add.234_134_2/cond/Identity, MatMul_p2o.MatMul.0_131_reshape_for_in1_312/MatMul_p2o.MatMul.0_131_reshape_for_in1_312/shape)' with input shapes: [20,40,120], [2] and with input tensors computed as partial shapes: input[1] = [20,120]. #455

Open 17656178609 opened 4 months ago

17656178609 commented 4 months ago

Cannot reshape a tensor with 96000 elements to shape [20,120] (2400 elements) for '{{node MatMul_p2o.MatMul.0_131_reshape_for_in1_312/MatMul_p2o.MatMul.0_131_reshape_for_in1_312}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Add_p2o.Add.234_134_2/cond/Identity, MatMul_p2o.MatMul.0_131_reshape_for_in1_312/MatMul_p2o.MatMul.0_131_reshape_for_in1_312/shape)' with input shapes: [20,40,120], [2] and with input tensors computed as partial shapes: input[1] = [20,120]. 求大佬解答