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.native.llamaseqid.md 1.4 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # LLamaSeqId
  2. Namespace: LLama.Native
  3. ID for a sequence in a batch
  4. ```csharp
  5. public struct LLamaSeqId
  6. ```
  7. Inheritance [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) → [ValueType](https://docs.microsoft.com/en-us/dotnet/api/system.valuetype) → [LLamaSeqId](./llama.native.llamaseqid.md)<br>
  8. Implements [IEquatable&lt;LLamaSeqId&gt;](https://docs.microsoft.com/en-us/dotnet/api/system.iequatable-1)
  9. ## Fields
  10. ### **Value**
  11. The raw value
  12. ```csharp
  13. public int Value;
  14. ```
  15. ### **Zero**
  16. LLamaSeqId with value 0
  17. ```csharp
  18. public static LLamaSeqId Zero;
  19. ```
  20. ## Methods
  21. ### **ToString()**
  22. ```csharp
  23. string ToString()
  24. ```
  25. #### Returns
  26. [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)<br>
  27. ### **GetHashCode()**
  28. ```csharp
  29. int GetHashCode()
  30. ```
  31. #### Returns
  32. [Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32)<br>
  33. ### **Equals(Object)**
  34. ```csharp
  35. bool Equals(object obj)
  36. ```
  37. #### Parameters
  38. `obj` [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)<br>
  39. #### Returns
  40. [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>
  41. ### **Equals(LLamaSeqId)**
  42. ```csharp
  43. bool Equals(LLamaSeqId other)
  44. ```
  45. #### Parameters
  46. `other` [LLamaSeqId](./llama.native.llamaseqid.md)<br>
  47. #### Returns
  48. [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)<br>