Home
last modified time | relevance | path

Searched refs:assert_same_structure (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/python/data/util/
Dnest_test.py175 nest.assert_same_structure(structure1, structure2)
176 nest.assert_same_structure("abc", 1.0)
177 nest.assert_same_structure("abc", np.array([0, 1]))
178 nest.assert_same_structure("abc", constant_op.constant([0, 1]))
182 nest.assert_same_structure(structure1, structure_different_num_elements)
186 nest.assert_same_structure((0, 1), np.array([0, 1]))
190 nest.assert_same_structure(0, (0, 1))
194 nest.assert_same_structure(structure1, structure_different_nesting)
198 self.assertRaises(TypeError, nest.assert_same_structure, (0, 1),
201 nest.assert_same_structure(named_type_0(3, 4), named_type_0("a", "b"))
[all …]
Dnest.py106 def assert_same_structure(nest1, nest2, check_types=True): function
241 assert_same_structure(structure[0], other, check_types=check_types)
Dsparse_test.py326 nest.assert_same_structure(expected, actual)
356 nest.assert_same_structure(expected, actual)
Dstructure.py329 nest.assert_same_structure(self._nested_structure,
/external/tensorflow/tensorflow/python/util/
Dnest_test.py289 nest.assert_same_structure(structure1, structure2)
290 nest.assert_same_structure("abc", 1.0)
291 nest.assert_same_structure("abc", np.array([0, 1]))
292 nest.assert_same_structure("abc", constant_op.constant([0, 1]))
306 nest.assert_same_structure(structure1, structure_different_num_elements)
316 nest.assert_same_structure([0, 1], np.array([0, 1]))
326 nest.assert_same_structure(0, [0, 1])
328 self.assertRaises(TypeError, nest.assert_same_structure, (0, 1), [0, 1])
334 nest.assert_same_structure(structure1, structure_different_nesting)
336 self.assertRaises(TypeError, nest.assert_same_structure, (0, 1),
[all …]
Dnest.py252 def assert_same_structure(nest1, nest2, check_types=True, function
499 assert_same_structure(structure[0], other, check_types=check_types,
/external/tensorflow/tensorflow/python/framework/
Dcomposite_tensor_test.py93 nest.assert_same_structure(st1, st2, expand_composites=False)
94 nest.assert_same_structure(st1, st2, expand_composites=True)
95 nest.assert_same_structure(st1, test, expand_composites=False)
97 nest.assert_same_structure(st1, test, expand_composites=True)
Dfunc_graph.py777 nest.assert_same_structure(n1, n2)
/external/tensorflow/tensorflow/python/data/ops/
Diterator_ops.py189 nest.assert_same_structure(output_types, output_shapes)
277 nest.assert_same_structure(output_types, output_shapes)
347 nest.assert_same_structure(self.output_types, dataset_output_types)
348 nest.assert_same_structure(self.output_shapes, dataset_output_shapes)
/external/tensorflow/tensorflow/python/ops/
Drnn.py259 nest.assert_same_structure(state, new_state)
277 nest.assert_same_structure(state, new_state)
1109 nest.assert_same_structure(initial_state, cell.state_size)
1165 nest.assert_same_structure(state, cell_state)
1166 nest.assert_same_structure(cell.output_size, next_output)
1173 nest.assert_same_structure(state, next_state)
1174 nest.assert_same_structure(current_input, next_input)
1175 nest.assert_same_structure(emit_ta, emit_output)
Dmap_fn.py258 nest.assert_same_structure(dtype or elems, packed_fn_values)
Dwhile_v2.py77 nest.assert_same_structure(orig_loop_vars, shape_invariants)
157 nest.assert_same_structure(list(outputs), list(orig_loop_vars))
Dcond_v2.py580 nest.assert_same_structure(true_graph.structured_outputs,
Dfunctional_ops.py455 nest.assert_same_structure(
Dcontrol_flow_ops.py406 nest.assert_same_structure(inputs[0], v, expand_composites=True)
1988 nest.assert_same_structure(orig_res_t, orig_res_f,
2946 nest.assert_same_structure(list(packed_vars_for_body), list(body_result),
3461 nest.assert_same_structure(loop_vars, shape_invariants,
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Ddecoder.py408 nest.assert_same_structure(state, decoder_state)
409 nest.assert_same_structure(outputs_ta, next_outputs)
410 nest.assert_same_structure(inputs, next_inputs)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.nest.pbtxt4 name: "assert_same_structure"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.nest.pbtxt4 name: "assert_same_structure"
/external/tensorflow/tensorflow/python/saved_model/
Dsignature_serialization.py139 nest.assert_same_structure(sequence_flat, sequence)
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtest_base.py88 nest.assert_same_structure(result_values[i], expected_values[i])
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_generator_test.py381 nest.assert_same_structure(outputs, inputs)
/external/tensorflow/tensorflow/python/tpu/
Dtpu.py753 nest.assert_same_structure(inputs[0], inputs[i])
801 nest.assert_same_structure(inputs[0], maximum_shapes, check_types=False)
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dstate_management_test.py306 nest.assert_same_structure(test_start_state, end_state)
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py1543 nest.assert_same_structure(out, expected)
1555 nest.assert_same_structure(out, expected)
1566 nest.assert_same_structure(out, expected)
1590 nest.assert_same_structure(out, expected)
1600 nest.assert_same_structure(out, expected)
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dbatching.py535 nest.assert_same_structure(output_types, output_shapes)

12