/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/python/framework/ |
D | device_test.py | 59 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(
|
D | graph_util_impl.py | 232 canonical_name = input_name + ":0" 234 canonical_name = input_name 235 tensor = graph.get_tensor_by_name(canonical_name)
|
D | device.py | 50 def canonical_name(device): function
|
D | test_util.py | 2876 device1 = pydev.canonical_name(device1) 2877 device2 = pydev.canonical_name(device2)
|
/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils_test.cc | 534 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 …]
|
D | device_name_utils.cc | 208 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()
|
D | device_name_utils.h | 106 string* canonical_name);
|
/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 | 162 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/ |
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/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/core/framework/ |
D | op_gen_lib.cc | 523 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/ |
D | nccl_ops.py | 264 if not device.canonical_name(tensor.device):
|
D | session_ops.py | 124 return pydev.canonical_name(handle_str.split(";")[-1])
|
/external/tensorflow/tensorflow/java/src/gen/cc/ |
D | op_generator.cc | 391 op_class.canonical_name() + "}"); in RenderOptionsClass() 462 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/training/ |
D | saver.py | 404 pydev.canonical_name(spec.device) for spec in saveable.specs)
|
/external/tensorflow/tensorflow/python/client/ |
D | session.py | 599 self._name = device.canonical_name(name)
|
/external/tensorflow/tensorflow/python/eager/ |
D | context.py | 473 context_devices.append(pydev.canonical_name(dev_name))
|