/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include #include #include namespace torch { namespace executor { namespace native { namespace { bool logical_or(bool a, bool b) { return a || b; } } // namespace Tensor& logical_or_out( KernelRuntimeContext& ctx, const Tensor& a, const Tensor& b, Tensor& out) { // @lint-ignore CLANGTIDY facebook-hte-CArray static constexpr const char op_name[] = "logical_or.out"; return internal::logical_tensor_out(logical_or, ctx, a, b, out); } } // namespace native } // namespace executor } // namespace torch