MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testCellsBuild

Method testCellsBuild

tensorflow/python/kernel_tests/rnn_test.py:351–361  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

349
350 @test_util.run_in_graph_and_eager_modes
351 def testCellsBuild(self):
352 f32 = dtypes.float32
353 f64 = dtypes.float64
354 self._assert_cell_builds(rnn_cell_impl.BasicRNNCell, f32, 5, 7, 3)
355 self._assert_cell_builds(rnn_cell_impl.BasicRNNCell, f64, 5, 7, 3)
356 self._assert_cell_builds(rnn_cell_impl.BasicLSTMCell, f32, 5, 7, 3)
357 self._assert_cell_builds(rnn_cell_impl.BasicLSTMCell, f64, 5, 7, 3)
358 self._assert_cell_builds(rnn_cell_impl.GRUCell, f32, 5, 7, 3)
359 self._assert_cell_builds(rnn_cell_impl.GRUCell, f64, 5, 7, 3)
360 self._assert_cell_builds(rnn_cell_impl.LSTMCell, f32, 5, 7, 3)
361 self._assert_cell_builds(rnn_cell_impl.LSTMCell, f64, 5, 7, 3)
362
363 @test_util.run_deprecated_v1
364 def testRNNWithKerasSimpleRNNCell(self):

Callers

nothing calls this directly

Calls 1

_assert_cell_buildsMethod · 0.95

Tested by

no test coverage detected