| 115 | } |
| 116 | |
| 117 | py::object ImageBatchVarShape::uniqueFormat() const |
| 118 | { |
| 119 | nvcv::ImageFormat fmt = m_impl.uniqueFormat(); |
| 120 | if (fmt) |
| 121 | { |
| 122 | return py::cast(fmt); |
| 123 | } |
| 124 | else |
| 125 | { |
| 126 | return py::none(); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | Size2D ImageBatchVarShape::maxSize() const |
| 131 | { |