File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
runtime/core/exec_aten/util Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -927,6 +927,7 @@ void reset_data_ptr(const exec_aten::Tensor& tensor);
927
927
__ET_NODISCARD Error resize_tensor_impl (
928
928
exec_aten::TensorImpl* impl,
929
929
exec_aten::ArrayRef<exec_aten::SizesType> new_sizes);
930
+
930
931
} // namespace internal
931
932
932
933
/* *
@@ -1023,26 +1024,5 @@ inline size_t calculate_linear_index(
1023
1024
return index;
1024
1025
}
1025
1026
1026
- // / These APIs should not be used outside of Executor.cpp.
1027
- namespace internal {
1028
- /* *
1029
- * Share t_src's data_ptr with t_dst.
1030
- */
1031
- __ET_NODISCARD Error share_tensor_data (
1032
- const exec_aten::Tensor& t_dst,
1033
- const exec_aten::Tensor& t_src);
1034
-
1035
- /* *
1036
- * Copy t_src's data_ptr to t_dst.
1037
- */
1038
- __ET_NODISCARD Error copy_tensor_data (
1039
- const exec_aten::Tensor& t_dst,
1040
- const exec_aten::Tensor& t_src);
1041
-
1042
- /* *
1043
- * Reset tensor's data_ptr, clear all the storage for at::Tensor.
1044
- */
1045
- void reset_data_ptr (const exec_aten::Tensor& tensor);
1046
- } // namespace internal
1047
1027
} // namespace executor
1048
1028
} // namespace torch
You can’t perform that action at this time.
0 commit comments