From 594f88f70139416d9f49f2065f4b090109c25f9d Mon Sep 17 00:00:00 2001 From: Chris Fairclough Date: Mon, 5 Oct 2020 09:27:58 +0100 Subject: [PATCH] add input mappings to graph importer --- src/TensorFlowNET.Core/Framework/importer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TensorFlowNET.Core/Framework/importer.cs b/src/TensorFlowNET.Core/Framework/importer.cs index 49d4372b..29b5fada 100644 --- a/src/TensorFlowNET.Core/Framework/importer.cs +++ b/src/TensorFlowNET.Core/Framework/importer.cs @@ -121,7 +121,7 @@ namespace Tensorflow foreach(var input in input_map) { - throw new NotImplementedException("_PopulateTFImportGraphDefOptions"); + c_api.TF_ImportGraphDefOptionsAddInputMapping(options.Handle, input.Key, 0, input.Value._as_tf_output()); } if (return_elements == null)