/* * 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 namespace torch { namespace executor { namespace native { Tensor& ne_tensor_out( KernelRuntimeContext& ctx, const Tensor& a, const Tensor& b, Tensor& out) { // @lint-ignore CLANGTIDY facebook-hte-CArray static constexpr const char op_name[] = "ne.Tensor_out"; return internal::comparison_tensor_out(ctx, a, b, out); } Tensor& ne_scalar_out( KernelRuntimeContext& ctx, const Tensor& a, const Scalar& b, Tensor& out) { // @lint-ignore CLANGTIDY facebook-hte-CArray static constexpr const char op_name[] = "ne.Scalar_out"; return internal::comparison_scalar_out(ctx, a, b, out); } } // namespace native } // namespace executor } // namespace torch