Skip to content

Update TFlite to 2.19.0#31

Merged
mmajchrzycki merged 28 commits into
masterfrom
tflite-2-19
May 13, 2026
Merged

Update TFlite to 2.19.0#31
mmajchrzycki merged 28 commits into
masterfrom
tflite-2-19

Conversation

@mmajchrzycki

Copy link
Copy Markdown
Collaborator

This PR updates the provided libraries, headers and other sources to support TFlite 2.19.0

@mmajchrzycki mmajchrzycki self-assigned this May 12, 2026
Comment on lines +197 to +198
size_t kcache_dims_flatsize = kcache_dims->data[0] * kcache_dims->data[1] *
kcache_dims->data[2] * kcache_dims->data[3];
Comment on lines +199 to +200
size_t vcache_dims_flatsize = vcache_dims->data[0] * vcache_dims->data[1] *
vcache_dims->data[2] * vcache_dims->data[3];
} else if (quantized_dimension == rhs->dims->size - 2) {
quantized_dimension = rhs->dims->size - 1;
}
transposed_rhs_affine_quantization->quantized_dimension =
}
transposed_rhs_affine_quantization->quantized_dimension =
quantized_dimension;
transposed_rhs_affine_quantization->zero_point =
quantized_dimension;
transposed_rhs_affine_quantization->zero_point =
TfLiteIntArrayCopy(rhs_affine_quantization->zero_point);
transposed_rhs_affine_quantization->scale =
(((batch * outer_size) + outer) * coord_size + i) * inner_size,
&input_data[from_pos], sizeof(T) * inner_size);
const int64_t from_pos =
(((batch * outer_size) + outer) * axis_size + coord) * inner_size;
TFLITE_DCHECK(from_pos >= 0);
TFLITE_DCHECK(from_pos + inner_size <= input_flat_size);
const int64_t to_pos =
(((batch * outer_size) + outer) * coord_size + i) * inner_size;

@AIWintermuteAI AIWintermuteAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmajchrzycki mmajchrzycki merged commit 6090c59 into master May 13, 2026
38 of 39 checks passed
@eoinjordan eoinjordan self-requested a review May 13, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants