ONE - On-device Neural Engine
Loading...
Searching...
No Matches
minmax_embedder_test::DataGen Class Reference

#include <DataGen.h>

Public Member Functions

MinMax operator() (uint32_t run, uint32_t obj) const
 

Detailed Description

generates (min,max) for obj (= model input or op output) index at run

Definition at line 38 of file DataGen.h.

Member Function Documentation

◆ operator()()

MinMax minmax_embedder_test::DataGen::operator() ( uint32_t  run,
uint32_t  obj 
) const

Definition at line 21 of file DataGen.cpp.

22{
23 MinMax r;
24 r.min() = (run * 10'000) + (obj * 10);
25 r.max() = (run * 10'000) + (obj * 10) + 7;
26 return r;
27}
void run(std::ofstream &os, const circle::Model *model)

References run().


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