| 107 | if (ggml_is_quantized(contiguous.type)) { |
| 108 | return core::wrap_tensor(ggml_cast(ctx.ggml, contiguous.tensor, GGML_TYPE_F32), contiguous.shape, GGML_TYPE_F32); |
| 109 | } |
| 110 | throw std::runtime_error( |
| 111 | std::string("ConvTranspose1dModule does not support weight type with the current ggml conv-transpose path: ") + |
| 112 | ggml_type_name(contiguous.type)); |
| 113 | } |
| 114 |