Sign in
android
/
platform
/
external
/
pytorch
/
refs/heads/sdk-release
/
.
/
test
/
edge
/
custom_ops.cpp
blob: cce09841127a55a78add724747fa9ad78dff9b94 [
file
] [
log
] [
blame
] [
edit
]
#include
<ATen/Tensor.h>
namespace
custom
{
namespace
native
{
at
::
Tensor
&
add_3_out
(
const
at
::
Tensor
&
a
,
const
at
::
Tensor
&
b
,
const
at
::
Tensor
&
c
,
at
::
Tensor
&
out
)
{
out
=
a
.
add
(
b
).
add
(
c
);
return
out
;
}
}
}