def test_fsns_export_and_load_inference(self): model_export.export_model(self.export_dir, False, batch_size=2) self.verify_export_load_and_inference(False)
def test_fsns_export_for_serving_and_load_inference(self): model_export.export_model(self.export_dir, True) self.verify_export_load_and_inference(True)