Home
last modified time | relevance | path

Searched refs:saved_model (Results 1 – 25 of 167) sorted by relevance

1234567

/external/tensorflow/tensorflow/python/saved_model/
Dsaved_model.py24 from tensorflow.python.saved_model import builder
25 from tensorflow.python.saved_model import constants
26 from tensorflow.python.saved_model import loader
27 from tensorflow.python.saved_model import main_op
28 from tensorflow.python.saved_model import signature_constants
29 from tensorflow.python.saved_model import signature_def_utils
30 from tensorflow.python.saved_model import tag_constants
31 from tensorflow.python.saved_model import utils
32 from tensorflow.python.saved_model.load import load
33 from tensorflow.python.saved_model.save import save
[all …]
Dsignature_def_utils.py24 from tensorflow.python.saved_model.signature_def_utils_impl import build_signature_def
25 from tensorflow.python.saved_model.signature_def_utils_impl import classification_signature_def
26 from tensorflow.python.saved_model.signature_def_utils_impl import is_valid_signature
27 from tensorflow.python.saved_model.signature_def_utils_impl import load_op_from_signature_def
28 from tensorflow.python.saved_model.signature_def_utils_impl import op_signature_def
29 from tensorflow.python.saved_model.signature_def_utils_impl import predict_signature_def
30 from tensorflow.python.saved_model.signature_def_utils_impl import regression_signature_def
31 from tensorflow.python.saved_model.signature_def_utils_impl import supervised_eval_signature_def
32 from tensorflow.python.saved_model.signature_def_utils_impl import supervised_train_signature_def
Dloader_impl.py33 from tensorflow.python.saved_model import constants
34 from tensorflow.python.saved_model import signature_def_utils
35 from tensorflow.python.saved_model import utils_impl as saved_model_utils
64 saved_model = saved_model_pb2.SavedModel()
68 saved_model.ParseFromString(file_content)
69 return saved_model
75 text_format.Merge(file_content.decode("utf-8"), saved_model)
76 return saved_model
297 def saved_model(self): member in SavedModelLoader
Dsimple_save.py22 from tensorflow.python.saved_model import builder
23 from tensorflow.python.saved_model import signature_constants
24 from tensorflow.python.saved_model import signature_def_utils
25 from tensorflow.python.saved_model import tag_constants
Dsave.py39 from tensorflow.python.saved_model import builder_impl
40 from tensorflow.python.saved_model import constants
41 from tensorflow.python.saved_model import function_serialization
42 from tensorflow.python.saved_model import nested_structure_coder
43 from tensorflow.python.saved_model import revived_types
44 from tensorflow.python.saved_model import signature_constants
45 from tensorflow.python.saved_model import signature_def_utils
46 from tensorflow.python.saved_model import signature_serialization
47 from tensorflow.python.saved_model import tag_constants
48 from tensorflow.python.saved_model import utils_impl
[all …]
Dutils.py24 from tensorflow.python.saved_model.utils_impl import build_tensor_info
25 from tensorflow.python.saved_model.utils_impl import build_tensor_info_from_op
26 from tensorflow.python.saved_model.utils_impl import get_tensor_from_tensor_info
DREADME.md57 saved_model.pb
61 * `saved_model.pb` or `saved_model.pbtxt`
80 …der](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/builder.py)
112 builder = tf.saved_model.builder.SavedModelBuilder(export_dir)
116 [tf.saved_model.tag_constants.TRAINING],
160 …ader](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/loader.py)
171 tf.saved_model.loader.load(sess, [tag_constants.TRAINING], export_dir)
176 …l [loader](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/cc/saved_model/loader.h)
201 * [Python](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/tag_c…
202 * [C++](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/cc/saved_model/tag_constant…
[all …]
Dsimple_save_test.py27 from tensorflow.python.saved_model import loader
28 from tensorflow.python.saved_model import signature_constants
29 from tensorflow.python.saved_model import simple_save
30 from tensorflow.python.saved_model import tag_constants
/external/tensorflow/tensorflow/python/saved_model/model_utils/
D__init__.py21 from tensorflow.python.saved_model.model_utils.export_output import *
22 from tensorflow.python.saved_model.model_utils.export_utils import build_all_signature_defs
23 from tensorflow.python.saved_model.model_utils.export_utils import export_outputs_for_mode
24 from tensorflow.python.saved_model.model_utils.export_utils import EXPORT_TAG_MAP
25 from tensorflow.python.saved_model.model_utils.export_utils import get_export_outputs
26 from tensorflow.python.saved_model.model_utils.export_utils import get_temp_export_dir
27 from tensorflow.python.saved_model.model_utils.export_utils import get_timestamped_export_dir
28 from tensorflow.python.saved_model.model_utils.export_utils import SIGNATURE_KEY_MAP
DBUILD45 "//tensorflow/python/saved_model:signature_def_utils",
64 "//tensorflow/python/saved_model:signature_constants",
77 "//tensorflow/python/saved_model:signature_constants",
78 "//tensorflow/python/saved_model:signature_def_utils",
79 "//tensorflow/python/saved_model:tag_constants",
98 "//tensorflow/python/saved_model:signature_constants",
99 "//tensorflow/python/saved_model:signature_def_utils",
Dexport_utils.py29 from tensorflow.python.saved_model import signature_constants
30 from tensorflow.python.saved_model import signature_def_utils
31 from tensorflow.python.saved_model import tag_constants
32 from tensorflow.python.saved_model.model_utils import export_output as export_output_lib
33 from tensorflow.python.saved_model.model_utils import mode_keys
34 from tensorflow.python.saved_model.model_utils.mode_keys import KerasModeKeys as ModeKeys
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_utils.py27 from tensorflow.python.saved_model import constants
58 saved_model = saved_model_pb2.SavedModel()
62 saved_model.ParseFromString(file_content)
63 return saved_model
69 text_format.Merge(file_content.decode("utf-8"), saved_model)
70 return saved_model
88 saved_model = read_saved_model(saved_model_dir)
90 for meta_graph_def in saved_model.meta_graphs:
113 saved_model = read_saved_model(saved_model_dir)
115 for meta_graph_def in saved_model.meta_graphs:
/external/tensorflow/tensorflow/contrib/saved_model/
DBUILD33 ["python/saved_model/*.py"],
34 exclude = ["python/saved_model/*_test.py"],
44 "//tensorflow/python/saved_model:builder",
45 "//tensorflow/python/saved_model:constants",
46 "//tensorflow/python/saved_model:signature_constants",
47 "//tensorflow/python/saved_model:signature_def_utils",
48 "//tensorflow/python/saved_model:tag_constants",
54 srcs = ["python/saved_model/reader.py"],
63 "//tensorflow/python/saved_model:builder",
64 "//tensorflow/python/saved_model:tag_constants",
[all …]
/external/tensorflow/tensorflow/contrib/saved_model/python/saved_model/
Dreader.py27 from tensorflow.python.saved_model import constants
58 saved_model = saved_model_pb2.SavedModel()
62 saved_model.ParseFromString(file_content)
63 return saved_model
69 text_format.Merge(file_content.decode("utf-8"), saved_model)
70 return saved_model
88 saved_model = read_saved_model(saved_model_dir)
90 for meta_graph_def in saved_model.meta_graphs:
Dreader_test.py23 from tensorflow.contrib.saved_model.python.saved_model import reader
28 from tensorflow.python.saved_model import builder as saved_model_builder
29 from tensorflow.python.saved_model import tag_constants
/external/tensorflow/tensorflow/python/compiler/tensorrt/
DBUILD52 "//tensorflow/python/saved_model:builder",
53 "//tensorflow/python/saved_model:load",
54 "//tensorflow/python/saved_model:loader",
55 "//tensorflow/python/saved_model:save",
56 "//tensorflow/python/saved_model:signature_constants",
57 "//tensorflow/python/saved_model:tag_constants",
89 "//tensorflow/python/saved_model:builder",
90 "//tensorflow/python/saved_model:loader",
91 "//tensorflow/python/saved_model:signature_constants",
92 "//tensorflow/python/saved_model:signature_def_utils",
[all …]
/external/tensorflow/tensorflow/lite/python/
Dconvert_saved_model_test.py35 from tensorflow.python.saved_model import saved_model
36 from tensorflow.python.saved_model import signature_constants
37 from tensorflow.python.saved_model import tag_constants
128 saved_model.simple_save(sess, saved_model_dir, inputs, outputs)
142 saved_model.simple_save(sess, saved_model_dir, inputs, outputs)
293 builder = saved_model.builder.SavedModelBuilder(saved_model_dir)
298 sig_input_tensor = saved_model.utils.build_tensor_info(in_tensor)
300 sig_output_tensor = saved_model.utils.build_tensor_info(out_tensor)
303 saved_model.signature_def_utils.build_signature_def(
305 saved_model.signature_constants.PREDICT_METHOD_NAME))
[all …]
Dlite_v2_test.py33 from tensorflow.python.saved_model.load import load
34 from tensorflow.python.saved_model.save import save
111 saved_model = load(save_dir)
112 concrete_func = saved_model.signatures['serving_default']
136 saved_model = load(save_dir)
137 concrete_func = saved_model.signatures['serving_default']
/external/tensorflow/tensorflow/python/tools/api/generator/
Dapi_init_files_v1.bzl61 "saved_model/__init__.py",
62 "saved_model/builder/__init__.py",
63 "saved_model/constants/__init__.py",
64 "saved_model/experimental/__init__.py",
65 "saved_model/loader/__init__.py",
66 "saved_model/main_op/__init__.py",
67 "saved_model/signature_constants/__init__.py",
68 "saved_model/signature_def_utils/__init__.py",
69 "saved_model/tag_constants/__init__.py",
70 "saved_model/utils/__init__.py",
/external/tensorflow/tensorflow/contrib/predictor/
Dsaved_model_predictor.py25 from tensorflow.contrib.saved_model.python.saved_model import reader
28 from tensorflow.python.saved_model import loader
29 from tensorflow.python.saved_model import signature_constants
53 saved_model = reader.read_saved_model(saved_model_dir)
55 for meta_graph_def in saved_model.meta_graphs:
DBUILD48 "//tensorflow/contrib/saved_model:saved_model_py",
51 "//tensorflow/python/saved_model:loader",
52 "//tensorflow/python/saved_model:signature_constants",
65 "//tensorflow/python/saved_model:signature_constants",
94 "//tensorflow/python/saved_model:signature_constants",
120 "//tensorflow/python/saved_model:signature_def_utils",
/external/tensorflow/tensorflow/python/grappler/
Dcost_analyzer_tool.py45 saved_model = saved_model_pb2.SavedModel()
46 text_format.Merge(input_data, saved_model)
47 meta_graph = saved_model.meta_graphs[0]
50 saved_model.ParseFromString(input_data)
51 meta_graph = saved_model.meta_graphs[0]
/external/tensorflow/tensorflow/contrib/session_bundle/
DBUILD53 "//tensorflow/python/saved_model:constants",
54 "//tensorflow/python/saved_model:loader",
55 "//tensorflow/python/saved_model:signature_constants",
65 "//tensorflow/cc/saved_model:saved_model_half_plus_two",
80 "//tensorflow/python/saved_model:signature_constants",
81 "//tensorflow/python/saved_model:tag_constants",
373 "//tensorflow/cc/saved_model:loader",
374 "//tensorflow/cc/saved_model:signature_constants",
391 "//tensorflow/cc/saved_model:saved_model_half_plus_two",
398 "//tensorflow/cc/saved_model:signature_constants",
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.saved_model.builder.-saved-model-builder.pbtxt1 path: "tensorflow.saved_model.builder.SavedModelBuilder"
3 is_instance: "<class \'tensorflow.python.saved_model.builder_impl.SavedModelBuilder\'>"
4 is_instance: "<class \'tensorflow.python.saved_model.builder_impl._SavedModelBuilder\'>"
Dtensorflow.saved_model.-builder.pbtxt1 path: "tensorflow.saved_model.Builder"
3 is_instance: "<class \'tensorflow.python.saved_model.builder_impl.SavedModelBuilder\'>"
4 is_instance: "<class \'tensorflow.python.saved_model.builder_impl._SavedModelBuilder\'>"

1234567