include_controlflow_kernels.h#
-
namespace ONNX_LIGHT_NAMESPACE
-
namespace onnx_backend_test
-
namespace kernel
-
class If#
- #include <include_controlflow_kernels.h>
Selects
then_valuewhen the scalar BOOLcondis true, otherwise returnselse_value. Both branch values must share the same data type and shape.Public Functions
-
inline explicit If(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Private Members
-
KernelContext ctx_#
-
inline explicit If(const KernelContext &ctx)#
-
class If#
-
namespace kernel
-
namespace onnx_backend_test