(self, batch_size, image_height, image_width)
| 228 | } |
| 229 | |
| 230 | def get_shape_dict(self, batch_size, image_height, image_width): |
| 231 | self.check_dims(batch_size, image_height, image_width) |
| 232 | return { |
| 233 | 'input_ids': (batch_size, self.text_maxlen), |
| 234 | 'text_embeddings': (batch_size, self.text_maxlen, self.embedding_dim) |
| 235 | } |
| 236 | |
| 237 | def get_sample_input(self, batch_size, image_height, image_width): |
| 238 | self.check_dims(batch_size, image_height, image_width) |
nothing calls this directly
no test coverage detected