/external/tensorflow/tensorflow/python/data/util/ |
D | nest.py | 82 def assert_same_structure(nest1, nest2, check_types=True): argument 101 _pywrap_utils.AssertSameStructureForData(nest1, nest2, check_types) 215 check_types = check_types_dict["check_types"] 217 check_types = True 220 assert_same_structure(structure[0], other, check_types=check_types) 240 def assert_shallow_structure(shallow_tree, input_tree, check_types=True): argument 282 if check_types and not isinstance(input_tree, type(shallow_tree)): 294 if check_types and isinstance(shallow_tree, _collections_abc.Mapping): 305 check_types=check_types)
|
D | nest_test.py | 238 nest.assert_same_structure(structure1, structure2, check_types=False) 239 nest.assert_same_structure(structure1, structure1_list, check_types=False) 248 check_types=False) 250 structure1_list, structure2_list, check_types=False) 285 check_types=False) 291 nest.map_structure(lambda x: None, structure1, check_types=False, foo="a") 311 nest.assert_shallow_structure(inp_ab2, inp_ab1, check_types=False)
|
/external/tensorflow/tensorflow/python/ops/ |
D | op_selector.py | 76 def get_unique_graph(tops, check_types=None, none_if_empty=False): argument 96 if check_types is None: 97 check_types = (ops.Operation, ops.Tensor) 98 elif not is_iterable(check_types): 99 check_types = (check_types,) 102 if not isinstance(op, check_types): 104 t) for t in check_types]), type(op))) 156 check_types = None if ignore_ops else ops.Tensor 157 get_unique_graph(ts, check_types=check_types) 221 check_types = None if ignore_ts else ops.Operation [all …]
|
D | while_v2.py | 207 nest.assert_same_structure(outputs, orig_loop_vars, check_types=False, 214 nest.assert_same_structure(vars1, vars2, check_types=False,
|
/external/tensorflow/tensorflow/python/util/ |
D | nest.py | 477 def assert_same_structure(nest1, nest2, check_types=True, argument 565 check_types = bool(check_types) 568 _pywrap_utils.AssertSameStructure(nest1, nest2, check_types, 901 check_types = kwargs.pop("check_types", True) 910 assert_same_structure(structure[0], other, check_types=check_types, 1034 check_types=True, argument 1087 if check_types and not isinstance(input_tree, shallow_type): 1156 check_types=check_types, 1161 def flatten_up_to(shallow_tree, input_tree, check_types=True, argument 1242 check_types=check_types, [all …]
|
D | nest_test.py | 420 nest.assert_same_structure(structure1, structure2, check_types=False) 421 nest.assert_same_structure(structure1, structure1_list, check_types=False) 518 check_types=False) 522 check_types=False) 528 nest.map_structure(lambda x: None, structure1, check_types=False, foo="a") 596 nest.assert_shallow_structure(inp_ab2, inp_ab1, check_types=False) 613 nest.assert_shallow_structure(inp_shallow, inp_deep, check_types=False) 614 nest.assert_shallow_structure(inp_shallow, inp_deep, check_types=True) 620 nest.assert_shallow_structure(inp_shallow, inp_deep, check_types=False) 621 nest.assert_shallow_structure(inp_shallow, inp_deep, check_types=True) [all …]
|
D | util_wrapper.cc | 206 [](const py::handle& o1, const py::handle& o2, bool check_types, in PYBIND11_MODULE() 209 o1.ptr(), o2.ptr(), check_types, expand_composites); in PYBIND11_MODULE() 271 [](const py::handle& o1, const py::handle& o2, bool check_types) { in PYBIND11_MODULE() argument 273 o1.ptr(), o2.ptr(), check_types); in PYBIND11_MODULE()
|
D | util.h | 198 PyObject* AssertSameStructure(PyObject* o1, PyObject* o2, bool check_types, 222 bool check_types);
|
D | util.cc | 733 PyObject* o1, PyObject* o2, bool check_types, string* error_msg, in AssertSameStructureHelper() argument 758 if (check_types) { in AssertSameStructureHelper() 917 v1.get(), v2.get(), check_types, error_msg, is_type_error, in AssertSameStructureHelper() 1102 PyObject* AssertSameStructure(PyObject* o1, PyObject* o2, bool check_types, in AssertSameStructure() argument 1111 AssertSameStructureHelper(o1, o2, check_types, &error_msg, &is_type_error, in AssertSameStructure() 1133 bool check_types) { in AssertSameStructureForData() argument 1136 AssertSameStructureHelper(o1, o2, check_types, &error_msg, &is_type_error, in AssertSameStructureForData()
|
/external/python/bumble/ |
D | tasks.py | 153 def check_types(ctx): function 167 call(check_types), 178 project_tasks.add_task(check_types, name="check-types")
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/kprobe/ |
D | kprobe_args_type.tc | 10 check_types() { # s-type u-type x-type bf-type width 39 check_types $ARGS $width
|
/external/clang/test/CXX/expr/expr.unary/expr.sizeof/ |
D | p5-0x.cpp | 13 int check_types[count_types<short, int, long>::value == 3? 1 : -1]; variable
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.nest.pbtxt | 5 …argspec: "args=[\'nest1\', \'nest2\', \'check_types\', \'expand_composites\'], varargs=None, keywo…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.nest.pbtxt | 5 …argspec: "args=[\'nest1\', \'nest2\', \'check_types\', \'expand_composites\'], varargs=None, keywo…
|
D | tensorflow.__internal__.nest.pbtxt | 5 …argspec: "args=[\'shallow_tree\', \'input_tree\', \'check_types\', \'expand_composites\'], varargs…
|
/external/tensorflow/tensorflow/python/framework/ |
D | composite_tensor_test.py | 253 check_types=True): argument 256 s1, s2, expand_composites=True, check_types=check_types)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | compile_utils.py | 368 self._metrics = nest.flatten_up_to(y_pred, self._metrics, check_types=False) 370 y_pred, self._weighted_metrics, check_types=False)
|
/external/tensorflow/tensorflow/python/eager/ |
D | function_spec.py | 613 check_types=False) # lists are convert to tuples for `tf.data`.
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu.py | 1376 nest.assert_same_structure(inputs[0], maximum_shapes, check_types=False) 1396 check_types=False)
|
/external/tensorflow/tensorflow/python/trackable/ |
D | data_structures_test.py | 725 check_types=True))
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | dataset_ops.py | 5322 def check_types(component_spec): function 5329 nest.map_structure(check_types, input_dataset.element_spec)
|