/external/tensorflow/tensorflow/python/util/ |
D | nest.py | 252 def assert_same_structure(nest1, nest2, check_types=True, argument 287 _pywrap_tensorflow.AssertSameStructure(nest1, nest2, check_types, 489 check_types = True 492 check_types = kwargs.pop("check_types", check_types) 499 assert_same_structure(structure[0], other, check_types=check_types, 624 def assert_shallow_structure(shallow_tree, input_tree, check_types=True): argument 668 if check_types and not isinstance(input_tree, type(shallow_tree)): 699 check_types=check_types) 702 def flatten_up_to(shallow_tree, input_tree, check_types=True): argument 773 assert_shallow_structure(shallow_tree, input_tree, check_types) [all …]
|
D | nest_test.py | 362 nest.assert_same_structure(structure1, structure2, check_types=False) 363 nest.assert_same_structure(structure1, structure1_list, check_types=False) 451 check_types=False) 455 check_types=False) 461 nest.map_structure(lambda x: None, structure1, check_types=False, foo="a") 528 nest.assert_shallow_structure(inp_ab2, inp_ab1, check_types=False) 545 nest.assert_shallow_structure(inp_shallow, inp_deep, check_types=False) 546 nest.assert_shallow_structure(inp_shallow, inp_deep, check_types=True) 1084 def testMapWithPathsCompatibleStructures(self, s1, s2, check_types, expected): argument 1088 check_types=check_types) [all …]
|
D | util.h | 145 PyObject* AssertSameStructure(PyObject* o1, PyObject* o2, bool check_types, 202 bool check_types);
|
D | util.cc | 646 PyObject* o1, PyObject* o2, bool check_types, string* error_msg, in AssertSameStructureHelper() argument 670 if (check_types) { in AssertSameStructureHelper() 768 v1.get(), v2.get(), check_types, error_msg, is_type_error, in AssertSameStructureHelper() 913 PyObject* AssertSameStructure(PyObject* o1, PyObject* o2, bool check_types, in AssertSameStructure() argument 921 AssertSameStructureHelper(o1, o2, check_types, &error_msg, &is_type_error, in AssertSameStructure() 942 bool check_types) { in AssertSameStructureForData() argument 945 AssertSameStructureHelper(o1, o2, check_types, &error_msg, &is_type_error, in AssertSameStructureForData()
|
/external/tensorflow/tensorflow/python/data/util/ |
D | nest.py | 106 def assert_same_structure(nest1, nest2, check_types=True): argument 125 _pywrap_tensorflow.AssertSameStructureForData(nest1, nest2, check_types) 236 check_types = check_types_dict["check_types"] 238 check_types = True 241 assert_same_structure(structure[0], other, check_types=check_types) 261 def assert_shallow_structure(shallow_tree, input_tree, check_types=True): argument 303 if check_types and not isinstance(input_tree, type(shallow_tree)): 315 if check_types and isinstance(shallow_tree, dict): 326 check_types=check_types)
|
D | nest_test.py | 219 nest.assert_same_structure(structure1, structure2, check_types=False) 220 nest.assert_same_structure(structure1, structure1_list, check_types=False) 229 check_types=False) 231 structure1_list, structure2_list, check_types=False) 265 check_types=False) 271 nest.map_structure(lambda x: None, structure1, check_types=False, foo="a") 290 nest.assert_shallow_structure(inp_ab2, inp_ab1, check_types=False)
|
/external/tensorflow/tensorflow/contrib/graph_editor/ |
D | util.py | 186 def get_unique_graph(tops, check_types=None, none_if_empty=False): argument 206 if check_types is None: 207 check_types = (tf_ops.Operation, tf_ops.Tensor) 208 elif not is_iterable(check_types): 209 check_types = (check_types,) 212 if not isinstance(op, check_types): 214 t) for t in check_types]), type(op))) 251 check_types = None if ignore_ts else tf_ops.Operation 252 get_unique_graph(ops, check_types=check_types) 300 check_types = None if ignore_ops else tf_ops.Tensor [all …]
|
D | transform.py | 735 graph = util.get_unique_graph(flatten_target_ts, check_types=(tf_ops.Tensor))
|
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/kprobe/ |
D | kprobe_args_type.tc | 13 check_types() { # s-type u-type x-type bf-type width 42 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…
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu.py | 801 nest.assert_same_structure(inputs[0], maximum_shapes, check_types=False)
|