Dimension that can be used by transforms to set the correct image size, etc. This allows transforms to have a single source of truth for the input dimension of the network. Return: list: Tuple containing the current width,height
(self)
| 74 | |
| 75 | @property |
| 76 | def input_dim(self): |
| 77 | """ |
| 78 | Dimension that can be used by transforms to set the correct image size, etc. |
| 79 | This allows transforms to have a single source of truth |
| 80 | for the input dimension of the network. |
| 81 | |
| 82 | Return: |
| 83 | list: Tuple containing the current width,height |
| 84 | """ |
| 85 | if hasattr(self, "_input_dim"): |
| 86 | return self._input_dim |
| 87 | return self.__input_dim |
| 88 | |
| 89 | @staticmethod |
| 90 | def resize_getitem(getitem_fn): |
nothing calls this directly
no outgoing calls
no test coverage detected