Home
last modified time | relevance | path

Searched refs:new_layer (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/keras/layers/
Dserialization_test.py40 new_layer = keras.layers.deserialize(config)
41 self.assertEqual(new_layer.activation, keras.activations.relu)
42 self.assertEqual(new_layer.bias_regularizer.__class__,
45 self.assertEqual(new_layer.kernel_initializer.__class__,
48 self.assertEqual(new_layer.kernel_initializer.__class__,
50 self.assertEqual(new_layer.units, 3)
59 new_layer = keras.layers.deserialize(config)
60 self.assertEqual(new_layer.momentum, 0.9)
62 self.assertIsInstance(new_layer, batchnorm_v2.BatchNormalization)
63 self.assertEqual(new_layer.beta_initializer.__class__,
[all …]
Dgru_v2_test.py214 cloned_model, new_layer = build_model()
219 self.assertAllClose(layer.get_weights(), new_layer.get_weights())
Dlstm_v2_test.py504 cloned_model, new_layer = build_model()
509 self.assertAllClose(layer.get_weights(), new_layer.get_weights())
/external/tensorflow/tensorflow/python/keras/
Dmodels.py139 new_layer = _clone_layer(layer)
140 layer_map[layer] = new_layer
141 layer = new_layer
/external/webrtc/webrtc/video/
Dvideo_send_stream_tests.cc1936 bool new_layer = vp9.spatial_idx != last_vp9_.spatial_idx; in VerifySpatialIdxWithinFrame() local
1937 EXPECT_EQ(new_layer, vp9.beginning_of_frame); in VerifySpatialIdxWithinFrame()
1938 EXPECT_EQ(new_layer, last_vp9_.end_of_frame); in VerifySpatialIdxWithinFrame()
1939 EXPECT_EQ(new_layer ? last_vp9_.spatial_idx + 1 : last_vp9_.spatial_idx, in VerifySpatialIdxWithinFrame()