Namespace: LLama.Abstractions
A JSON converter for TensorSplitsCollection
public class TensorSplitsCollectionConverter : System.Text.Json.Serialization.JsonConverter`1[[LLama.Abstractions.TensorSplitsCollection, LLamaSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → JsonConverter → JsonConverter<TensorSplitsCollection> → TensorSplitsCollectionConverter
public bool HandleNull { get; }
public TensorSplitsCollectionConverter()
public TensorSplitsCollection Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
reader Utf8JsonReader&
typeToConvert Type
options JsonSerializerOptions
public void Write(Utf8JsonWriter writer, TensorSplitsCollection value, JsonSerializerOptions options)
writer Utf8JsonWriter
value TensorSplitsCollection
options JsonSerializerOptions