|
|
|
@@ -1,7 +1,4 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Runtime.InteropServices; |
|
|
|
using System.Text; |
|
|
|
using System.Runtime.InteropServices; |
|
|
|
|
|
|
|
namespace LLama.Native |
|
|
|
{ |
|
|
|
@@ -16,6 +13,6 @@ namespace LLama.Native |
|
|
|
/// <remarks>not great API - very likely to change</remarks> |
|
|
|
/// <returns>Returns 0 on success</returns> |
|
|
|
[DllImport(libraryName, CallingConvention = CallingConvention.Cdecl)] |
|
|
|
public unsafe static extern int llama_model_quantize(string fname_inp, string fname_out, LLamaModelQuantizeParams* param); |
|
|
|
public static extern unsafe int llama_model_quantize(string fname_inp, string fname_out, LLamaModelQuantizeParams* param); |
|
|
|
} |
|
|
|
} |