From 143edf67bc4404426649ae85b6848199472558ee Mon Sep 17 00:00:00 2001 From: Islam Amin Date: Mon, 29 Mar 2021 14:28:17 -0400 Subject: [PATCH] fixing UMonad Unsupported type --- mindspore/ccsrc/debug/debugger/debugger.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/ccsrc/debug/debugger/debugger.cc b/mindspore/ccsrc/debug/debugger/debugger.cc index 8bc8f26895..4be643983c 100644 --- a/mindspore/ccsrc/debug/debugger/debugger.cc +++ b/mindspore/ccsrc/debug/debugger/debugger.cc @@ -1141,7 +1141,7 @@ void Debugger::LoadSingleAnfnode(const AnfNodePtr &anf_node, const size_t output auto addr = AnfAlgo::GetOutputAddr(anf_node, output_index); MS_EXCEPTION_IF_NULL(addr); auto type = AnfAlgo::GetOutputInferDataType(anf_node, output_index); - if (type == kObjectTypeUMonad) { + if (type == kObjectTypeUMonad || type == kObjectTypeMonad || type == kObjectTypeIOMonad) { return; } auto format = kOpFormat_DEFAULT; @@ -1206,7 +1206,7 @@ void Debugger::LoadGraphOutputs() { auto addr = AnfAlgo::GetOutputAddr(node, j); MS_EXCEPTION_IF_NULL(addr); auto type = AnfAlgo::GetOutputInferDataType(node, j); - if (type == kObjectTypeUMonad) { + if (type == kObjectTypeUMonad || type == kObjectTypeMonad || type == kObjectTypeIOMonad) { continue; } auto format = kOpFormat_DEFAULT;