Searched refs:new_layer (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/keras/layers/ |
D | serialization_test.py | 40 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 …]
|
D | gru_v2_test.py | 214 cloned_model, new_layer = build_model() 219 self.assertAllClose(layer.get_weights(), new_layer.get_weights())
|
D | lstm_v2_test.py | 504 cloned_model, new_layer = build_model() 509 self.assertAllClose(layer.get_weights(), new_layer.get_weights())
|
/external/tensorflow/tensorflow/python/keras/ |
D | models.py | 139 new_layer = _clone_layer(layer) 140 layer_map[layer] = new_layer 141 layer = new_layer
|
/external/webrtc/webrtc/video/ |
D | video_send_stream_tests.cc | 1936 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()
|