1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8 9 #pragma once 10 11 #include <executorch/runtime/kernel/kernel_includes.h> 12 13 namespace torch { 14 namespace executor { 15 16 bool check__to_dim_order_copy_args( 17 const Tensor& input, 18 bool non_blocking, 19 exec_aten::OptionalArrayRef<int64_t> dim_order, 20 Tensor& out); 21 22 } // namespace executor 23 } // namespace torch 24