HomeSort by relevance Sort by last modified time
    Searched refs:as_text (Results 1 - 25 of 32) sorted by null

1 2

  /external/tensorflow/tensorflow/python/kernel_tests/
string_format_op_test.py 42 self.assertEqual(compat.as_text(out), expected)
49 self.assertEqual(compat.as_text(out), expected)
60 self.assertEqual(compat.as_text(out), expected)
71 self.assertEqual(compat.as_text(out), expected)
85 self.assertEqual(compat.as_text(out), expected)
94 self.assertEqual(compat.as_text(out), expected)
103 self.assertEqual(compat.as_text(out), expected)
112 self.assertEqual(compat.as_text(out), expected)
119 self.assertEqual(compat.as_text(out), expected)
126 self.assertEqual(compat.as_text(out), expected
    [all...]
reader_ops_test.py 379 self.assertAllEqual("%s:%d" % (files[i], j + 1), compat.as_text(k))
406 self.assertAllEqual("%s:%d" % (files[i], j + 2), compat.as_text(k))
542 self.assertAllEqual("%s:%d" % (files[i], j), compat.as_text(k))
568 self.assertAllEqual("%s:%d" % (files[i], j), compat.as_text(k))
640 self.assertTrue(compat.as_text(k).startswith("%s:" % files[i]))
689 self.assertTrue(compat.as_text(k).startswith("%s:" % files[i]))
706 self.assertTrue(compat.as_text(k).startswith("%s:" % files[i]))
  /external/tensorflow/tensorflow/python/util/
compat.py 64 def as_text(bytes_or_text, encoding='utf-8'): function
89 tf_export('compat.as_text')(as_text)
91 as_str = as_text
93 tf_export('compat.as_text', 'compat.as_str')(as_text)
  /external/tensorflow/tensorflow/python/saved_model/
utils_impl.py 190 compat.as_text(export_dir),
191 compat.as_text(constants.VARIABLES_DIRECTORY))
197 compat.as_text(get_variables_dir(export_dir)),
198 compat.as_text(constants.VARIABLES_FILENAME))
214 compat.as_text(export_dir),
215 compat.as_text(constants.ASSETS_DIRECTORY))
builder_impl.py 391 def save(self, as_text=False):
398 as_text: Writes the SavedModel protocol buffer in text format to disk.
406 if as_text:
416 tf_logging.info("SavedModel written to: %s", compat.as_text(path))
765 compat.as_text(assets_destination_dir))
    [all...]
saved_model_test.py 97 compat.as_text(actual_asset_contents))
432 builder.save(as_text=True)
463 builder.save(as_text=True)
    [all...]
  /external/tensorflow/tensorflow/python/framework/
graph_io.py 31 def write_graph(graph_or_graph_def, logdir, name, as_text=True):
34 The graph is written as a text proto unless `as_text` is `False`.
55 as_text: If `True`, writes the graph as an ASCII proto.
69 if as_text:
meta_graph.py     [all...]
op_def_library.py 706 (key, op_type_name, compat.as_text(attr_value.s),
707 '", "'.join(map(compat.as_text,
716 (key, op_type_name, compat.as_text(x),
717 '", "'.join(map(compat.as_text,
errors_impl.py 547 compat.as_text(c_api.TF_Message(self.status.status)),
  /external/tensorflow/tensorflow/python/keras/saving/
saved_model.py 51 as_text=False,
99 as_text: bool, `False` by default. Whether to write the `SavedModel` proto
118 _save_v1_format(model, saved_model_path, custom_objects, as_text,
133 compat.as_text(constants.SAVED_MODEL_FILENAME_JSON))
145 def _save_v1_format(model, path, custom_objects, as_text, input_signature):
199 builder.save(as_text)
397 compat.as_text(saved_model_path),
398 compat.as_text(constants.VARIABLES_DIRECTORY),
399 compat.as_text(constants.VARIABLES_FILENAME))
  /external/tensorflow/tensorflow/python/distribute/cluster_resolver/
tpu_cluster_resolver.py 373 master = compat.as_text(self._tpu).split(_ENDPOINTS_SEPARATOR)[0]
413 self._project, self._zone, compat.as_text(self._tpu))
420 (compat.as_text(self._tpu), response['state']))
439 for tpu in compat.as_text(self._tpu).split(_ENDPOINTS_SEPARATOR):
505 address = compat.as_text(self._requestComputeMetadata(
516 self._coordinator_port = compat.as_text(splits[2])
518 address, compat.as_text(self._coordinator_port))
  /external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
saved_model_export_utils.py 347 compat.as_bytes('temp-{}'.format(compat.as_text(basename))))
408 as_text=False,
427 as_text: whether to write the SavedModel proto in text format.
468 as_text=as_text,
477 as_text=as_text,
492 as_text=False,
516 as_text: whether to write the SavedModel proto in text format.
541 as_text=as_text
    [all...]
saved_model_export_utils_test.py 58 as_text=False,
682 as_text=False,
    [all...]
  /external/tensorflow/tensorflow/contrib/model_pruning/python/
strip_pruning_vars.py 71 graph_io.write_graph(final_graph_def, output_dir, filename, as_text=False)
  /external/tensorflow/tensorflow/python/client/
events_writer_test.py 38 filename = compat.as_text(writer.FileName())
  /external/tensorflow/tensorflow/contrib/session_bundle/
exporter.py 281 tmp_export_dir = compat.as_text(export_dir) + "-tmp"
287 compat.as_text(tmp_export_dir),
288 compat.as_text(constants.EXPORT_BASE_NAME)),
  /external/tensorflow/tensorflow/python/training/
saver.py     [all...]
  /external/tensorflow/tensorflow/core/platform/
env_test.cc 128 string as_text; local
129 EXPECT_TRUE(protobuf::TextFormat::PrintToString(proto, &as_text));
130 TF_EXPECT_OK(WriteStringToFile(env_, filename, as_text));
  /external/tensorflow/tensorflow/examples/speech_commands/
freeze.py 175 as_text=False)
  /external/tensorflow/tensorflow/python/debug/lib/
grpc_debug_server.py 250 compat.as_text(value.metadata.plugin_data.content))
grpc_debug_test_server.py 204 content = json.loads(compat.as_text(summary_metadata.plugin_data.content))
  /external/tensorflow/tensorflow/python/tools/
freeze_graph_test.py 159 builder.save(as_text=True)
  /external/tensorflow/tensorflow/lite/python/
op_hint.py 748 aggregation = _compat.as_text(attr[OpHint.FUNCTION_AGGREGATE_ATTR].s)
752 _compat.as_text(attr[OpHint.CHILDREN_INPUTS_MAPPINGS].s))
    [all...]
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
estimator.py     [all...]

Completed in 838 milliseconds

1 2