11 std::vector<Matrix3D<float>> past_keys, past_values;
12 bool has_past_keys_values;
17 has_past_keys_values =
false;
22 : input_ids(input_ids_), past_keys(past_keys_), past_values(past_values_) {
23 has_past_keys_values =
true;
27 : input_ids(input_ids_), image_embed(image_embed_), second_input_ids(second_input_ids_) {
28 has_past_keys_values =
false;
32 : input_ids(input_ids_), image_embed(image_embed_) {
33 has_past_keys_values =
false;