fast::InferenceDataList class

A class containing a list of data objects for inference, either Image or Tensor objects.

This is used as a container for Batch and Sequence data objects.

Constructors, destructors, conversion operators

InferenceDataList(std::vector<std::shared_ptr<Image>> images) explicit
InferenceDataList(std::vector<std::shared_ptr<Tensor>> tensors) explicit
InferenceDataList()

Public functions

auto getImages() const -> std::vector<std::shared_ptr<Image>>
auto getTensors() const -> std::vector<std::shared_ptr<Tensor>>
auto isTensors() const -> bool
auto isImages() const -> bool
auto getSize() const -> int