mxnet
|
template to select type based on condition For example, IfThenElseType<true, int, float>::Type will give int More...
#include <type_traits.h>
template to select type based on condition For example, IfThenElseType<true, int, float>::Type will give int
cond | the condition |
Then | the typename to be returned if cond is true |
Else | typename to be returned if cond is false |