Skip to main content

Runner Class

Declaration

class simaai::neat::Model::Runner { ... }

Included Headers

#include <Model.h>

Public Constructors Index

Runner ()=default
Runner (simaai::neat::Run run)

Public Operators Index

operator bool () const noexcept

Public Member Functions Index

boolpush (const simaai::neat::Tensor &input)
boolpush (const simaai::neat::Sample &input)
std::optional< simaai::neat::Sample >pull (int timeout_ms=-1)
simaai::neat::Samplerun (const simaai::neat::Tensor &input, int timeout_ms=-1)
simaai::neat::Samplerun (const simaai::neat::Sample &input, int timeout_ms=-1)
intwarmup (const simaai::neat::Tensor &input, int warm=-1, int timeout_ms=-1)
voidclose ()

Private Member Attributes Index

simaai::neat::Runrun_ {}

Definition at line 127 of file Model.h.

Public Constructors

Runner()

simaai::neat::Model::Runner::Runner ()
default

Definition at line 129 of file Model.h.

Runner()

simaai::neat::Model::Runner::Runner (simaai::neat::Run run)
explicit

Definition at line 130 of file Model.h.

Public Operators

operator bool()

simaai::neat::Model::Runner::operator bool ()
explicit noexcept

Definition at line 132 of file Model.h.

Public Member Functions

close()

void simaai::neat::Model::Runner::close ()

Definition at line 145 of file Model.h.

pull()

std::optional<simaai::neat::Sample> simaai::neat::Model::Runner::pull (int timeout_ms=-1)

Definition at line 138 of file Model.h.

push()

bool simaai::neat::Model::Runner::push (const simaai::neat::Tensor & input)

Definition at line 136 of file Model.h.

push()

bool simaai::neat::Model::Runner::push (const simaai::neat::Sample & input)

Definition at line 137 of file Model.h.

run()

simaai::neat::Sample simaai::neat::Model::Runner::run (const simaai::neat::Tensor & input, int timeout_ms=-1)

Definition at line 142 of file Model.h.

run()

simaai::neat::Sample simaai::neat::Model::Runner::run (const simaai::neat::Sample & input, int timeout_ms=-1)

Definition at line 143 of file Model.h.

warmup()

int simaai::neat::Model::Runner::warmup (const simaai::neat::Tensor & input, int warm=-1, int timeout_ms=-1)

Definition at line 144 of file Model.h.

Private Member Attributes

run_

simaai::neat::Run simaai::neat::Model::Runner::run_ {}

Definition at line 148 of file Model.h.

148 simaai::neat::Run run_{};

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.