TensorSplitsCollectionConverter
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
Properties
HandleNull
public bool HandleNull { get; }
Property Value
Constructors
TensorSplitsCollectionConverter()
public TensorSplitsCollectionConverter()
Methods
Read(Utf8JsonReader&, Type, JsonSerializerOptions)
public TensorSplitsCollection Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
reader
Utf8JsonReader&
typeToConvert
Type
options
JsonSerializerOptions
Returns
Write(Utf8JsonWriter, TensorSplitsCollection, JsonSerializerOptions)
public void Write(Utf8JsonWriter writer, TensorSplitsCollection value, JsonSerializerOptions options)
Parameters
writer
Utf8JsonWriter
value
TensorSplitsCollection
options
JsonSerializerOptions