Method
add_variable
(self,
name,
shape,
dtype=None,
initializer=None,
regularizer=None,
trainable=True,
constraint=None)
Source from the content-addressed store, hash-verified
| 490 | return self._layers |
| 491 | |
| 492 | def add_variable(self, |
| 493 | name, |
| 494 | shape, |
| 495 | dtype=None, |
| 496 | initializer=None, |
| 497 | regularizer=None, |
| 498 | trainable=True, |
| 499 | constraint=None): |
| 500 | raise RuntimeError( |
| 501 | "add_variable not supported in Network class yet. Please file an issue " |
| 502 | "at https://github.com/tensorflow/tensorflow/issues/new if this is " |
| 503 | "important to you") |
| 504 | |
| 505 | def add_loss(self, losses, inputs=None): |
| 506 | raise RuntimeError( |