You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama.quantizer.md 1.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Quantizer
  2. Namespace: LLama
  3. ```csharp
  4. public class Quantizer
  5. ```
  6. Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [Quantizer](./llama.quantizer.md)
  7. ## Constructors
  8. ### **Quantizer()**
  9. ```csharp
  10. public Quantizer()
  11. ```
  12. ## Methods
  13. ### **Quantize(String, String, LLamaFtype, Int32, Boolean)**
  14. ```csharp
  15. public static bool Quantize(string srcFileName, string dstFilename, LLamaFtype ftype, int nthread, bool printInfo)
  16. ```
  17. #### Parameters
  18. `srcFileName` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  19. `dstFilename` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  20. `ftype` [LLamaFtype](./llama.native.llamaftype.md)<br>
  21. `nthread` [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
  22. `printInfo` [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
  23. #### Returns
  24. [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
  25. ### **Quantize(String, String, String, Int32, Boolean)**
  26. ```csharp
  27. public static bool Quantize(string srcFileName, string dstFilename, string ftype, int nthread, bool printInfo)
  28. ```
  29. #### Parameters
  30. `srcFileName` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  31. `dstFilename` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  32. `ftype` [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  33. `nthread` [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
  34. `printInfo` [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
  35. #### Returns
  36. [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>