ONE - On-device Neural Engine
Loading...
Searching...
No Matches
souschef::ConstantUint4DataChefFactory Struct Reference

#include <Constant.h>

Collaboration diagram for souschef::ConstantUint4DataChefFactory:

Public Member Functions

std::unique_ptr< DataChefcreate (const Arguments &args) const
 
- Public Member Functions inherited from souschef::DataChefFactory
virtual ~DataChefFactory ()=default
 

Detailed Description

Definition at line 141 of file Constant.h.

Member Function Documentation

◆ create()

std::unique_ptr< DataChef > souschef::ConstantUint4DataChefFactory::create ( const Arguments args) const
inlinevirtual

Implements souschef::DataChefFactory.

Definition at line 143 of file Constant.h.

144 {
145 auto const value = to_number<uint8_t>(args.value(0));
146 return std::unique_ptr<DataChef>{new ConstantUint4DataChef{value}};
147 }
args
Definition infer.py:21

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