Skip to main content

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 55 of file GenAITypes.h.

Public Constructors

ImageList()

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

Definition at line 57 of file GenAITypes.h.

ImageList()

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

Definition at line 58 of file GenAITypes.h.

ImageList()

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

Definition at line 59 of file GenAITypes.h.

Public Operators

operator=()

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

Definition at line 61 of file GenAITypes.h.

operator=()

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

Definition at line 62 of file GenAITypes.h.

Public Member Functions

empty()

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

Definition at line 72 of file GenAITypes.h.

size()

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

Definition at line 73 of file GenAITypes.h.

tensors()

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

Definition at line 74 of file GenAITypes.h.

tensors()

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

Definition at line 75 of file GenAITypes.h.

Private Member Attributes

images_

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

Definition at line 78 of file GenAITypes.h.

78 std::vector<Tensor> images_;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.