InterleavedSegment<T>

Models & Types · AiDotNet.Data.Multimodal

A single segment within an interleaved sequence.

Constructors

Constructor Summary
InterleavedSegment(ModalityType modality, Tensor<T> data, int position, string key) Creates a new interleaved segment.

Properties

Property Summary
ModalityType Modality { get; } Gets the modality type of this segment.
Tensor<T> Data { get; } Gets the data tensor for this segment.
int Position { get; } Gets the position of this segment within its parent sequence (0-based).
string Key { get; } Gets an optional key for this segment.