xref: /aosp_15_r20/external/executorch/extension/llm/custom_ops/op_fallback.h (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1 /*
2  * Copyright (c) Qualcomm Innovation Center, Inc.
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 namespace native {
17 Tensor& fallback_out(KernelRuntimeContext& ctx, const Tensor& in, Tensor& out);
18 } // namespace native
19 } // namespace executor
20 } // namespace torch
21