Home
last modified time | relevance | path

Searched refs:non_trainable_weights (Results 1 – 25 of 438) sorted by relevance

12345678910>>...18

/external/tensorflow/tensorflow/python/keras/distribute/
Dsharded_variable_test.py53 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/
Dmodel_subclassing_compiled_test.py132 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/
Dhdf5_format.py299 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/
Dcudnn_recurrent_test.py260 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/
Dmetrics.py330 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/
Dfunctional_test.py280 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 …]
Dbase_layer.py1381 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/
Ddata_structures.py232 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/
Dlayer_utils.py271 non_trainable_count = count_params(model.non_trainable_weights)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.layers.-re-l-u.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-masking.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-thresholded-re-l-u.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-cropping2-d.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-softmax.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-activation.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-activity-regularization.pbtxt71 name: "non_trainable_weights"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.layers.-zero-padding2-d.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-masking.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-re-l-u.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-up-sampling3-d.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-flatten.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-alpha-dropout.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-cropping2-d.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-cropping3-d.pbtxt71 name: "non_trainable_weights"
Dtensorflow.keras.layers.-repeat-vector.pbtxt71 name: "non_trainable_weights"

12345678910>>...18