TIM-VX/src/tim/vx
chxin66 6424ef104e
Fixed the IOtensor order difference between src_graph and infer_graph
* Fixed the IOtensor order difference between src_graph and infer_graph

Graph Input/Output tensor sequence may changed after graph
transformation(layout infer), it is difficult to get the IO mapping
between original graph and final graph.

Clients such as the Android Support Library create tensors using the
original input/output order, which may not be the same as the input
order of src_graph, the data can not be setup correctly.

Solution:
Decide the order of inputs/outputs while creating tensor not at binding to
operation. The order of binding could be change in each transform.

Type:Code improvement

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

* Fixed maxpoolgrad maxpoolwithargmax2 cases

Some tensors created with wrong attr

Type: Bug fix

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>

---------

Signed-off-by: Chen Xin <jack.chen@verisilicon.com>
Co-authored-by: Chen Xin <jack.chen@verisilicon.com>
2023-03-21 09:21:15 +08:00
..
internal Added EmbeddingLookup 4d support internal 2022-12-16 15:09:19 +08:00
ops Fixed the IOtensor order difference between src_graph and infer_graph 2023-03-21 09:21:15 +08:00
platform update copyright information 2023-01-20 12:49:48 +08:00
builtin_op.cc update copyright information 2023-01-20 12:49:48 +08:00
builtin_op_impl.cc Fixed the IOtensor order difference between src_graph and infer_graph 2023-03-21 09:21:15 +08:00
builtin_op_impl.h update copyright information 2023-01-20 12:49:48 +08:00
compile_option.cc update copyright information 2023-01-20 12:49:48 +08:00
compile_option_test.cc update copyright information 2023-01-20 12:49:48 +08:00
context.cc update copyright information 2023-01-20 12:49:48 +08:00
context_private.h update copyright information 2023-01-20 12:49:48 +08:00
context_test.cc update copyright information 2023-01-20 12:49:48 +08:00
graph.cc Fixed the IOtensor order difference between src_graph and infer_graph 2023-03-21 09:21:15 +08:00
graph_private.h Fixed the IOtensor order difference between src_graph and infer_graph 2023-03-21 09:21:15 +08:00
graph_test.cc update copyright information 2023-01-20 12:49:48 +08:00
op_impl.cc update copyright information 2023-01-20 12:49:48 +08:00
op_impl.h update copyright information 2023-01-20 12:49:48 +08:00
operation.cc update copyright information 2023-01-20 12:49:48 +08:00
tensor.cc Introduce CMAKE option TIM_VX_DBG_DISABLE_TENSOR_HNDL=OFF 2023-02-09 14:31:32 +08:00
tensor_private.h Fixed the IOtensor order difference between src_graph and infer_graph 2023-03-21 09:21:15 +08:00
test_utils.h added Rcp op & modified test_utils 2022-09-22 12:15:02 +08:00
type_utils.cc Fixed grouped_conv2d layout infer & Added cases 2023-01-20 15:28:21 +08:00
type_utils.h update copyright information 2023-01-20 12:49:48 +08:00