| 1506 | } |
| 1507 | |
| 1508 | ggml_tensor * llm_graph_context::build_inp_cls() const { |
| 1509 | auto inp = std::make_unique<llm_graph_input_cls>(cparams, arch); |
| 1510 | |
| 1511 | auto & cur = inp->cls; |
| 1512 | |
| 1513 | cur = ggml_new_tensor_1d(ctx0, GGML_TYPE_I32, ubatch.n_seqs_unq); |
| 1514 | ggml_set_input(cur); |
| 1515 | |
| 1516 | res->add_input(std::move(inp)); |
| 1517 | |
| 1518 | return cur; |
| 1519 | } |
| 1520 | |
| 1521 | ggml_tensor * llm_graph_context::build_inp_cross_embd() const { |
| 1522 | auto inp = std::make_unique<llm_graph_input_cross_embd>(cross); |
nothing calls this directly
no test coverage detected