/external/tensorflow/tensorflow/python/keras/distribute/ |
D | sharded_variable_test.py | 53 self.assertLen(layer.non_trainable_weights, 2) 54 self.assertEqual(layer.non_trainable_weights[0], [2]) 55 self.assertEqual(layer.non_trainable_weights[1], [3]) 57 layer.trainable_weights + layer.non_trainable_weights) 97 self.assertLen(layer.non_trainable_weights, 2) 98 self.assertEqual(layer.non_trainable_weights[0], [2]) 99 self.assertEqual(layer.non_trainable_weights[1], [3]) 101 layer.trainable_weights + layer.non_trainable_weights)
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | model_subclassing_compiled_test.py | 132 self.assertEqual(len(model.non_trainable_weights), 2) 322 self.assertEqual(len(model.non_trainable_weights), 323 2 + len(model.test_net.non_trainable_weights)) 346 self.assertEqual(len(model.non_trainable_weights), 347 2 + len(model.test_net.non_trainable_weights)) 371 self.assertEqual(len(model.non_trainable_weights), 4) 405 self.assertEqual(len(model.non_trainable_weights), 2)
|
/external/tensorflow/tensorflow/python/keras/saving/ |
D | hdf5_format.py | 299 non_trainable_weights = weights[len(layer.trainable_weights):] 306 num_non_trainable_weights = len(sublayer.non_trainable_weights) 311 non_trainable_weights[:num_non_trainable_weights]), 318 non_trainable_weights = non_trainable_weights[ 898 weights = layer.trainable_weights + layer.non_trainable_weights
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | cudnn_recurrent_test.py | 260 self.assertEqual(len(layer.non_trainable_weights), 0) 263 self.assertEqual(len(layer.non_trainable_weights), 3) 268 self.assertEqual(len(layer.non_trainable_weights), 0)
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics.py | 330 def non_trainable_weights(self): member in Metric 333 non_trainable_weights = self._non_trainable_weights 335 non_trainable_weights += m.non_trainable_weights 337 non_trainable_weights = ( 340 non_trainable_weights += m.weights 341 return self._dedup_weights(non_trainable_weights)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | functional_test.py | 280 self._assertAllIs(network.non_trainable_weights, 281 dense.non_trainable_weights) 297 self._assertAllIs(network.non_trainable_weights, 298 dense.trainable_weights + dense.non_trainable_weights) 308 self.assertListEqual(model.non_trainable_weights, []) 312 self._assertAllIs(model.non_trainable_weights, weights) 316 self.assertListEqual(model.non_trainable_weights, []) 320 self._assertAllIs(model.non_trainable_weights, weights) 328 self.assertListEqual(model.non_trainable_weights, []) 332 self._assertAllIs(model.non_trainable_weights, weights) [all …]
|
D | base_layer.py | 1381 def non_trainable_weights(self): member in Layer 1393 non_trainable_weights = self._non_trainable_weights + children_weights 1396 non_trainable_weights = ( 1399 return self._dedup_weights(non_trainable_weights) 1408 return self.trainable_weights + self.non_trainable_weights 2321 return self.non_trainable_weights
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | data_structures.py | 232 def non_trainable_weights(self): member in TrackableDataStructure 262 return self.trainable_weights + self.non_trainable_weights 270 return self.non_trainable_weights
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | layer_utils.py | 271 non_trainable_count = count_params(model.non_trainable_weights)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.layers.-re-l-u.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-masking.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-thresholded-re-l-u.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-cropping2-d.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-softmax.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-activation.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-activity-regularization.pbtxt | 71 name: "non_trainable_weights"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.layers.-zero-padding2-d.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-masking.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-re-l-u.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-up-sampling3-d.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-flatten.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-alpha-dropout.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-cropping2-d.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-cropping3-d.pbtxt | 71 name: "non_trainable_weights"
|
D | tensorflow.keras.layers.-repeat-vector.pbtxt | 71 name: "non_trainable_weights"
|