module 'tensorflow' has no attribute 'space_to_depth'(已解决)

  • tensorflow 1.x: tensorflow.space_to_depth
  • tensorflow 2.x: tensorflow.nn.space_to_depth
原文地址:https://www.cnblogs.com/niulang/p/14371038.html