Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 1f6929e

Browse files
nshazeerMesh TensorFlow Team
authored and
Mesh TensorFlow Team
committed
Allow init_from_checkpoint to accept a list of pairs, so as to enable initialization of multiple variables in the graph from the same variable in the checkpoint.
PiperOrigin-RevId: 361920642
1 parent 441ff47 commit 1f6929e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mesh_tensorflow/transformer/transformer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
import json
4747
import math
48+
import re
4849

4950
import gin
5051
import mesh_tensorflow as mtf

0 commit comments

Comments
 (0)