ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Knob.h File Reference
#include "Knob.lst"

Go to the source code of this file.

Namespaces

namespace  moco
 
namespace  moco::tf
 

Macros

#define KNOB_BOOL(NAME, DEFAULT, DESC)   NAME,
 
#define KNOB_BOOL(NAME, DEFAULT, DESC)
 

Enumerations

enum class  moco::tf::Knob { moco::tf::KNOB_BOOL }
 

Functions

template<Knob K>
KnobTrait< K >::ValueType moco::tf::get (void)
 

Macro Definition Documentation

◆ KNOB_BOOL [1/2]

#define KNOB_BOOL (   NAME,
  DEFAULT,
  DESC 
)    NAME,

Definition at line 27 of file Knob.h.

◆ KNOB_BOOL [2/2]

#define KNOB_BOOL (   NAME,
  DEFAULT,
  DESC 
)
Value:
template <> struct KnobTrait<Knob::NAME> \
{ \
using ValueType = bool; \
};

Definition at line 27 of file Knob.h.