include_logical_kernels.h#
-
namespace ONNX_LIGHT_NAMESPACE
-
namespace onnx_backend_test
-
namespace kernel
-
class And#
- #include <include_logical_kernels.h>
Element-wise logical AND on BOOL tensors with multidirectional broadcasting.
Public Functions
-
inline explicit And(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Private Members
-
KernelContext ctx_#
-
inline explicit And(const KernelContext &ctx)#
-
class Greater#
- #include <include_logical_kernels.h>
Element-wise
Greatercomparison on FLOAT tensors with multidirectional broadcasting. Inputs are FLOAT, the output is BOOL (one byte per element,0or1). Mirrors the FLOAT branch of the upstream ONNXGreaterreference implementation (np.greater).Public Functions
-
inline explicit Greater(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Private Members
-
KernelContext ctx_#
-
inline explicit Greater(const KernelContext &ctx)#
-
class Less#
- #include <include_logical_kernels.h>
Element-wise
Lesscomparison on FLOAT tensors with multidirectional broadcasting. Inputs are FLOAT, the output is BOOL (one byte per element,0or1). Mirrors the FLOAT branch of the upstream ONNXLessreference implementation (np.less).Public Functions
-
inline explicit Less(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Private Members
-
KernelContext ctx_#
-
inline explicit Less(const KernelContext &ctx)#
-
class Or#
- #include <include_logical_kernels.h>
Element-wise logical OR on BOOL tensors with multidirectional broadcasting.
Public Functions
-
inline explicit Or(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Private Members
-
KernelContext ctx_#
-
inline explicit Or(const KernelContext &ctx)#
-
class Xor#
- #include <include_logical_kernels.h>
Element-wise logical XOR on BOOL tensors with multidirectional broadcasting.
Public Functions
-
inline explicit Xor(const KernelContext &ctx)#
Public Static Functions
-
static inline constexpr bool CanRunInPlace() noexcept#
Private Members
-
KernelContext ctx_#
-
inline explicit Xor(const KernelContext &ctx)#
-
class And#
-
namespace kernel
-
namespace onnx_backend_test