OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SavedModel
(Results
1 - 8
of
8
) sorted by null
/external/tensorflow/tensorflow/go/
saved_model.go
28
//
SavedModel
represents the contents of loaded
SavedModel
.
30
type
SavedModel
struct {
35
// LoadSavedModel creates a new
SavedModel
from a model previously
48
func LoadSavedModel(exportDir string, tags []string, options *SessionOptions) (*
SavedModel
, error) {
73
return &
SavedModel
{Session: s, Graph: graph}, nil
/external/tensorflow/tensorflow/contrib/saved_model/python/saved_model/
reader.py
15
"""
SavedModel
functionality to read a
SavedModel
from disk."""
32
"""Reads the
savedmodel
.pb or
savedmodel
.pbtxt file containing `
SavedModel
`.
35
saved_model_dir: Directory containing the
SavedModel
file.
38
A `
SavedModel
` protocol buffer.
43
# Build the path to the
SavedModel
in pbtxt format.
47
# Build the path to the
SavedModel
in pb format.
52
# Ensure that the
SavedModel
exists at either path
[
all
...]
/external/tensorflow/tensorflow/cc/saved_model/
loader.cc
37
"The number of times a
SavedModel
was successfully loaded.", "model_path",
46
Status ReadSavedModel(const string& export_dir,
SavedModel
* saved_model_proto) {
60
"Could not find
SavedModel
.pb or .pbtxt at supplied export "
74
Status FindMetaGraphDefToLoad(const
SavedModel
& saved_model_proto,
92
". To inspect available tag-sets in the
SavedModel
, please "
93
"use the
SavedModel
CLI: `saved_model_cli`");
138
LOG(INFO) << "Running MainOp on
SavedModel
bundle.";
161
LOG(INFO) << "Restoring
SavedModel
bundle.";
171
LOG(INFO) << "The specified
SavedModel
has no variables; no checkpoints "
196
LOG(INFO) << "Running LegacyInitOp on
SavedModel
bundle."
[
all
...]
/external/tensorflow/tensorflow/python/saved_model/
loader_impl.py
15
"""Loader implementation for
SavedModel
with hermetic, language-neutral exports.
39
"""Reads the
savedmodel
.pb or
savedmodel
.pbtxt file containing `
SavedModel
`.
42
export_dir: Directory containing the
SavedModel
file.
45
A `
SavedModel
` protocol buffer.
50
# Build the path to the
SavedModel
in pbtxt format.
54
# Build the path to the
SavedModel
in pb format.
59
# Parse the
SavedModel
protocol buffer.
60
saved_model = saved_model_pb2.
SavedModel
()
[
all
...]
builder_impl.py
15
"""
SavedModel
builder implementation."""
42
"""Builds the `
SavedModel
` protocol buffer and saves variables and assets.
44
The `SavedModelBuilder` class provides functionality to build a `
SavedModel
`
46
part of a single language-neutral `
SavedModel
`, while sharing variables and
49
To build a
SavedModel
, the first meta graph must be saved with variables.
55
Each meta graph added to the
SavedModel
must be annotated with tags. The tags
82
self._saved_model = saved_model_pb2.
SavedModel
()
95
#
SavedModel
have been saved. Specifically, the first meta graph to be added
97
# on the
SavedModel
MUST use the add_meta_graph() API which does not save
138
"""Add legacy init op to the
SavedModel
[
all
...]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
estimator.py
[
all
...]
/external/tensorflow/tensorflow/python/tools/
saved_model_cli.py
15
"""Command-line interface to inspect and execute a graph in a
SavedModel
.
48
"""Prints the tag-sets stored in
SavedModel
directory.
50
Prints all the tag-sets for MetaGraphs stored in
SavedModel
directory.
53
saved_model_dir: Directory containing the
SavedModel
to inspect.
56
print('The given
SavedModel
contains the following tag-sets:')
65
the given tag-set and
SavedModel
directory.
68
saved_model_dir: Directory containing the
SavedModel
to inspect.
74
print('The given
SavedModel
MetaGraphDef contains SignatureDefs with the '
125
saved_model_dir: Directory containing the
SavedModel
to inspect.
137
print('The given
SavedModel
SignatureDef contains the following input(s):'
[
all
...]
/external/tensorflow/tensorflow/c/
c_api_test.cc
[
all
...]
Completed in 136 milliseconds