参考
https://stackoverflow.com/questions/63886762/tensorflow-none-of-the-mlir-optimization-passes-are-enabled-registered-1
The I at the beginning of the message means this is an informational log message.
tensorflow 前面的I表示的是信息日志消息,不是错误。
MLIR is being used as another solution to implementing and optimizing Tensorflow logic. This informative message is benign and is saying MLIR was not being used. This is expected as in TF 2.3, the MLIR based implementation is still being developed and proven, so end users are generally not expected to use the MLIR implementation and are instead expected to use the non-MLIR feature complete implementation.
MLIR被用作另一种实现和优化Tensorflow逻辑的解决方案。这个信息是良性的,说MLIR没有被使用。这是TF 2.3中预期的,基于MLIR的实现仍在开发和验证中,因此最终用户通常不希望使用MLIR实现,而是希望使用非MLIR特性的完整实现。