Home
last modified time | relevance | path

Searched refs:canonical_name (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dshared_variable_creator.py68 canonical_name = _canonicalize_variable_name(kwargs.get("name"))
71 if canonical_name not in shared_variable_store:
72 shared_variable_store[canonical_name] = []
73 shared_variable_store[canonical_name].append(v)
80 canonical_name = _canonicalize_variable_name(name)
83 variable_index = variable_scope_access_index.get(canonical_name, 0)
84 v = shared_variable_store[canonical_name][variable_index]
87 variable_scope_access_index[canonical_name] = variable_index + 1
/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc470 string canonical_name; in TEST() local
475 "/job:foo/replica:10/task:0/device:CPU:1", basename, &canonical_name)); in TEST()
476 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:1", canonical_name); in TEST()
478 "/job:foo/task:0/replica:10/device:CPU:1", basename, &canonical_name)); in TEST()
479 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:1", canonical_name); in TEST()
481 "/job:foo/task:0/replica:10/cpu:1", basename, &canonical_name)); in TEST()
482 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:1", canonical_name); in TEST()
484 &canonical_name)); in TEST()
485 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:0", canonical_name); in TEST()
487 "/job:foo/task:0/replica/cpu:1", basename, &canonical_name); in TEST()
[all …]
Ddevice_name_utils.cc218 string* canonical_name) { in CanonicalizeDeviceName() argument
219 *canonical_name = ""; in CanonicalizeDeviceName()
235 *canonical_name = ParsedNameToString(parsed_name); in CanonicalizeDeviceName()
240 *canonical_name = ParsedNameToString(parsed_name); in CanonicalizeDeviceName()
Ddevice_name_utils.h98 string* canonical_name);
/external/tensorflow/tensorflow/python/framework/
Ddevice_test.py138 device.canonical_name("/job:foo/replica:0"))
140 device.canonical_name("/replica:0/job:foo"))
143 device.canonical_name("/job:foo/replica:0/task:0"))
145 device.canonical_name("/job:foo/task:0/replica:0"))
148 device.canonical_name("/device:CPU:0"))
150 device.canonical_name("/device:GPU:2"))
153 device.canonical_name(
156 device.canonical_name(
Dgraph_util_impl.py209 canonical_name = input_name + ":0"
211 canonical_name = input_name
212 tensor = graph.get_tensor_by_name(canonical_name)
Ddevice.py254 def canonical_name(device): function
Dtest_util.py2519 device1 = pydev.canonical_name(device1)
2520 device2 = pydev.canonical_name(device2)
/external/tensorflow/tensorflow/python/autograph/core/
Dnaming.py79 canonical_name = self._as_symbol_name(
81 new_name_root = 'Tf%s' % canonical_name
92 canonical_name = self._as_symbol_name(
94 new_name_root = 'tf__%s' % canonical_name
/external/tensorflow/tensorflow/tools/compatibility/update/
Dgenerate_v2_renames_map.py157 def get_rename_line(name, canonical_name): argument
158 return ' \'tf.%s\': \'tf.%s\'' % (name, canonical_name)
177 get_rename_line(name, canonical_name)
178 for name, canonical_name in all_renames
/external/tensorflow/tensorflow/python/ops/
Dcollective_ops.py48 if not device.canonical_name(t.device):
77 if not device.canonical_name(t.device):
119 if not device.canonical_name(t.device):
Dnccl_ops.py264 if not device.canonical_name(tensor.device):
Dsession_ops.py125 return pydev.canonical_name(handle_str.split(";")[-1])
/external/tensorflow/tensorflow/python/util/
Dtf_export.py123 canonical_name = get_canonical_name(api_names, deprecated_api_names)
124 if canonical_name:
125 return canonical_name
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dresolver_query_base.hpp31 canonical_name = ASIO_OS_DEF(AI_CANONNAME), enumerator
/external/tensorflow/tensorflow/core/framework/
Dop_gen_lib.cc521 const string canonical_name = api_def.endpoint(0).name(); in UpdateDocs() local
522 if (api_def.graph_op_name() != canonical_name) { in UpdateDocs()
523 RenameInDocs(api_def.graph_op_name(), canonical_name, &api_def); in UpdateDocs()
/external/libbrillo/brillo/http/
Dhttp_utils.cc419 std::string canonical_name = name; in GetCanonicalHeaderName() local
421 for (char& c : canonical_name) { in GetCanonicalHeaderName()
433 return canonical_name; in GetCanonicalHeaderName()
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_generator.cc388 op_class.canonical_name() + "}"); in RenderOptionsClass()
459 ClassOf(op.endpoints().front(), base_package).canonical_name() + in GenerateOp()
Djava_defs.h131 const string canonical_name() const { in canonical_name() function
Dsource_writer.cc358 imports_.insert(type.canonical_name()); in DoVisit()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py322 self._context_devices.append(pydev.canonical_name(dev_name))
/external/tensorflow/tensorflow/python/training/
Dsaver.py407 pydev.canonical_name(spec.tensor.device) for spec in saveable.specs)
/external/tensorflow/tensorflow/python/client/
Dsession.py588 self._name = device.canonical_name(name)