Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit dff30e7

Browse files
authored
Add import mesh_tensorflow.auto_mtf for auto layout and mesh shape search
tensorflow/mesh#247 This error has been reported in the above issue. In some versions of mesh-tensorflow, errors such as attributeError: module 'mesh_tensorflow' has no attribute 'auto_mtf' occur. This problem can be easily solved by adding a single line of code: `import mesh_tensorflow.auto_mtf`.
1 parent 4955842 commit dff30e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import tensorflow.compat.v1 as tf
99
import tensorflow.compat.v2 as tf2
1010
import mesh_tensorflow as mtf
11+
import mesh_tensorflow.auto_mtf
1112
from data.encoders import fetch_encoder
1213
import re
1314

0 commit comments

Comments
 (0)