/external/tensorflow/tensorflow/python/framework/ |
H A D | 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:
|
H A D | op_def_library.py | 689 (key, op_type_name, compat.as_text(attr_value.s), 690 '", "'.join(map(compat.as_text, 699 (key, op_type_name, compat.as_text(x), 700 '", "'.join(map(compat.as_text,
|
H A D | errors_impl.py | 515 compat.as_text(c_api.TF_Message(self.status.status)),
|
H A D | meta_graph.py | 813 as_text=False, 836 as_text: If `True`, writes the `MetaGraphDef` as an ASCII proto. 942 as_text=as_text)
|
/external/tensorflow/tensorflow/python/estimator/ |
H A D | exporter.py | 78 as_text=False, 94 as_text: whether to write the SavedModel proto in text format. Defaults to 106 self._as_text = as_text 121 as_text=self._as_text, 139 as_text=False): 154 as_text: whether to write the SavedModel proto in text format. Defaults to 162 assets_extra, as_text) 191 as_text=False, 207 as_text: whether to write the SavedModel proto in text format. Defaults to 218 assets_extra, as_text) [all...] |
H A D | exporter_test.py | 58 as_text=False, 71 as_text=False, 87 as_text=False) 105 as_text=False,
|
H A D | estimator.py | 535 as_text=False, 576 as_text: whether to write the SavedModel proto in text format. 643 builder.save(as_text)
|
/external/tensorflow/tensorflow/python/util/ |
H A D | compat.py | 21 @@as_text 71 @tf_export('compat.as_text') 72 def as_text(bytes_or_text, encoding='utf-8'): function 97 as_str = as_text
|
/external/tensorflow/tensorflow/python/saved_model/ |
H A D | builder_impl.py | 367 compat.as_text(self._export_dir), 368 compat.as_text(constants.VARIABLES_DIRECTORY)) 373 compat.as_text(variables_dir), 374 compat.as_text(constants.VARIABLES_FILENAME)) 416 def save(self, as_text=False): 423 as_text: Writes the SavedModel protocol buffer in text format to disk. 431 if as_text:
|
H A D | saved_model_test.py | 93 compat.as_text(actual_asset_contents)) 387 builder.save(as_text=True) 417 builder.save(as_text=True) 899 builder.save(as_text=True) 961 builder.save(as_text=True)
|
/external/skia/infra/bots/recipe_modules/swarming_client/ |
H A D | api.py | 83 as_text = '.'.join(map(str, step_test_data)) 84 step_test_data_cb = lambda: self.m.raw_io.test_api.stream_output(as_text)
|
/external/skqp/infra/bots/recipe_modules/swarming_client/ |
H A D | api.py | 83 as_text = '.'.join(map(str, step_test_data)) 84 step_test_data_cb = lambda: self.m.raw_io.test_api.stream_output(as_text)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
H A D | saved_model_export_utils.py | 393 as_text=False, 412 as_text: whether to write the SavedModel proto in text format. 453 as_text=as_text, 462 as_text=as_text, 475 as_text=False, 499 as_text: whether to write the SavedModel proto in text format. 524 as_text=as_text, [all...] |
H A D | saved_model_export_utils_test.py | 58 as_text=False, 682 as_text=False,
|
/external/tensorflow/tensorflow/python/client/ |
H A D | events_writer_test.py | 38 filename = compat.as_text(writer.FileName())
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
H A D | 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/examples/saved_model/ |
H A D | saved_model_half_plus_two.py | 107 as_text=False, 113 as_text: Writes the SavedModel protocol buffer in text format to disk. 215 builder.save(as_text) 222 _generate_saved_model_for_half_plus_two(FLAGS.output_dir_pbtxt, as_text=True)
|
/external/tensorflow/tensorflow/core/platform/ |
H A D | env_test.cc | 126 string as_text; local 127 EXPECT_TRUE(protobuf::TextFormat::PrintToString(proto, &as_text)); 128 TF_EXPECT_OK(WriteStringToFile(env_, filename, as_text));
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
H A D | freeze.py | 126 as_text=False)
|
/external/syslinux/com32/tools/ |
H A D | relocs.c | 665 static void emit_relocs(int as_text, int use_real_mode) argument 694 if (as_text) { 748 int as_text, use_real_mode; local 755 as_text = 0; 770 as_text = 1; 806 emit_relocs(as_text, use_real_mode);
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | reader_ops_test.py | 318 self.assertAllEqual("%s:%d" % (files[i], j + 1), compat.as_text(k)) 343 self.assertAllEqual("%s:%d" % (files[i], j + 2), compat.as_text(k)) 505 self.assertAllEqual("%s:%d" % (files[i], j), compat.as_text(k)) 533 self.assertAllEqual("%s:%d" % (files[i], j), compat.as_text(k)) 614 self.assertTrue(compat.as_text(k).startswith("%s:" % files[i])) 672 self.assertTrue(compat.as_text(k).startswith("%s:" % zlib_files[i])) 698 self.assertTrue(compat.as_text(k).startswith("%s:" % gzip_files[i])) 760 self.assertTrue(compat.as_text(k).startswith("%s:" % files[i])) 799 self.assertTrue(compat.as_text(k).startswith("%s:" % fn))
|
/external/tensorflow/tensorflow/python/training/ |
H A D | saver.py | 1693 as_text=False, 1704 as_text: If `True`, writes the meta_graph as an ASCII proto. 1724 as_text=as_text, 1929 as_text=False, 1951 as_text: If `True`, writes the `MetaGraphDef` as an ASCII proto. 1990 as_text=as_text,
|
/external/tensorflow/tensorflow/python/debug/lib/ |
H A D | grpc_debug_server.py | 250 compat.as_text(value.metadata.plugin_data.content))
|
H A D | grpc_debug_test_server.py | 204 content = json.loads(compat.as_text(summary_metadata.plugin_data.content))
|
/external/tensorflow/tensorflow/python/tools/ |
H A D | freeze_graph_test.py | 158 builder.save(as_text=True)
|