blob: daa8c52dfb5c6e8df9b457303a79ef663732900c [file] [log] [blame]
/*
* 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 <executorch/kernels/test/FunctionHeaderWrapper.h> // Declares the operator
#include <executorch/kernels/test/TestUtil.h>
#include <executorch/kernels/test/supported_features.h>
#include <executorch/runtime/core/exec_aten/exec_aten.h>
#include <executorch/runtime/core/exec_aten/testing_util/tensor_factory.h>
#include <executorch/runtime/core/exec_aten/testing_util/tensor_util.h>
#include <gtest/gtest.h>
using namespace ::testing;
class OpAliasCopyTest : public OperatorTest {
protected:
exec_aten::Tensor& op_alias_copy_out(
const exec_aten::Tensor& self,
exec_aten::Tensor& out) {
return torch::executor::aten::alias_copy_outf(context_, self, out);
}
};