We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab8b801 commit 45848c4Copy full SHA for 45848c4
official/projects/edgetpu/nlp/serving/export_tflite_squad.py
@@ -135,7 +135,8 @@ def main(argv: Sequence[str]) -> None:
135
checkpoint = tf.train.Checkpoint(**checkpoint_dict)
136
checkpoint.restore(FLAGS.model_checkpoint).assert_existing_objects_matched()
137
138
- model_for_serving = build_model_for_serving(model)
+ model_for_serving = build_model_for_serving(model, FLAGS.sequence_length,
139
+ FLAGS.batch_size)
140
model_for_serving.summary()
141
142
# TODO(b/194449109): Need to save the model to file and then convert tflite
0 commit comments