We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d7d75a commit dce799dCopy full SHA for dce799d
tools/mtmd/clip-impl.h
@@ -262,7 +262,12 @@ struct clip_image_f32_batch {
262
int grid_y = 0;
263
264
clip_image_f32_batch clone() const {
265
- clip_image_f32_batch new_batch;
+ clip_image_f32_batch new_batch{
266
+ /* entries */ {},
267
+ /* is_audio */ is_audio,
268
+ /* grid_x */ grid_x,
269
+ /* grid_y */ grid_y,
270
+ };
271
new_batch.entries.reserve(entries.size());
272
for (const auto & entry : entries) {
273
new_batch.entries.emplace_back(new clip_image_f32(*entry));
0 commit comments