Skip to content

Commit

Permalink
Allow init_from_checkpoint to accept a list of pairs, so as to enable…
Browse files Browse the repository at this point in the history
… initialization of multiple variables in the graph from the same variable in the checkpoint.

PiperOrigin-RevId: 361920642
  • Loading branch information
nshazeer authored and Mesh TensorFlow Team committed Mar 19, 2021
1 parent 5d16bca commit d4e1ae3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesh_tensorflow/transformer/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

import json
import math
import re

import gin
import mesh_tensorflow as mtf
Expand Down

0 comments on commit d4e1ae3

Please sign in to comment.