Overrides the shape for this variable. Args: shape: the `TensorShape` representing the overridden shape.
(self, shape)
| 2180 | return self._variable |
| 2181 | |
| 2182 | def set_shape(self, shape): |
| 2183 | """Overrides the shape for this variable. |
| 2184 | |
| 2185 | Args: |
| 2186 | shape: the `TensorShape` representing the overridden shape. |
| 2187 | """ |
| 2188 | self._ref().set_shape(shape) |
| 2189 | self.value().set_shape(shape) |
| 2190 | |
| 2191 | @property |
| 2192 | def trainable(self): |