cannot import name 'dtensor' from 'tensorflow.compat.v2.experimental 报错

Frank_Jin / 2023-05-16 / 原文

原因是keras版本和tf版本不一致,修改python版本即可