/external/tensorflow/tensorflow/python/data/util/ |
D | nest_test.py | 189 nest.assert_same_structure(structure1, structure2) 190 nest.assert_same_structure("abc", 1.0) 191 nest.assert_same_structure("abc", np.array([0, 1])) 192 nest.assert_same_structure("abc", constant_op.constant([0, 1])) 196 nest.assert_same_structure(structure1, structure_different_num_elements) 200 nest.assert_same_structure((0, 1), np.array([0, 1])) 204 nest.assert_same_structure(0, (0, 1)) 208 nest.assert_same_structure(structure1, structure_different_nesting) 212 self.assertRaises(TypeError, nest.assert_same_structure, (0, 1), 215 nest.assert_same_structure(named_type_0(3, 4), named_type_0("a", "b")) [all …]
|
D | nest.py | 77 def assert_same_structure(nest1, nest2, check_types=True): function 212 assert_same_structure(structure[0], other, check_types=check_types)
|
D | sparse_test.py | 329 nest.assert_same_structure(expected, actual) 359 nest.assert_same_structure(expected, actual)
|
D | structure.py | 333 nest.assert_same_structure(element_spec, element) 409 nest.assert_same_structure(spec1, spec2)
|
/external/tensorflow/tensorflow/python/util/ |
D | nest_test.py | 348 nest.assert_same_structure(structure1, structure2) 349 nest.assert_same_structure("abc", 1.0) 350 nest.assert_same_structure("abc", np.array([0, 1])) 351 nest.assert_same_structure("abc", constant_op.constant([0, 1])) 365 nest.assert_same_structure(structure1, structure_different_num_elements) 375 nest.assert_same_structure([0, 1], np.array([0, 1])) 385 nest.assert_same_structure(0, [0, 1]) 387 self.assertRaises(TypeError, nest.assert_same_structure, (0, 1), [0, 1]) 392 nest.assert_same_structure(structure1, structure_different_nesting) 394 self.assertRaises(TypeError, nest.assert_same_structure, (0, 1), [all …]
|
D | nest.py | 438 def assert_same_structure(nest1, nest2, check_types=True, function 860 assert_same_structure(structure[0], other, check_types=check_types,
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_utils.py | 92 nest.assert_same_structure( 95 nest.assert_same_structure( 99 nest.assert_same_structure(
|
/external/tensorflow/tensorflow/python/ops/ |
D | rnn.py | 246 nest.assert_same_structure(zero_output, new_output) 247 nest.assert_same_structure(state, new_state) 266 nest.assert_same_structure(zero_output, new_output) 267 nest.assert_same_structure(state, new_state) 1123 nest.assert_same_structure(initial_state, cell.state_size) 1182 nest.assert_same_structure(state, cell_state) 1183 nest.assert_same_structure(cell.output_size, next_output) 1190 nest.assert_same_structure(state, next_state) 1191 nest.assert_same_structure(current_input, next_input) 1192 nest.assert_same_structure(emit_ta, emit_output)
|
D | functional_ops.py | 648 nest.assert_same_structure(elems if initializer is None else initializer, 854 nest.assert_same_structure(then_out, else_out, expand_composites=True)
|
D | control_flow_ops.py | 421 nest.assert_same_structure(inputs[0], v, expand_composites=True) 1296 nest.assert_same_structure(orig_res_t, orig_res_f, expand_composites=True) 1301 nest.assert_same_structure(orig_res_t, orig_res_f, 2246 nest.assert_same_structure( 2781 nest.assert_same_structure(loop_var_structure, list(loop_vars)) 2798 nest.assert_same_structure(
|
D | map_fn.py | 492 nest.assert_same_structure(fn_output_signature or elems, result_value)
|
D | while_v2.py | 83 nest.assert_same_structure(orig_loop_vars, shape_invariants, 185 nest.assert_same_structure(list(outputs), list(orig_loop_vars),
|
/external/tensorflow/tensorflow/python/framework/ |
D | composite_tensor_test.py | 206 nest.assert_same_structure(s1, s2, expand_composites=expand_composites) 227 nest.assert_same_structure(s1, s2, expand_composites=False) 230 nest.assert_same_structure(s1, s2, expand_composites=True) 410 nest.assert_same_structure(value, spec, expand_composites=True)
|
D | func_graph.py | 314 nest.assert_same_structure(spec, ret_nest, expand_composites=True) 1082 nest.assert_same_structure(n1, n2, expand_composites=True)
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | iterator_ops.py | 203 nest.assert_same_structure(output_types, output_shapes) 277 nest.assert_same_structure(output_types, output_shapes) 335 nest.assert_same_structure(self.output_types, dataset_output_types) 336 nest.assert_same_structure(self.output_shapes, dataset_output_shapes)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.nest.pbtxt | 4 name: "assert_same_structure"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.nest.pbtxt | 4 name: "assert_same_structure"
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | data_structures_test.py | 182 nest.assert_same_structure(l, data_structures.ListWrapper(copy.copy(l))) 504 nest.assert_same_structure(d, data_structures._DictWrapper(d.copy())) 657 nest.assert_same_structure( 679 nest.assert_same_structure(t, m.t) 680 nest.assert_same_structure(m.t, t) 685 nest.assert_same_structure(m.nt, nt) 687 nest.assert_same_structure(m.nt, m.t)
|
/external/tensorflow/tensorflow/python/distribute/ |
D | input_lib_type_spec_test.py | 190 nest.assert_same_structure(element_spec, iter_element_spec) 317 nest.assert_same_structure(element_spec, iter_element_spec) 509 nest.assert_same_structure(x, x._type_spec, expand_composites=True)
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu_embedding_v2.py | 534 nest.assert_same_structure(self._feature_config, gradients) 1251 nest.assert_same_structure(self._feature_config, features) 1256 nest.assert_same_structure(self._feature_config, weights) 1571 nest.assert_same_structure(inputs, feature_config) 1576 nest.assert_same_structure(inputs, weights)
|
D | tpu.py | 1277 nest.assert_same_structure(inputs[0], inputs[i]) 1339 nest.assert_same_structure(inputs[0], maximum_shapes, check_types=False) 1358 nest.assert_same_structure(flat_inputs[0], flat_maximum_shapes,
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | control_flow.py | 294 nest.assert_same_structure(init, entry, expand_composites=True) 295 nest.assert_same_structure(entry, exit_, expand_composites=True) 301 nest.assert_same_structure(init, invariant, expand_composites=False) 360 nest.assert_same_structure(body_var, orelse_var, expand_composites=True)
|
D | control_flow_deprecated_py2.py | 207 nest.assert_same_structure(entry, exit_, expand_composites=True) 213 nest.assert_same_structure(init, invariant, expand_composites=False) 268 nest.assert_same_structure(
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | test_base.py | 143 nest.assert_same_structure(result_values[i], expected_values[i])
|
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/ |
D | rnn_cell_wrapper_impl.py | 376 nest.assert_same_structure(inputs, outputs)
|