Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/python/saved_model/saved_model.py: 100%

15 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

1# Copyright 2015 The TensorFlow Authors. All Rights Reserved. 

2# 

3# Licensed under the Apache License, Version 2.0 (the "License"); 

4# you may not use this file except in compliance with the License. 

5# You may obtain a copy of the License at 

6# 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14# ============================================================================== 

15"""Convenience functions to save a model. 

16""" 

17 

18 

19# pylint: disable=unused-import 

20from tensorflow.python.saved_model import builder 

21from tensorflow.python.saved_model import constants 

22from tensorflow.python.saved_model import loader 

23from tensorflow.python.saved_model import main_op 

24from tensorflow.python.saved_model import method_name_updater 

25from tensorflow.python.saved_model import signature_constants 

26from tensorflow.python.saved_model import signature_def_utils 

27from tensorflow.python.saved_model import tag_constants 

28from tensorflow.python.saved_model import utils 

29from tensorflow.python.saved_model.fingerprinting import Fingerprint 

30from tensorflow.python.saved_model.fingerprinting import read_fingerprint 

31from tensorflow.python.saved_model.load import load 

32from tensorflow.python.saved_model.save import save 

33# pylint: enable=unused-import 

34# pylint: disable=wildcard-import 

35from tensorflow.python.saved_model.simple_save import * 

36# pylint: enable=wildcard-import