Return padding shapes for use by tf.data.Dataset.padded_batch. Returns: Padding shapes used by the encoder
(self)
| 152 | |
| 153 | @abc.abstractmethod |
| 154 | def padded_shapes(self): |
| 155 | """Return padding shapes for use by tf.data.Dataset.padded_batch. |
| 156 | |
| 157 | Returns: |
| 158 | Padding shapes used by the encoder |
| 159 | """ |
| 160 | raise NotImplementedError() |
| 161 | |
| 162 | @abc.abstractmethod |
| 163 | def compute_input_shapes(self): |
nothing calls this directly
no outgoing calls
no test coverage detected