/external/tensorflow/tensorflow/python/distribute/ |
D | shared_variable_creator.py | 68 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/ |
D | device_name_utils_test.cc | 470 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 …]
|
D | device_name_utils.cc | 218 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()
|
D | device_name_utils.h | 98 string* canonical_name);
|
/external/tensorflow/tensorflow/python/framework/ |
D | device_test.py | 138 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(
|
D | graph_util_impl.py | 209 canonical_name = input_name + ":0" 211 canonical_name = input_name 212 tensor = graph.get_tensor_by_name(canonical_name)
|
D | device.py | 254 def canonical_name(device): function
|
D | test_util.py | 2519 device1 = pydev.canonical_name(device1) 2520 device2 = pydev.canonical_name(device2)
|
/external/tensorflow/tensorflow/python/autograph/core/ |
D | naming.py | 79 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/ |
D | generate_v2_renames_map.py | 157 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/ |
D | collective_ops.py | 48 if not device.canonical_name(t.device): 77 if not device.canonical_name(t.device): 119 if not device.canonical_name(t.device):
|
D | nccl_ops.py | 264 if not device.canonical_name(tensor.device):
|
D | session_ops.py | 125 return pydev.canonical_name(handle_str.split(";")[-1])
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_export.py | 123 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/ |
D | resolver_query_base.hpp | 31 canonical_name = ASIO_OS_DEF(AI_CANONNAME), enumerator
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_gen_lib.cc | 521 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/ |
D | http_utils.cc | 419 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/ |
D | op_generator.cc | 388 op_class.canonical_name() + "}"); in RenderOptionsClass() 459 ClassOf(op.endpoints().front(), base_package).canonical_name() + in GenerateOp()
|
D | java_defs.h | 131 const string canonical_name() const { in canonical_name() function
|
D | source_writer.cc | 358 imports_.insert(type.canonical_name()); in DoVisit()
|
/external/tensorflow/tensorflow/python/eager/ |
D | context.py | 322 self._context_devices.append(pydev.canonical_name(dev_name))
|
/external/tensorflow/tensorflow/python/training/ |
D | saver.py | 407 pydev.canonical_name(spec.tensor.device) for spec in saveable.specs)
|
/external/tensorflow/tensorflow/python/client/ |
D | session.py | 588 self._name = device.canonical_name(name)
|