I try to transform the NLP model using from_tensorflow, then get an error.
```
......
%1817 = add(%35, %1816);
%1818 = reshape(%1817, newshape(-1,[28500]))
%1819 = topk(%1818, k=3, dtype='int32')
%1820 = %1819.1
%1821 = cast(%1820, dtype='float64')
%1822 = cast(9500, dtype='float64')
%1823 = divide(%1821, %1822)
%1824 = cast(%1823, dtype='int32')
%1825 = add(%33, %1824)
%1826 = reshape(%1825, newshape=[-1])
%1827 = take(%30, %1826, axis=0) in particular dimension 2 conflicts (int64)3 
does not match 2; unable to unify: `Tensor[(15, 8, 3, 64), float32]` and 
`Tensor[(15, 8, 2, 64), float32]`; ;
%1818 = take(%loop_var172, %loop_var50, axis =0)
........
```
I print same information, looks right.
```
%30 => shape: (15, 8, 3, 64) op: ConcatV2
%1826 => shape: (15,) op: Reshape
%1827 => node:
name: "while/GatherV2"
input: "while/concat"
input: "while/Reshape_75"
inpurt: "while/GatherV2/axis"
attr{
    key: "Taxis"
    value{
    type: DT_INT32
    }
}
attr{
    key: "Tparams"
    value{
    type: DT_FLOAT
    }
}
attr{
    key: "_output_shapes"
    value{
        list{
           dim {
               size: -1
            }
           dim {
               size: 8
            }
           dim {
               size: -1
            }
           dim {
               size: 64
            }
        }
    }
}
attr{
    key: "batch_dims"
    value{
     i: 0
    }
}
```
I don't know what this mistake means and how do I start checking it ?Any good 
Suggestions and methods to check errors?





---
[Visit 
Topic](https://discuss.tvm.ai/t/relay-what-does-the-mistake-mean-in-particular-dimensio-2-conflicts-3-does-not-match-2/6149/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/0cb1c6618566aa83350d2972415d75676f8039c9ad45adb44d18e86f6973a3b2).

Reply via email to