A subclass is expected to implement this method. If returning placeholders, the placeholders **have to** be created inside this method. Don't return placeholders created in other places. Also, users should never call this method by yourself. Return
(self)
| 52 | return [k.name for k in self.get_input_signature()] |
| 53 | |
| 54 | def inputs(self): |
| 55 | """ |
| 56 | A subclass is expected to implement this method. |
| 57 | |
| 58 | If returning placeholders, |
| 59 | the placeholders **have to** be created inside this method. |
| 60 | Don't return placeholders created in other places. |
| 61 | |
| 62 | Also, users should never call this method by yourself. |
| 63 | |
| 64 | Returns: |
| 65 | list[tf.TensorSpec or tf.placeholder]. |
| 66 | """ |
| 67 | raise NotImplementedError() |
| 68 | |
| 69 | def build_graph(self, *args): |
| 70 | """ |