Merged
fix(interface): Prevent dynamic kernel hash collision after reset #5617
高前程Add on Aug 22
fix(interface): Prevent dynamic kernel hash collision after reset #5617
Merged
高前程Add on Aug 22
Total: 10 files changed+84-16
@@ -443,6 +443,14 @@ void DynloopFunctionAttribute::CreateCurrCond()
443 currIndex = 0;443 currIndex = 0;
444}444}
445 445 
446+int Function::NextMagicNameSuffix(FunctionType funcType)
447+{
448+ if (funcType == FunctionType::DYNAMIC) {
449+ return IdGen<IdType::FUNCTION_MAGIC_NAME>::Inst().NewId();
450+ }
451+ return IdGen<IdType::FUNCTION>::Inst().CurId();
452+}
453+ 
446Function::Function(const Program& belongTo, const std::string& funcMagicName, const std::string& funcRawName,454Function::Function(const Program& belongTo, const std::string& funcMagicName, const std::string& funcRawName,
447 Function* parentFunc)455 Function* parentFunc)
448 : ir::Function(ir::Span::Unknown()),456 : ir::Function(ir::Span::Unknown()),
@@ -589,6 +589,10 @@ public:
589 Function(const Program& belongTo, const std::string& funcMagicName, const std::string& funcRawName,589 Function(const Program& belongTo, const std::string& funcMagicName, const std::string& funcRawName,
590 Function* parentFunc);590 Function* parentFunc);
591 591 
592+ // DYNAMIC magic names use a process-lifetime suffix (not reset by Program::Reset).
593+ // Other types still use FUNCTION CurId so the suffix matches functionMagic_.
594+ static int NextMagicNameSuffix(FunctionType funcType);
595+ 
592 Function(const Function& other) = delete;596 Function(const Function& other) = delete;
593 Function(Function&& other) = delete;597 Function(Function&& other) = delete;
594 Function& operator=(const Function& other) = delete;598 Function& operator=(const Function& other) = delete;
@@ -98,6 +98,8 @@ void Program::Reset()
98 IdGen<IdType::RAW_TENSOR>::Inst().Reset();98 IdGen<IdType::RAW_TENSOR>::Inst().Reset();
99 IdGen<IdType::LOGICAL_TENSOR>::Inst().Reset();99 IdGen<IdType::LOGICAL_TENSOR>::Inst().Reset();
100 IdGen<IdType::FUNCTION>::Inst().SetId(1);100 IdGen<IdType::FUNCTION>::Inst().SetId(1);
101+ // FUNCTION_MAGIC_NAME is process-lifetime so consecutive DYNAMIC compiles
102+ // do not reuse magic names (they participate in root functionHash).
101 aliveTensors_.clear();103 aliveTensors_.clear();
102 functionCache_.Reset();104 functionCache_.Reset();
103 functionSequence_.clear();105 functionSequence_.clear();
@@ -361,7 +363,7 @@ bool Program::BeginFunction(const std::string& funcName, const FunctionType func
361 // Push the current function index to the stack363 // Push the current function index to the stack
362 functionMagicNameStack_.push_back(currentFunctionMagicName_);364 functionMagicNameStack_.push_back(currentFunctionMagicName_);
363 365 
364- auto funcMagicName = funcName + "_" + std::to_string(IdGen<IdType::FUNCTION>::Inst().CurId());366+ auto funcMagicName = funcName + "_" + std::to_string(Function::NextMagicNameSuffix(funcType));
365 if (functionmap_.find(funcMagicName) == functionmap_.end()) { // new function367 if (functionmap_.find(funcMagicName) == functionmap_.end()) { // new function
366 FE_LOGD("Create a new function[%s].", funcMagicName.c_str());368 FE_LOGD("Create a new function[%s].", funcMagicName.c_str());
367 auto newFunc = std::make_unique<Function>(*this, funcMagicName, funcName, currentFunctionPtr_);369 auto newFunc = std::make_unique<Function>(*this, funcMagicName, funcName, currentFunctionPtr_);
@@ -408,10 +410,15 @@ Operation& Program::ConnectCallerGusket(Function& caller, FunctionCallArgs& args
408Operation* Program::FinishCurrentFunction(const std::shared_ptr<TensorSlotScope>& scope, bool generateCall)410Operation* Program::FinishCurrentFunction(const std::shared_ptr<TensorSlotScope>& scope, bool generateCall)
409{411{
410 FE_ASSERT(functionMagicNameStack_.size() != 0) << "The stack of functionMagicName is null.";412 FE_ASSERT(functionMagicNameStack_.size() != 0) << "The stack of functionMagicName is null.";
411- auto funcMagicName = currentFunctionPtr_->GetRawName() + "_" + std::to_string(currentFunctionPtr_->GetFuncMagic());413+ auto funcMagicName = currentFunctionPtr_->GetMagicName();
412- FE_ASSERT(FeError::NOT_EXIST, currentFunctionPtr_->GetMagicName() == funcMagicName)414+ // DYNAMIC names use FUNCTION_MAGIC_NAME suffix, which need not equal functionMagic_.
413- << "currentFunc magicName: " << currentFunctionPtr_->GetMagicName()415+ if (currentFunctionPtr_->GetFunctionType() != FunctionType::DYNAMIC) {
414- << ", rawName: " << currentFunctionPtr_->GetRawName() << "funcMagic: " << currentFunctionPtr_->GetFuncMagic();416+ auto expectedName = currentFunctionPtr_->GetRawName() + "_" +
417+ std::to_string(currentFunctionPtr_->GetFuncMagic());
418+ FE_ASSERT(FeError::NOT_EXIST, funcMagicName == expectedName)
419+ << "currentFunc magicName: " << funcMagicName << ", rawName: " << currentFunctionPtr_->GetRawName()
420+ << "funcMagic: " << currentFunctionPtr_->GetFuncMagic();
421+ }
415 422 
416 FE_LOGD("func.end.finish: name=%s", funcMagicName.c_str());423 FE_LOGD("func.end.finish: name=%s", funcMagicName.c_str());
417 424 
@@ -157,7 +157,7 @@ std::shared_ptr<Function> RootFunctionBuilder::Build(const ir::FunctionPtr& irFu
157 157 
158void RootFunctionBuilder::InitDynFunc(const ir::FunctionPtr& irFunc)158void RootFunctionBuilder::InitDynFunc(const ir::FunctionPtr& irFunc)
159{159{
160- auto funcMagicName = irFunc->name_ + "_" + std::to_string(IdGen<IdType::FUNCTION>::Inst().NewId());160+ auto funcMagicName = irFunc->name_ + "_" + std::to_string(Function::NextMagicNameSuffix(FunctionType::DYNAMIC));
161 dynFunc_ = std::make_shared<Function>(program_, funcMagicName, irFunc->name_, parentFunc_);161 dynFunc_ = std::make_shared<Function>(program_, funcMagicName, irFunc->name_, parentFunc_);
162 dynFunc_->SetFunctionType(FunctionType::DYNAMIC);162 dynFunc_->SetFunctionType(FunctionType::DYNAMIC);
163 dynFunc_->SetGraphType(GraphType::TENSOR_GRAPH);163 dynFunc_->SetGraphType(GraphType::TENSOR_GRAPH);
@@ -21,6 +21,7 @@ namespace npu::tile_fwk {
21enum class IdType {21enum class IdType {
22 RAW_TENSOR,22 RAW_TENSOR,
23 FUNCTION,23 FUNCTION,
24+ FUNCTION_MAGIC_NAME, // FunctionType::DYNAMIC name suffix; not reset by Program::Reset()
24 LOGICAL_TENSOR,25 LOGICAL_TENSOR,
25 TENSOR_INDEX,26 TENSOR_INDEX,
26};27};
@@ -632,7 +632,7 @@ TEST_F(DynamicFunctionTest, TestLoopWithRank)
632#if ENABLE_HIDDENLOOP632#if ENABLE_HIDDENLOOP
633 auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_TENSOR_main_loop_Unroll1_PATH0_4");633 auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_TENSOR_main_loop_Unroll1_PATH0_4");
634#else634#else
635- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_main_2");635+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_main");
636#endif636#endif
637 EXPECT_NE(mainFunc, nullptr);637 EXPECT_NE(mainFunc, nullptr);
638 EXPECT_EQ(mainFunc->GetCallopAttrList().size(), 6);638 EXPECT_EQ(mainFunc->GetCallopAttrList().size(), 6);
@@ -677,7 +677,7 @@ TEST_F(DynamicFunctionTest, TestLoopIfWithRank)
677#if ENABLE_HIDDENLOOP677#if ENABLE_HIDDENLOOP
678 auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_TENSOR_main_loop_Unroll1_PATH0_4");678 auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_TENSOR_main_loop_Unroll1_PATH0_4");
679#else679#else
680- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_main_2");680+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_main");
681#endif681#endif
682 EXPECT_NE(mainFunc, nullptr);682 EXPECT_NE(mainFunc, nullptr);
683 EXPECT_EQ(mainFunc->GetCallopAttrList().size(), 6);683 EXPECT_EQ(mainFunc->GetCallopAttrList().size(), 6);
@@ -726,7 +726,7 @@ TEST_F(DynamicFunctionTest, TestLoopWithManualRank)
726#if ENABLE_HIDDENLOOP726#if ENABLE_HIDDENLOOP
727 auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_TENSOR_main_loop_Unroll1_PATH0_4");727 auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_TENSOR_main_loop_Unroll1_PATH0_4");
728#else728#else
729- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_main_2");729+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_main");
730#endif730#endif
731 EXPECT_NE(mainFunc, nullptr);731 EXPECT_NE(mainFunc, nullptr);
732 EXPECT_EQ(mainFunc->GetCallopAttrList().size(), 7);732 EXPECT_EQ(mainFunc->GetCallopAttrList().size(), 7);
@@ -787,7 +787,7 @@ TEST_F(DynamicFunctionTest, HiddenLoop)
787 // }787 // }
788 }788 }
789 789 
790- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_Main_2"); // outest function790+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_Main"); // outest function
791 EXPECT_NE(mainFunc, nullptr);791 EXPECT_NE(mainFunc, nullptr);
792 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop792 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop
793 793 
@@ -856,7 +856,7 @@ TEST_F(DynamicFunctionTest, HiddenLoopWithIf)
856 856 
857 HiddenLoopWithIf(t0, t1, out);857 HiddenLoopWithIf(t0, t1, out);
858 858 
859- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_Main_2");859+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_Main");
860 EXPECT_NE(mainFunc, nullptr);860 EXPECT_NE(mainFunc, nullptr);
861 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop861 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop
862 862 
@@ -942,7 +942,7 @@ TEST_F(DynamicFunctionTest, HiddenLoopNestedWithIf)
942 // }942 // }
943 }943 }
944 944 
945- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_Main_2");945+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_Main");
946 EXPECT_NE(mainFunc, nullptr);946 EXPECT_NE(mainFunc, nullptr);
947 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop947 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop
948 948 
@@ -1008,7 +1008,7 @@ TEST_F(DynamicFunctionTest, HiddenLoopNestedWithIfComplex)
1008 // }1008 // }
1009 }1009 }
1010 1010 
1011- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_Main_2"); // outest function1011+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_Main"); // outest function
1012 EXPECT_NE(mainFunc, nullptr);1012 EXPECT_NE(mainFunc, nullptr);
1013 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop1013 EXPECT_EQ(mainFunc->GetCalleeFunctionList().size(), 1); // one hidden loop
1014 1014 
@@ -18,6 +18,7 @@
18#include "tilefwk/tilefwk.h"18#include "tilefwk/tilefwk.h"
19#include "interface/inner/tilefwk.h"19#include "interface/inner/tilefwk.h"
20#include "interface/configs/config_manager.h"20#include "interface/configs/config_manager.h"
21+#include "interface/function/function.h"
21 22 
22using namespace npu::tile_fwk;23using namespace npu::tile_fwk;
23 24 
@@ -73,3 +74,36 @@ TEST_F(FunctionUtilsTest, TestCloneOperation)
73 }74 }
74 }75 }
75}76}
77+ 
78+TEST_F(FunctionUtilsTest, DynamicFunctionMagicNameSurvivesProgramReset)
79+{
80+ auto allocDyn = []() {
81+ auto magicName = std::string("dyn_root_") +
82+ std::to_string(Function::NextMagicNameSuffix(FunctionType::DYNAMIC));
83+ auto dyn = std::make_unique<Function>(Program::GetInstance(), magicName, "dyn_root", nullptr);
84+ dyn->SetFunctionType(FunctionType::DYNAMIC);
85+ dyn->SetGraphType(GraphType::TENSOR_GRAPH);
86+ return dyn;
87+ };
88+ 
89+ auto dyn1 = allocDyn();
90+ int magic1 = dyn1->GetFuncMagic();
91+ std::string name1 = dyn1->GetMagicName();
92+ auto hash1 = dyn1->ComputeHash();
93+ 
94+ Program::GetInstance().Reset();
95+ 
96+ auto dyn2 = allocDyn();
97+ EXPECT_EQ(dyn2->GetFuncMagic(), magic1);
98+ EXPECT_NE(dyn2->GetMagicName(), name1);
99+ EXPECT_NE(dyn2->ComputeHash().GetHash(), hash1.GetHash());
100+ 
101+ Program::GetInstance().Reset();
102+ int staticSuffix = Function::NextMagicNameSuffix(FunctionType::STATIC);
103+ Function staticFunc(Program::GetInstance(), "static_a", "static_a", nullptr);
104+ int staticMagic = staticFunc.GetFuncMagic();
105+ Program::GetInstance().Reset();
106+ EXPECT_EQ(Function::NextMagicNameSuffix(FunctionType::STATIC), staticSuffix);
107+ Function staticFunc2(Program::GetInstance(), "static_a", "static_a", nullptr);
108+ EXPECT_EQ(staticFunc2.GetFuncMagic(), staticMagic);
109+}
@@ -71,15 +71,29 @@ TEST_F(TestIdGen, MultipleIdTypesIndependent)
71{71{
72 auto& raw = IdGen<IdType::RAW_TENSOR>::Inst();72 auto& raw = IdGen<IdType::RAW_TENSOR>::Inst();
73 auto& func = IdGen<IdType::FUNCTION>::Inst();73 auto& func = IdGen<IdType::FUNCTION>::Inst();
74+ auto& nameSuffix = IdGen<IdType::FUNCTION_MAGIC_NAME>::Inst();
74 raw.Reset();75 raw.Reset();
75 func.Reset();76 func.Reset();
77+ int nameBefore = nameSuffix.CurId();
76 raw.NewId();78 raw.NewId();
77 func.NewId();79 func.NewId();
78 func.NewId();80 func.NewId();
79 EXPECT_EQ(raw.CurId(), 1);81 EXPECT_EQ(raw.CurId(), 1);
80 EXPECT_EQ(func.CurId(), 2);82 EXPECT_EQ(func.CurId(), 2);
83+ EXPECT_EQ(nameSuffix.CurId(), nameBefore);
81 raw.Reset();84 raw.Reset();
82 func.Reset();85 func.Reset();
86+ EXPECT_EQ(nameSuffix.CurId(), nameBefore);
87+}
88+ 
89+TEST_F(TestIdGen, FunctionMagicNameNotResetWithFunction)
90+{
91+ auto& func = IdGen<IdType::FUNCTION>::Inst();
92+ auto& nameSuffix = IdGen<IdType::FUNCTION_MAGIC_NAME>::Inst();
93+ int nameId = nameSuffix.NewId();
94+ func.Reset();
95+ EXPECT_EQ(func.CurId(), 0);
96+ EXPECT_EQ(nameSuffix.CurId(), nameId + 1);
83}97}
84 98 
85TEST_F(TestIdGen, NewIdAfterReset)99TEST_F(TestIdGen, NewIdAfterReset)
@@ -135,7 +135,7 @@ TEST_F(SubgraphToFunctionCheckTest, TestPrePostCheck)
135 c2 = Sub(temp2, b);135 c2 = Sub(temp2, b);
136 }136 }
137 config::SetHostOption(COMPILE_STAGE, CS_EXECUTE_GRAPH);137 config::SetHostOption(COMPILE_STAGE, CS_EXECUTE_GRAPH);
138- auto mainFunc = Program::GetInstance().GetFunctionByMagicName("TENSOR_SimpleTest_2");138+ auto mainFunc = Program::GetInstance().GetFunctionByRawName("TENSOR_SimpleTest");
139 EXPECT_NE(mainFunc, nullptr);139 EXPECT_NE(mainFunc, nullptr);
140}140}
141 141 
@@ -3,13 +3,13 @@ program #entry(foo) {
3 v0_logical_tensor %aux_3@1 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %out_0@5 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10000 CALL(%a@0) token();3 v0_logical_tensor %aux_3@1 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %out_0@5 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10000 CALL(%a@0) token();
4 return %a@0, %aux_3@1, %out_0@5;4 return %a@0, %aux_3@1, %out_0@5;
5 }5 }
6- function foo_PATH0_7 incast(v0_logical_tensor %a_3@11 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %aux_7@13 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %out_4@15 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16])) outcast() #type(InCore) #entry(false) {6+ function foo_PATH0_6 incast(v0_logical_tensor %a_3@11 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %aux_7@13 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %out_4@15 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16])) outcast() #type(InCore) #entry(false) {
7 v0_logical_tensor %INCAST_LOCAL_BUF0_0@12 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10001 VIEW(%a_3@11) token() #fromOffset(Unsupported) #toValidShape(Unsupported);7 v0_logical_tensor %INCAST_LOCAL_BUF0_0@12 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10001 VIEW(%a_3@11) token() #fromOffset(Unsupported) #toValidShape(Unsupported);
8 v0_logical_tensor %OUTCAST_LOCAL_BUF0@14 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %OUTCAST_LOCAL_BUF1_0@16 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10000 CALL(%INCAST_LOCAL_BUF0_0@12) token();8 v0_logical_tensor %OUTCAST_LOCAL_BUF0@14 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %OUTCAST_LOCAL_BUF1_0@16 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10000 CALL(%INCAST_LOCAL_BUF0_0@12) token();
9 v0_logical_tensor %aux_7@13 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10002 ASSEMBLE(%OUTCAST_LOCAL_BUF0@14) token() #toOffset(Unsupported);9 v0_logical_tensor %aux_7@13 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10002 ASSEMBLE(%OUTCAST_LOCAL_BUF0@14) token() #toOffset(Unsupported);
10 v0_logical_tensor %out_4@15 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10003 ASSEMBLE(%OUTCAST_LOCAL_BUF1_0@16) token() #toOffset(Unsupported);10 v0_logical_tensor %out_4@15 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10003 ASSEMBLE(%OUTCAST_LOCAL_BUF1_0@16) token() #toOffset(Unsupported);
11 }11 }
12- function foo_PATH0_hiddenfunc_5 incast(v0_logical_tensor %a_1@6 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %aux_5@8 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %out_2@9 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16])) outcast() #type(InCore) #entry(false) {12+ function foo_PATH0_hiddenfunc_4 incast(v0_logical_tensor %a_1@6 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %aux_5@8 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]), v0_logical_tensor %out_2@9 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16])) outcast() #type(InCore) #entry(false) {
13 v0_logical_tensor %INCAST_LOCAL_BUF0@7 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10005 VIEW(%a_1@6) token() #fromOffset(Unsupported) #toValidShape(Unsupported);13 v0_logical_tensor %INCAST_LOCAL_BUF0@7 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10005 VIEW(%a_1@6) token() #fromOffset(Unsupported) #toValidShape(Unsupported);
14 v0_logical_tensor %$0@3 #dtype(float) #shape([16, 16]) #offset([0, 0]) #dynvalidshape([16, 16]) = !10000 VEC_DUP() token();14 v0_logical_tensor %$0@3 #dtype(float) #shape([16, 16]) #offset([0, 0]) #dynvalidshape([16, 16]) = !10000 VEC_DUP() token();
15 v0_logical_tensor %aux_1@8 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10001 ASSEMBLE(%$0@3) token() #toOffset(Unsupported);15 v0_logical_tensor %aux_1@8 #dtype(float) #shape([32, 16]) #offset([0, 0]) #dynvalidshape([32, 16]) = !10001 ASSEMBLE(%$0@3) token() #toOffset(Unsupported);