Home
last modified time | relevance | path

Searched refs:canonical_name (Results 1 – 22 of 22) 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/python/framework/
Ddevice_test.py59 device.canonical_name("/job:foo/replica:0"))
61 device.canonical_name("/replica:0/job:foo"))
64 device.canonical_name("/job:foo/replica:0/task:0"))
66 device.canonical_name("/job:foo/task:0/replica:0"))
69 device.canonical_name("/device:CPU:0"))
71 device.canonical_name("/device:GPU:2"))
74 device.canonical_name(
77 device.canonical_name(
Dgraph_util_impl.py232 canonical_name = input_name + ":0"
234 canonical_name = input_name
235 tensor = graph.get_tensor_by_name(canonical_name)
Ddevice.py50 def canonical_name(device): function
Dtest_util.py2876 device1 = pydev.canonical_name(device1)
2877 device2 = pydev.canonical_name(device2)
/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc534 string canonical_name; in TEST() local
539 "/job:foo/replica:10/task:0/device:CPU:1", basename, &canonical_name)); in TEST()
540 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:1", canonical_name); in TEST()
542 "/job:foo/task:0/replica:10/device:CPU:1", basename, &canonical_name)); in TEST()
543 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:1", canonical_name); in TEST()
545 "/job:foo/task:0/replica:10/cpu:1", basename, &canonical_name)); in TEST()
546 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:1", canonical_name); in TEST()
548 &canonical_name)); in TEST()
549 EXPECT_EQ("/job:foo/replica:10/task:0/device:CPU:0", canonical_name); in TEST()
551 "/job:foo/task:0/replica/cpu:1", basename, &canonical_name); in TEST()
[all …]
Ddevice_name_utils.cc208 string* canonical_name) { in CanonicalizeDeviceName() argument
209 *canonical_name = ""; in CanonicalizeDeviceName()
225 *canonical_name = ParsedNameToString(parsed_name); in CanonicalizeDeviceName()
230 *canonical_name = ParsedNameToString(parsed_name); in CanonicalizeDeviceName()
Ddevice_name_utils.h106 string* canonical_name);
/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.py162 def get_rename_line(name, canonical_name): argument
163 return ' \'tf.%s\': \'tf.%s\'' % (name, canonical_name)
182 get_rename_line(name, canonical_name)
183 for name, canonical_name in all_renames
/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/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/core/framework/
Dop_gen_lib.cc523 const string canonical_name = api_def.endpoint(0).name(); in UpdateDocs() local
524 if (api_def.graph_op_name() != canonical_name) { in UpdateDocs()
525 RenameInDocs(api_def.graph_op_name(), canonical_name, &api_def); in UpdateDocs()
/external/tensorflow/tensorflow/python/ops/
Dnccl_ops.py264 if not device.canonical_name(tensor.device):
Dsession_ops.py124 return pydev.canonical_name(handle_str.split(";")[-1])
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_generator.cc391 op_class.canonical_name() + "}"); in RenderOptionsClass()
462 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/training/
Dsaver.py404 pydev.canonical_name(spec.device) for spec in saveable.specs)
/external/tensorflow/tensorflow/python/client/
Dsession.py599 self._name = device.canonical_name(name)
/external/tensorflow/tensorflow/python/eager/
Dcontext.py473 context_devices.append(pydev.canonical_name(dev_name))