Skip to content

< Back


GetLogitsInvalidIndexException

Namespace: LLama.Exceptions

llama_get_logits_ith returned null, indicating that the index was invalid

1
public class GetLogitsInvalidIndexException : RuntimeError, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionRuntimeErrorGetLogitsInvalidIndexException
Implements ISerializable

Properties

Index

The incorrect index passed to the llama_get_logits_ith call

1
public int Index { get; }

Property Value

Int32

TargetSite

1
public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

1
public string Message { get; }

Property Value

String

Data

1
public IDictionary Data { get; }

Property Value

IDictionary

InnerException

1
public Exception InnerException { get; }

Property Value

Exception

1
public string HelpLink { get; set; }

Property Value

String

Source

1
public string Source { get; set; }

Property Value

String

HResult

1
public int HResult { get; set; }

Property Value

Int32

StackTrace

1
public string StackTrace { get; }

Property Value

String

Constructors

GetLogitsInvalidIndexException(Int32)

1
public GetLogitsInvalidIndexException(int index)

Parameters

index Int32

Events

SerializeObjectState

Caution

BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.


1
protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;

< Back