Skip to content

TensorSplitsCollectionConverter

Namespace: LLama.Abstractions

A JSON converter for TensorSplitsCollection

1
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

1
public bool HandleNull { get; }

Property Value

Boolean

Constructors

TensorSplitsCollectionConverter()

1
public TensorSplitsCollectionConverter()

Methods

Read(Utf8JsonReader&, Type, JsonSerializerOptions)

1
public TensorSplitsCollection Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader&

typeToConvert Type

options JsonSerializerOptions

Returns

TensorSplitsCollection

Write(Utf8JsonWriter, TensorSplitsCollection, JsonSerializerOptions)

1
public void Write(Utf8JsonWriter writer, TensorSplitsCollection value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

value TensorSplitsCollection

options JsonSerializerOptions