forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunction_ref.h
More file actions
24 lines (19 loc) · 758 Bytes
/
function_ref.h
File metadata and controls
24 lines (19 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* 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.
*/
#pragma once
#include <executorch/runtime/core/function_ref.h>
/// This header is DEPRECATED; use executorch/runtime/core/function_ref.h
/// directly instead.
namespace executorch::extension::pytree {
using executorch::runtime::FunctionRef;
} // namespace executorch::extension::pytree
namespace torch::executor::pytree {
// TODO(T197294990): Remove these deprecated aliases once all users have moved
// to the new `::executorch` namespaces.
using ::executorch::extension::pytree::FunctionRef;
} // namespace torch::executor::pytree