|
|
|
@@ -136,8 +136,10 @@ void ValidateValueNode(const AnfNodePtr &node) { |
|
|
|
} |
|
|
|
// InterpretedNode should be consumed during compile, not left to Runtime. |
|
|
|
if (IsValueNode<parse::InterpretedObject>(node)) { |
|
|
|
MS_LOG(EXCEPTION) << "Should not use Python object in runtime, node: " << node->DebugString() |
|
|
|
<< "\n\nWe suppose all nodes generated by JIT Fallback not return to outside of graph."; |
|
|
|
MS_LOG(EXCEPTION) |
|
|
|
<< "Should not use Python object in runtime, node: " << node->DebugString() |
|
|
|
<< "\n\nWe suppose all nodes generated by JIT Fallback would not return to outside of graph. " |
|
|
|
<< "For more information about JIT Fallback, please refer to the FAQ at https://www.mindspore.cn."; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|