(self)
| 450 | |
| 451 | @property |
| 452 | def weights(self): |
| 453 | # TODO(josh11b): Should this return a set or perform de-duplication of |
| 454 | # variables in the case of shared layers/variables that appear in |
| 455 | # multiple places in the Network? |
| 456 | weights = [] |
| 457 | for layer in self._layers: |
| 458 | weights += layer.weights |
| 459 | return weights |
| 460 | |
| 461 | @property |
| 462 | def trainable_weights(self): |
no outgoing calls