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 scalar broadcasting.

Public Functions

inline explicit And(const KernelContext &ctx)#
Tensor operator()(const Tensor &x, const Tensor &y) const#
void operator()(const Tensor &x, const Tensor &y, Tensor &output) const#

Public Static Functions

static inline constexpr bool CanRunInPlace() noexcept#

Private Members

KernelContext ctx_#
class Or#
#include <include_logical_kernels.h>

Element-wise logical OR on BOOL tensors with scalar broadcasting.

Public Functions

inline explicit Or(const KernelContext &ctx)#
Tensor operator()(const Tensor &x, const Tensor &y) const#
void operator()(const Tensor &x, const Tensor &y, Tensor &output) const#

Public Static Functions

static inline constexpr bool CanRunInPlace() noexcept#

Private Members

KernelContext ctx_#
class Xor#
#include <include_logical_kernels.h>

Element-wise logical XOR on BOOL tensors with scalar broadcasting.

Public Functions

inline explicit Xor(const KernelContext &ctx)#
Tensor operator()(const Tensor &x, const Tensor &y) const#
void operator()(const Tensor &x, const Tensor &y, Tensor &output) const#

Public Static Functions

static inline constexpr bool CanRunInPlace() noexcept#

Private Members

KernelContext ctx_#