Home
last modified time | relevance | path

Searched refs:new_c (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner_test.cc82 const NodeDef& new_c = output.node(2); in TEST_F() local
83 EXPECT_EQ(NodeName(c.name()), new_c.name()); in TEST_F()
125 const NodeDef& new_c = output.node(2); in TEST_F() local
126 EXPECT_EQ(NodeName(c.name()), new_c.name()); in TEST_F()
136 EXPECT_EQ(1, new_c.input_size()); in TEST_F()
137 EXPECT_EQ(NodeName(b.name()), new_c.input(0)); in TEST_F()
277 const NodeDef& new_c = output.node(2); in TEST_F() local
278 EXPECT_EQ(NodeName(c.name()), new_c.name()); in TEST_F()
364 const NodeDef& new_c = output.node(2); in TEST_F() local
369 EXPECT_EQ("c", new_c.name()); in TEST_F()
[all …]
Dmemory_optimizer_test.cc277 const NodeDef& new_c = output.node(4); in TEST_F() local
278 EXPECT_EQ(NodeName(c.name()), new_c.name()); in TEST_F()
279 EXPECT_EQ("^swap_out_e_0", new_c.input(1)); in TEST_F()
Dconstant_folding_test.cc969 const NodeDef& new_c = output.node(0); in TEST_F() local
970 EXPECT_EQ("e", new_c.name()); in TEST_F()
971 EXPECT_EQ("Const", new_c.op()); in TEST_F()
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Drnn_cells.py160 new_c = add(
163 new_h = multiply(self._activation(new_c), sigmoid(o))
166 new_state = tf_rnn.LSTMStateTuple(new_c, new_h)
168 new_state = array_ops.concat([new_c, new_h], 1)
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Drnn_cell.py1456 new_c = (
1459 new_c = self._norm(new_c, "state", dtype=dtype)
1460 new_h = self._activation(new_c) * math_ops.sigmoid(o)
1462 new_state = rnn_cell_impl.LSTMStateTuple(new_c, new_h)
1607 new_c = l3_0_pre # create new cell
1618 new_state = rnn_cell_impl.LSTMStateTuple(new_c, new_m)
2022 new_c = (c_prev * forget_gate + input_gate * new_input)
2026 in_out_gate.append(new_c)
2033 new_h = math_ops.tanh(new_c) * output_gate
2057 new_c = k * new_c + (1 - k) * c_prev
[all …]
/external/python/cpython2/Lib/test/
Dtest_cookielib.py1635 new_c = MozillaCookieJar(filename,
1637 new_c.load(ignore_discard=ignore_discard)
1641 return new_c
1643 new_c = save_and_restore(c, True)
1644 self.assertEqual(len(new_c), 6) # none discarded
1645 self.assertIn("name='foo1', value='bar'", repr(new_c))
1647 new_c = save_and_restore(c, False)
1648 self.assertEqual(len(new_c), 4) # 2 of them discarded on save
1649 self.assertIn("name='foo1', value='bar'", repr(new_c))
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py1675 new_c = MozillaCookieJar(filename,
1677 new_c.load(ignore_discard=ignore_discard)
1681 return new_c
1683 new_c = save_and_restore(c, True)
1684 self.assertEqual(len(new_c), 6) # none discarded
1685 self.assertIn("name='foo1', value='bar'", repr(new_c))
1687 new_c = save_and_restore(c, False)
1688 self.assertEqual(len(new_c), 4) # 2 of them discarded on save
1689 self.assertIn("name='foo1', value='bar'", repr(new_c))
/external/tensorflow/tensorflow/python/keras/layers/
Drecurrent_v2.py632 last_output, outputs, new_h, new_c, runtime = cudnn_lstm(
636 last_output, outputs, new_h, new_c, runtime = standard_lstm(
653 last_output, outputs, new_h, new_c, runtime = defun_standard_lstm(
662 states = [new_h, new_c]
/external/autotest/site_utils/admin/scripts/
Dcheck_db.out193 new_c 1652
/external/tensorflow/tensorflow/python/ops/
Drnn_cell_impl.py779 new_c = add(multiply(c, sigmoid(add(f, forget_bias_tensor))),
781 new_h = multiply(self._activation(new_c), sigmoid(o))
784 new_state = LSTMStateTuple(new_c, new_h)
786 new_state = array_ops.concat([new_c, new_h], 1)
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Drnn_cell_test.py1020 new_c, new_h = res[1]
1021 self.assertEqual(new_c.shape[0], batch_size)
1022 self.assertEqual(new_c.shape[1], num_units)
1071 new_c, new_h = res[1]
1072 self.assertEqual(new_c.shape[0], batch_size)
1073 self.assertEqual(new_c.shape[1], num_units)
/external/tensorflow/tensorflow/python/framework/
Dfunction_test.py1506 new_c = math_ops.sigmoid(f_g) * cprev + math_ops.sigmoid(
1508 new_c = math_ops.maximum(math_ops.minimum(new_c, 50.0), -50.0)
1509 new_m = math_ops.sigmoid(o_g) * math_ops.tanh(new_c)
1510 return new_m, new_c
Dimporter_test.py204 outer, inner, new_c, outer_inner, outer_inner_c = (
217 self.assertEqual(new_c.name, "c")