From 660867696838864e6ff86be38ad8fff553e4aa80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E6=8C=AF=E5=BC=BA?= Date: Mon, 28 Jul 2025 13:48:57 +0000 Subject: [PATCH] =?UTF-8?q?!3003=20fix=20inputs=20num=20bug=20Merge=20pull?= =?UTF-8?q?=20request=20!3003=20from=20=E5=86=AF=E6=8C=AF=E5=BC=BA/abi=5Ft?= =?UTF-8?q?fa1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../npu_device/core/op_executors/hooks/make_iterator_op.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tf_adapter_2.x/npu_device/core/op_executors/hooks/make_iterator_op.cpp b/tf_adapter_2.x/npu_device/core/op_executors/hooks/make_iterator_op.cpp index 68a2b28e6..c780525f8 100644 --- a/tf_adapter_2.x/npu_device/core/op_executors/hooks/make_iterator_op.cpp +++ b/tf_adapter_2.x/npu_device/core/op_executors/hooks/make_iterator_op.cpp @@ -124,8 +124,7 @@ static const auto kernel = [](TFE_Context *context, NpuDevice *dev, const tensor dev->CreateIteratorProvider(context, tensor, {dev->device_id}, status); NPU_REQUIRES_TFE_OK(status); - dev->RunGeGraphPin2CpuAnonymous(context, "dp_init_" + handle.name(), dp_init_graph, num_inputs, inputs, 0, - nullptr, status); + dev->RunGeGraphPin2CpuAnonymous(context, "dp_init_" + handle.name(), dp_init_graph, 0, nullptr, 0, nullptr, status); NPU_REQUIRES_TFE_OK(status); } } -- Gitee