More TF fixes (#28081)

* More build_in_name_scope()

* Make sure we set the save spec now we don't do it with dummies anymore

* make fixup
This commit is contained in:
Matt
2023-12-18 15:26:03 +00:00
committed by GitHub
parent 0695b2421a
commit 71d47f0ad4
5 changed files with 6 additions and 5 deletions

View File

@@ -445,7 +445,7 @@ class TFGPT2ModelTest(TFModelTesterMixin, TFCoreModelTesterMixin, PipelineTester
continue
model = model_class(config)
model.build()
model.build_in_name_scope()
onnx_model_proto, _ = tf2onnx.convert.from_keras(model, opset=self.onnx_min_opset)