Transformation contructor. The initialization of decode object is deferred because the objects only know the builder/features on which it is used after it has been constructed, the initialization is done in this function. Args: feature: `tfds.features.FeatureConnector`, the f
(self, *, feature)
| 54 | return self._feature |
| 55 | |
| 56 | def setup(self, *, feature): |
| 57 | """Transformation contructor. |
| 58 | |
| 59 | The initialization of decode object is deferred because the objects only |
| 60 | know the builder/features on which it is used after it has been |
| 61 | constructed, the initialization is done in this function. |
| 62 | |
| 63 | Args: |
| 64 | feature: `tfds.features.FeatureConnector`, the feature to which is applied |
| 65 | this transformation. |
| 66 | """ |
| 67 | self._feature = feature |
| 68 | |
| 69 | @property |
| 70 | def dtype(self): |
no outgoing calls
no test coverage detected