GlammAnswer<T>

Models & Types · AiDotNet.VisionLanguage.Grounding

GLaMM’s answer: the text and a mask for every [SEG] in it.

Implements: IEquatable<GlammAnswer<T>>

Constructors

Constructor Summary
GlammAnswer(string Text, IReadOnlyList<Tensor<T>> Masks) GLaMM’s answer: the text and a mask for every [SEG] in it.

Properties

Property Summary
IReadOnlyList<Tensor<T>> Masks { get; set; } Per [SEG], in order, its mask [H, W] at the image’s size (1 inside, 0 outside).
string Text { get; set; } The answer, as the official app shows it.

Methods

Method Summary
GlammAnswer<T> <Clone>$()
bool Equals(GlammAnswer<T> other)
bool Equals(object obj)
bool op_Equality(GlammAnswer<T> left, GlammAnswer<T> right)
bool op_Inequality(GlammAnswer<T> left, GlammAnswer<T> right)
int GetHashCode()
string ToString()
void Deconstruct(string Text, IReadOnlyList<Tensor<T>> Masks)