(self, batch_size, image_height, image_width, static_batch, static_shape)
| 221 | } |
| 222 | |
| 223 | def get_input_profile(self, batch_size, image_height, image_width, static_batch, static_shape): |
| 224 | self.check_dims(batch_size, image_height, image_width) |
| 225 | min_batch, max_batch, _, _, _, _, _, _, _, _ = self.get_minmax_dims(batch_size, image_height, image_width, static_batch, static_shape) |
| 226 | return { |
| 227 | 'input_ids': [(min_batch, self.text_maxlen), (batch_size, self.text_maxlen), (max_batch, self.text_maxlen)] |
| 228 | } |
| 229 | |
| 230 | def get_shape_dict(self, batch_size, image_height, image_width): |
| 231 | self.check_dims(batch_size, image_height, image_width) |
nothing calls this directly
no test coverage detected