I transfrom keras lstm to tvm meet this error, lstm in tensorflow does not raise this error. I can not understand what is saying. I guess may be something wrong with while_loop and tensor_array op.
logs:
%133 = strided_slice(%tf_bi_lstm_layer_1/tf_bi_lstm_layer_1/rnn_cell_f/Shape_1, begin=[0], end=[1], strides=[1]);
%134 = squeeze(%133);
%135 = @tensor_array_float32_scalar(%134);
%136 = full(0f, shape=[1, 64], dtype=“float32”);
%137 = strided_slice(%tf_bi_lstm_layer_1/kernel, begin=[0, 0], end=[1000, 64], strides=[1, 1]);
%138 = reshape(%137, meta[relay.Constant][0], newshape=[1000, 64]);
%139 = strided_slice(%tf_bi_lstm_layer_1/recurrent_kernel, begin=[0, 192], end=[64, 256], strides=[1, 1]);
%140 = reshape(%139, meta[relay.Constant][1], newshape=[64, 64]);
%141 = strided_slice(%tf_bi_lstm_layer_1/bias, begin=[192], end=[256], strides=[1]);
%142 = reshape(%141, meta[relay.Constant][2], newshape=[64]);
%143 = strided_slice(%tf_bi_lstm_layer_1/recurrent_kernel, begin=[0, 64], end=[64, 128], strides=[1, 1]);
%144 = reshape(%143, meta[relay.Constant][3], newshape=[64, 64]);
%145 = strided_slice(%tf_bi_lstm_layer_1/bias, begin=[128], end=[192], strides=[1]);
%146 = reshape(%145, meta[relay.Constant][4], newshape=[64]);
%147 = strided_slice(%tf_bi_lstm_layer_1/recurrent_kernel, begin=[0, 128], end=[64, 192], strides=[1, 1]);
%148 = reshape(%147, meta[relay.Constant][5], newshape=[64, 64]);
%149 = strided_slice(%tf_bi_lstm_layer_1/kernel, begin=[0, 192], end=[1000, 256], strides=[1, 1]);
%150 = reshape(%149, meta[relay.Constant][6], newshape=[1000, 64]);
%151 = strided_slice(%tf_bi_lstm_layer_1/kernel, begin=[0, 128], end=[1000, 192], strides=[1, 1]);
%152 = reshape(%151, meta[relay.Constant][7], newshape=[1000, 64]);
%153 = strided_slice(%tf_bi_lstm_layer_1/recurrent_kernel, begin=[0, 0], end=[64, 64], strides=[1, 1]);
%154 = reshape(%153, meta[relay.Constant][8], newshape=[64, 64]);
%155 = strided_slice(%tf_bi_lstm_layer_1/kernel, begin=[0, 64], end=[1000, 128], strides=[1, 1]);
%156 = reshape(%155, meta[relay.Constant][9], newshape=[1000, 64]);
%157 = @tensor_array_float32_1_1000(%134);
%158 = arange(0, 250, 1, start=meta[relay.Constant][10], stop=meta[relay.Constant][11], step=meta[relay.Constant][12], dtype=“int32”);
%159 = transpose(%input_1, axes=[1, 0, 2]);
%160 = @tensor_array_unstack_float32_250_1_1000(%159);
%161 = @tensor_array_scatter_float32_1_1000(%157, %158, %160);
%162 = strided_slice(%tf_bi_lstm_layer_1/bias, begin=[64], end=[128], strides=[1]);
%163 = reshape(%162, meta[relay.Constant][13], newshape=[64]);
%164 = strided_slice(%tf_bi_lstm_layer_1/bias, begin=[0], end=[64], strides=[1]);
%165 = reshape(%164, meta[relay.Constant][14], newshape=[64]);
%while_loop(0, 0, %135, %136, %136, %134, %138, %140, %142, %144, %146, %148, %150, %152, %154, %156, %161, %163, %165) unable to unify: static_tensor_float32_scalar_t
and static_tensor_float32_1_64_t
;
) unable to unify: static_tensor_float32_1_64_t
and static_tensor_float32_scalar_t
; ;