Перейти до основного вмісту

ImageList Class

Ordered image inputs for GenAI requests and chat messages. More...

Declaration​

class simaai::neat::genai::ImageList { ... }

Included Headers​

#include <GenAITypes.h>

Public Constructors Index​

ImageList ()=default
ImageList (std::initializer_list< Tensor > images)
ImageList (std::vector< Tensor > images)

Public Operators Index​

ImageList &operator= (std::initializer_list< Tensor > images)
ImageList &operator= (std::vector< Tensor > images)

Public Member Functions Index​

boolempty () const
std::size_tsize () const
const std::vector< Tensor > &tensors () const
std::vector< Tensor > &tensors ()

Private Member Attributes Index​

std::vector< Tensor >images_

Description​

Ordered image inputs for GenAI requests and chat messages.

Tensor inputs are interpreted from their Tensor image metadata and VLM requests require uint8 HWC RGB tensors. OpenCV cv::Mat overloads follow the existing NEAT/OpenCV convention: 3-channel matrices are BGR and are converted to RGB before they are stored in the request.

Definition at line 61 of file GenAITypes.h.

Public Constructors​

ImageList()​

simaai::neat::genai::ImageList::ImageList ()
default

Definition at line 63 of file GenAITypes.h.

ImageList()​

simaai::neat::genai::ImageList::ImageList (std::initializer_list< Tensor > images)

Definition at line 64 of file GenAITypes.h.

ImageList()​

simaai::neat::genai::ImageList::ImageList (std::vector< Tensor > images)
explicit

Definition at line 65 of file GenAITypes.h.

Public Operators​

operator=()​

ImageList & simaai::neat::genai::ImageList::operator= (std::initializer_list< Tensor > images)

Definition at line 67 of file GenAITypes.h.

operator=()​

ImageList & simaai::neat::genai::ImageList::operator= (std::vector< Tensor > images)

Definition at line 68 of file GenAITypes.h.

Public Member Functions​

empty()​

bool simaai::neat::genai::ImageList::empty ()

Definition at line 78 of file GenAITypes.h.

size()​

std::size_t simaai::neat::genai::ImageList::size ()

Definition at line 79 of file GenAITypes.h.

tensors()​

const std::vector< Tensor > & simaai::neat::genai::ImageList::tensors ()

Definition at line 80 of file GenAITypes.h.

tensors()​

std::vector< Tensor > & simaai::neat::genai::ImageList::tensors ()

Definition at line 81 of file GenAITypes.h.

Private Member Attributes​

images_​

std::vector<Tensor> simaai::neat::genai::ImageList::images_

Definition at line 84 of file GenAITypes.h.


The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.