3#ifdef TORCH_ASSERT_NO_OPERATORS
4#error This change adds a dependency on native_functions.yaml, \
5 meaning the file will need to be re-compiled every time an operator \
6 is changed or added. Consider if your change would be better placed in \
7 another file, or if a more specific header might achieve the same goal. \
8 See NOTE: [Tensor vs. TensorBase]
12#include <c10/core/Layout.h>
13#include <c10/core/MemoryFormat.h>
14#include <c10/core/QScheme.h>
15#include <c10/core/Stream.h>
16#include <c10/core/Scalar.h>
17#include <c10/core/ScalarType.h>
18#include <c10/core/ScalarTypeToTypeMeta.h>
19#include <c10/core/Storage.h>
20#include <c10/core/TensorImpl.h>
21#include <c10/core/UndefinedTensorImpl.h>
22#include <c10/core/WrapDimMinimal.h>
24#include <c10/util/Deprecated.h>
25#include <c10/util/MaybeOwned.h>
28#include <c10/util/intrusive_ptr.h>
29#include <c10/macros/Export.h>
30#include <ATen/core/CheckMemoryFormat.h>
31#include <ATen/core/DeprecatedTypePropertiesRegistry.h>
32#include <ATen/core/DeprecatedTypeProperties.h>
33#include <ATen/core/NamedTensor.h>
34#include <ATen/core/QuantizerBase.h>
35#include <c10/core/SymInt.h>
36#include <ATen/core/TensorAccessor.h>
40#include <ATen/MethodOperators.h>
43template<
class T>
class List;
44template<
class T>
class IListRef;
49class DeprecatedTypeProperties;
58namespace torch {
namespace autograd {
66class OptionalTensorRef;
96 friend MaybeOwnedTraits<Tensor>;
104 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> tensor_impl)
116 c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> tensor_impl) {
117 return TensorBase::wrap_tensor_impl(std::move(tensor_impl));
121 return TensorBase::contiguous(memory_format);
129 switch (this->layout()) {
137 return this->
_conj();
142 using TensorBase::size;
143 using TensorBase::sym_size;
144 using TensorBase::stride;
152 c10::MaybeOwned<Tensor> expect_contiguous(MemoryFormat memory_format=MemoryFormat::Contiguous)
const &;
156 c10::MaybeOwned<Tensor>
expect_contiguous(MemoryFormat memory_format=MemoryFormat::Contiguous) && =
delete;
205 return operator=(
static_cast<const TensorBase&
>(x));
208 return operator=(
static_cast<TensorBase&&
>(x));
221 C10_DEPRECATED_MESSAGE(
"Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device().")
222 DeprecatedTypeProperties & type()
const {
223 return globalDeprecatedTypePropertiesRegistry().getDeprecatedTypeProperties(
224 dispatchKeyToBackend(legacyExtractDispatchKey(key_set())),
229 return to(options().dtype(
t),
false,
false);
234 return to(options().device(backendToDeviceType(b)).layout(layout_from_backend(b)),
false,
false);
237 C10_DEPRECATED_MESSAGE(
"Tensor.is_variable() is deprecated; everything is a variable now. (If you want to assert that variable has been appropriately handled already, use at::impl::variable_excluded_from_dispatch())")
238 bool is_variable() const noexcept {
245 return data_ptr<T>();
248 template <
typename T>
251 template<
typename T,
size_t N,
template <
typename U>
class PtrTraits = DefaultPtrTraits,
typename index_t = int64_t>
253 GenericPackedTensorAccessor<T,N,PtrTraits,index_t> packed_accessor() const & {
254 return generic_packed_accessor<T,N,PtrTraits,index_t>();
256 template<
typename T,
size_t N,
template <
typename U>
class PtrTraits = DefaultPtrTraits,
typename index_t = int64_t>
258 GenericPackedTensorAccessor<T,N,PtrTraits,index_t> packed_accessor() && = delete;
291 return bitwise_and_(other);
294 return bitwise_or_(other);
297 return bitwise_xor_(other);
300 if (!
index.isIntegral(
false)) {
303 return this->operator[](
index.toLong());
313 "Can only index with tensors that are scalars (zero-dim)");
323 Tensor index(std::initializer_list<at::indexing::TensorIndex> indices)
const;
328 Tensor &
index_put_(std::initializer_list<at::indexing::TensorIndex> indices,
const Scalar& v);
331 return to(options().device(DeviceType::CPU),
false,
false);
336 return to(options().device(DeviceType::CUDA),
false,
false);
340 return to(options().device(DeviceType::HIP),
false,
false);
344 return to(options().device(DeviceType::VE),
false,
false);
348 return to(options().device(DeviceType::Vulkan),
false,
false);
352 return to(options().device(DeviceType::Metal),
false,
false);
356 return to(options().device(DeviceType::Meta),
false,
false);
439 TORCH_CHECK(inputs.
value().size() > 0,
"'inputs' argument to backward cannot be empty")
440 this->_backward(inputs.value(), gradient, retain_graph, create_graph);
442 this->_backward({}, gradient, retain_graph, create_graph);
467 TensorBase::set_requires_grad(requires_grad);
485 if (!is_leaf() && !retains_grad() && !maybe_grad.
defined()) {
487 "The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad "
488 "attribute won't be populated during autograd.backward(). If you indeed want the .grad "
489 "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. "
490 "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor "
491 "instead. See github.com/pytorch/pytorch/pull/30531 for more informations.");
501 return impl_->
_fw_grad(level, *
this);
509 impl_->_set_fw_grad(new_grad, *
this, level, is_inplace_op);
519 void __dispatch_set_data(
const at::Tensor & new_data)
const;
521 bool __dispatch_is_leaf()
const;
522 int64_t __dispatch_output_nr()
const;
523 int64_t __dispatch__version()
const;
524 at::Tensor & __dispatch_requires_grad_(
bool requires_grad=
true)
const;
525 void __dispatch_retain_grad()
const;
526 bool __dispatch_retains_grad()
const;
530 at::Tensor align_to(at::DimnameList names)
const;
531 at::Tensor align_to(at::DimnameList order, int64_t ellipsis_idx)
const;
533 at::Tensor refine_names(at::DimnameList names)
const;
556 at::Tensor add(
const at::Scalar & other,
const at::Scalar & alpha=1)
const;
557 at::Tensor & add_(
const at::Scalar & other,
const at::Scalar & alpha=1)
const;
564 at::Tensor all(int64_t dim,
bool keepdim=
false)
const;
565 at::Tensor all(at::Dimname dim,
bool keepdim=
false)
const;
566 bool allclose(
const at::Tensor & other,
double rtol=1e-05,
double atol=1e-08,
bool equal_nan=
false)
const;
567 at::Tensor any(int64_t dim,
bool keepdim=
false)
const;
568 at::Tensor any(at::Dimname dim,
bool keepdim=
false)
const;
607 at::Tensor & copysign_(
const at::Scalar & other)
const;
621 ::std::vector<at::Tensor>
unsafe_chunk(int64_t chunks, int64_t dim=0)
const;
622 ::std::vector<at::Tensor>
chunk(int64_t chunks, int64_t dim=0)
const;
623 ::std::vector<at::Tensor>
tensor_split(int64_t sections, int64_t dim=0)
const;
625 ::std::vector<at::Tensor>
tensor_split(at::IntArrayRef indices, int64_t dim=0)
const;
626 ::std::vector<at::Tensor>
tensor_split_symint(c10::SymIntArrayRef indices, int64_t dim=0)
const;
627 ::std::vector<at::Tensor>
tensor_split(
const at::Tensor & tensor_indices_or_sections, int64_t dim=0)
const;
644 at::Tensor __dispatch_contiguous(at::MemoryFormat memory_format=MemoryFormat::Contiguous)
const;
654 ::std::tuple<at::Tensor,at::Tensor>
cummax(int64_t dim)
const;
655 ::std::tuple<at::Tensor,at::Tensor>
cummax(at::Dimname dim)
const;
656 ::std::tuple<at::Tensor,at::Tensor>
cummin(int64_t dim)
const;
657 ::std::tuple<at::Tensor,at::Tensor>
cummin(at::Dimname dim)
const;
669 at::Tensor diagonal(at::Dimname outdim, at::Dimname dim1, at::Dimname dim2, int64_t offset=0)
const;
670 at::Tensor & fill_diagonal_(
const at::Scalar & fill_value,
bool wrap=
false)
const;
677 at::Tensor & div_(
const at::Scalar & other)
const;
683 at::Tensor & divide_(
const at::Scalar & other)
const;
691 at::Tensor & true_divide_(
const at::Scalar & other)
const;
696 at::Tensor new_empty_symint(c10::SymIntArrayRef size, at::TensorOptions options={})
const;
700 at::Tensor new_empty_strided_symint(c10::SymIntArrayRef size, c10::SymIntArrayRef stride, at::TensorOptions options={})
const;
702 at::Tensor new_full(at::IntArrayRef size,
const at::Scalar & fill_value, at::TensorOptions options={})
const;
704 at::Tensor new_full_symint(c10::SymIntArrayRef size,
const at::Scalar & fill_value, at::TensorOptions options={})
const;
708 at::Tensor new_zeros_symint(c10::SymIntArrayRef size, at::TensorOptions options={})
const;
712 at::Tensor new_ones_symint(c10::SymIntArrayRef size, at::TensorOptions options={})
const;
727 at::Tensor expand_symint(c10::SymIntArrayRef size,
bool implicit=
false)
const;
730 at::Tensor flatten(int64_t start_dim, int64_t end_dim, at::Dimname out_dim)
const;
731 at::Tensor flatten(at::Dimname start_dim, at::Dimname end_dim, at::Dimname out_dim)
const;
742 at::Tensor & floor_divide_(
const at::Scalar & other)
const;
770 ::std::tuple<at::Tensor,at::Tensor>
kthvalue(int64_t k, int64_t dim=-1,
bool keepdim=
false)
const;
771 ::std::tuple<at::Tensor,at::Tensor>
kthvalue(int64_t k, at::Dimname dim,
bool keepdim=
false)
const;
800 ::std::tuple<at::Tensor,at::Tensor>
max(int64_t dim,
bool keepdim=
false)
const;
801 ::std::tuple<at::Tensor,at::Tensor>
max(at::Dimname dim,
bool keepdim=
false)
const;
802 at::Tensor amax(at::IntArrayRef dim={},
bool keepdim=
false)
const;
808 ::std::tuple<at::Tensor,at::Tensor>
median(int64_t dim,
bool keepdim=
false)
const;
809 ::std::tuple<at::Tensor,at::Tensor>
median(at::Dimname dim,
bool keepdim=
false)
const;
811 ::std::tuple<at::Tensor,at::Tensor>
nanmedian(int64_t dim,
bool keepdim=
false)
const;
812 ::std::tuple<at::Tensor,at::Tensor>
nanmedian(at::Dimname dim,
bool keepdim=
false)
const;
813 ::std::tuple<at::Tensor,at::Tensor>
min(int64_t dim,
bool keepdim=
false)
const;
814 ::std::tuple<at::Tensor,at::Tensor>
min(at::Dimname dim,
bool keepdim=
false)
const;
815 at::Tensor amin(at::IntArrayRef dim={},
bool keepdim=
false)
const;
817 ::std::tuple<at::Tensor,at::Tensor>
mode(int64_t dim=-1,
bool keepdim=
false)
const;
818 ::std::tuple<at::Tensor,at::Tensor>
mode(at::Dimname dim,
bool keepdim=
false)
const;
822 at::Tensor & mul_(
const at::Scalar & other)
const;
826 at::Tensor & multiply_(
const at::Scalar & other)
const;
861 at::Tensor repeat_symint(c10::SymIntArrayRef repeats)
const;
896 int64_t
size(at::Dimname dim)
const;
909 ::std::vector<at::Tensor>
unsafe_split(int64_t split_size, int64_t dim=0)
const;
910 ::std::vector<at::Tensor>
unsafe_split_symint(c10::SymInt split_size, int64_t dim=0)
const;
911 ::std::vector<at::Tensor>
split(int64_t split_size, int64_t dim=0)
const;
912 ::std::vector<at::Tensor>
split_symint(c10::SymInt split_size, int64_t dim=0)
const;
913 ::std::vector<at::Tensor>
split(at::IntArrayRef split_size, int64_t dim=0)
const;
914 ::std::vector<at::Tensor>
split_symint(c10::SymIntArrayRef split_size, int64_t dim=0)
const;
917 ::std::vector<at::Tensor>
split_with_sizes(at::IntArrayRef split_sizes, int64_t dim=0)
const;
919 ::std::vector<at::Tensor>
hsplit(int64_t sections)
const;
920 ::std::vector<at::Tensor>
hsplit(at::IntArrayRef indices)
const;
921 ::std::vector<at::Tensor>
vsplit(int64_t sections)
const;
922 ::std::vector<at::Tensor>
vsplit(at::IntArrayRef indices)
const;
923 ::std::vector<at::Tensor>
dsplit(int64_t sections)
const;
924 ::std::vector<at::Tensor>
dsplit(at::IntArrayRef indices)
const;
931 at::Tensor & squeeze_(at::IntArrayRef dim)
const;
937 int64_t
stride(at::Dimname dim)
const;
942 at::Tensor sum_to_size(at::IntArrayRef size)
const;
948 at::Tensor std(at::OptionalIntArrayRef dim,
bool unbiased,
bool keepdim=
false)
const;
950 at::Tensor std(at::DimnameList dim,
bool unbiased,
bool keepdim=
false)
const;
964 at::Tensor & transpose_(int64_t dim0, int64_t dim1)
const;
968 at::Tensor roll(at::IntArrayRef shifts, at::IntArrayRef dims={})
const;
972 ::std::vector<int64_t> _nested_tensor_offsets()
const;
981 at::Tensor var(at::OptionalIntArrayRef dim,
bool unbiased,
bool keepdim=
false)
const;
983 at::Tensor var(at::DimnameList dim,
bool unbiased,
bool keepdim=
false)
const;
994 ::std::tuple<at::Tensor,at::Tensor>
frexp()
const;
1002 at::Tensor sub(
const at::Scalar & other,
const at::Scalar & alpha=1)
const;
1003 at::Tensor & sub_(
const at::Scalar & other,
const at::Scalar & alpha=1)
const;
1007 at::Tensor & subtract_(
const at::Scalar & other,
const at::Scalar & alpha=1)
const;
1013 const at::Tensor & sparse_resize_(at::IntArrayRef size, int64_t sparse_dim, int64_t dense_dim)
const;
1014 const at::Tensor & sparse_resize_and_clear_(at::IntArrayRef size, int64_t sparse_dim, int64_t dense_dim)
const;
1018 int64_t sparse_dim()
const;
1019 int64_t _dimI()
const;
1020 int64_t dense_dim()
const;
1021 int64_t _dimV()
const;
1022 int64_t _nnz()
const;
1024 bool is_coalesced()
const;
1027 at::Tensor & _coalesced_(
bool coalesced)
const;
1034 ::std::vector<at::Tensor>
unbind(int64_t dim=0)
const;
1035 ::std::vector<at::Tensor>
unbind(at::Dimname dim)
const;
1036 at::Tensor to_sparse(int64_t sparse_dim)
const;
1050 at::QScheme qscheme()
const;
1051 at::Tensor _autocast_to_reduced_precision(
bool cuda_enabled,
bool cpu_enabled, at::ScalarType cuda_dtype, at::ScalarType cpu_dtype)
const;
1052 at::Tensor _autocast_to_full_precision(
bool cuda_enabled,
bool cpu_enabled)
const;
1058 at::Scalar item()
const;
1060 at::Tensor &
set_(at::Storage source, int64_t storage_offset, at::IntArrayRef size, at::IntArrayRef stride={})
const;
1061 at::Tensor & set__symint(at::Storage source, c10::SymInt storage_offset, c10::SymIntArrayRef size, c10::SymIntArrayRef stride={})
const;
1062 at::Tensor &
set_(
const at::Tensor & source, int64_t storage_offset, at::IntArrayRef size, at::IntArrayRef stride={})
const;
1063 at::Tensor & set__symint(
const at::Tensor & source, c10::SymInt storage_offset, c10::SymIntArrayRef size, c10::SymIntArrayRef stride={})
const;
1066 bool is_set_to(
const at::Tensor & tensor)
const;
1074 at::Tensor view_symint(c10::SymIntArrayRef size)
const;
1081 at::Tensor & index_reduce_(int64_t dim,
const at::Tensor & index,
const at::Tensor & source, c10::string_view reduce,
bool include_self=
true)
const;
1083 at::Tensor & index_fill_(int64_t dim,
const at::Tensor & index,
const at::Scalar & value)
const;
1087 at::Tensor & index_fill_(at::Dimname dim,
const at::Tensor & index,
const at::Scalar & value)
const;
1098 at::Tensor & scatter_(int64_t dim,
const at::Tensor & index,
const at::Scalar & value, c10::string_view reduce)
const;
1105 at::Tensor & scatter_reduce_(int64_t dim,
const at::Tensor & index,
const at::Tensor & src, c10::string_view reduce,
bool include_self=
true)
const;
1106 at::Tensor & eq_(
const at::Scalar & other)
const;
1110 at::Tensor & bitwise_and_(
const at::Scalar & other)
const;
1114 at::Tensor & __iand__(
const at::Scalar & other)
const;
1118 at::Tensor & bitwise_or_(
const at::Scalar & other)
const;
1122 at::Tensor & __ior__(
const at::Scalar & other)
const;
1126 at::Tensor & bitwise_xor_(
const at::Scalar & other)
const;
1130 at::Tensor & __ixor__(
const at::Scalar & other)
const;
1134 at::Tensor & __ilshift__(
const at::Scalar & other)
const;
1139 at::Tensor & bitwise_left_shift_(
const at::Scalar & other)
const;
1142 at::Tensor & __irshift__(
const at::Scalar & other)
const;
1147 at::Tensor & bitwise_right_shift_(
const at::Scalar & other)
const;
1148 at::Tensor & tril_(int64_t diagonal=0)
const;
1149 at::Tensor & triu_(int64_t diagonal=0)
const;
1170 at::Tensor & ne_(
const at::Scalar & other)
const;
1174 at::Tensor & not_equal_(
const at::Scalar & other)
const;
1180 at::Tensor & ge_(
const at::Scalar & other)
const;
1184 at::Tensor & greater_equal_(
const at::Scalar & other)
const;
1188 at::Tensor & le_(
const at::Scalar & other)
const;
1192 at::Tensor & less_equal_(
const at::Scalar & other)
const;
1196 at::Tensor & gt_(
const at::Scalar & other)
const;
1200 at::Tensor & greater_(
const at::Scalar & other)
const;
1204 at::Tensor & lt_(
const at::Scalar & other)
const;
1208 at::Tensor & less_(
const at::Scalar & other)
const;
1224 ::std::tuple<at::Tensor,at::Tensor>
triangular_solve(
const at::Tensor & A,
bool upper=
true,
bool transpose=
false,
bool unitriangular=
false)
const;
1225 ::std::tuple<at::Tensor,at::Tensor,at::Tensor>
svd(
bool some=
true,
bool compute_uv=
true)
const;
1227 at::Tensor & swapaxes_(int64_t axis0, int64_t axis1)
const;
1229 at::Tensor & swapdims_(int64_t dim0, int64_t dim1)
const;
1233 ::std::tuple<at::Tensor,at::Tensor>
qr(
bool some=
true)
const;
1234 ::std::tuple<at::Tensor,at::Tensor>
geqrf()
const;
1258 at::Tensor histc(int64_t bins=100,
const at::Scalar & min=0,
const at::Scalar & max=0)
const;
1262 at::Tensor & fmod_(
const at::Scalar & other)
const;
1274 at::Tensor & remainder_(
const at::Scalar & other)
const;
1289 ::std::tuple<at::Tensor,at::Tensor>
sort(int64_t dim=-1,
bool descending=
false)
const;
1290 ::std::tuple<at::Tensor,at::Tensor>
sort(
c10::optional<bool> stable, int64_t dim=-1,
bool descending=
false)
const;
1291 ::std::tuple<at::Tensor,at::Tensor>
sort(at::Dimname dim,
bool descending=
false)
const;
1292 ::std::tuple<at::Tensor,at::Tensor>
sort(
c10::optional<bool> stable, at::Dimname dim,
bool descending=
false)
const;
1297 ::std::tuple<at::Tensor,at::Tensor>
topk(int64_t k, int64_t dim=-1,
bool largest=
true,
bool sorted=
true)
const;
1300 at::Tensor renorm(
const at::Scalar & p, int64_t dim,
const at::Scalar & maxnorm)
const;
1301 at::Tensor & renorm_(
const at::Scalar & p, int64_t dim,
const at::Scalar & maxnorm)
const;
1302 at::Tensor unfold(int64_t dimension, int64_t size, int64_t step)
const;
1306 at::Tensor & pow_(
const at::Scalar & exponent)
const;
1310 at::Tensor & float_power_(
const at::Scalar & exponent)
const;
1320 ::std::tuple<at::Tensor,at::Tensor>
slogdet()
const;
1327 at::Tensor to_padded_tensor_symint(
double padding, at::OptionalSymIntArrayRef output_size=
c10::nullopt)
const;
1334 return var(IntArrayRef{dim});
1338 return std(IntArrayRef{dim});
1346 inline Tensor to(caffe2::TypeMeta type_meta,
bool non_blocking=
false,
bool copy=
false)
const {
1347 return this->to(typeMetaToScalarType(type_meta), non_blocking,
copy);
1349 inline Tensor to(Device device, caffe2::TypeMeta type_meta,
bool non_blocking=
false,
bool copy=
false)
const {
1350 return this->to(device, typeMetaToScalarType(type_meta), non_blocking,
copy);
1353 template <
typename F,
typename... Args>
1354 decltype(
auto)
m(F func, Args&&... params)
const {
1355 return func(*
this, std::forward<Args>(params)...);
1367 return TensorBase::tensor_data();
1382 return TensorBase::variable_data();
1388 template <
typename T>
1389 using hook_return_void_t = std::enable_if_t<std::is_void<typename c10::invoke_result_t<T&, Tensor>>::value,
unsigned>;
1390 template <
typename T>
1423 template <
typename T>
1425 template <
typename T>
1432 return TensorBase::data();
1438 TensorBase::requires_grad_(_requires_grad);
1447template <
typename T,
typename... Args>
1449 return Tensor(c10::make_intrusive<T>(std::forward<Args>(args)...));
1461 return at::_ops::_backward::call(
const_cast<Tensor&
>(*
this), inputs,
gradient, retain_graph, create_graph);
1466 return at::_ops::set_data::call(
const_cast<Tensor&
>(*
this), new_data);
1471 return at::_ops::data::call(
const_cast<Tensor&
>(*
this));
1476 return at::_ops::is_leaf::call(
const_cast<Tensor&
>(*
this));
1481 return at::_ops::output_nr::call(
const_cast<Tensor&
>(*
this));
1486 return at::_ops::_version::call(
const_cast<Tensor&
>(*
this));
1496 return at::_ops::retain_grad::call(
const_cast<Tensor&
>(*
this));
1501 return at::_ops::retains_grad::call(
const_cast<Tensor&
>(*
this));
1506 return at::_ops::_fw_primal::call(
const_cast<Tensor&
>(*
this), level);
1511 return at::_ops::rename_::call(
const_cast<Tensor&
>(*
this),
names);
1516 return at::_ops::rename::call(
const_cast<Tensor&
>(*
this),
names);
1521 return at::_ops::align_to::call(
const_cast<Tensor&
>(*
this),
names);
1526 return at::_ops::align_to_ellipsis_idx::call(
const_cast<Tensor&
>(*
this), order, ellipsis_idx);
1531 return at::_ops::align_as::call(
const_cast<Tensor&
>(*
this), other);
1536 return at::_ops::refine_names::call(
const_cast<Tensor&
>(*
this),
names);
1541 return at::_ops::abs::call(
const_cast<Tensor&
>(*
this));
1546 return at::_ops::abs_::call(
const_cast<Tensor&
>(*
this));
1551 return at::_ops::absolute::call(
const_cast<Tensor&
>(*
this));
1556 return at::_ops::absolute_::call(
const_cast<Tensor&
>(*
this));
1561 return at::_ops::angle::call(
const_cast<Tensor&
>(*
this));
1566 return at::_ops::sgn::call(
const_cast<Tensor&
>(*
this));
1571 return at::_ops::sgn_::call(
const_cast<Tensor&
>(*
this));
1576 return at::_ops::chalf::call(
const_cast<Tensor&
>(*
this), memory_format);
1581 return at::_ops::_conj::call(
const_cast<Tensor&
>(*
this));
1586 return at::_ops::conj::call(
const_cast<Tensor&
>(*
this));
1591 return at::_ops::_conj_physical::call(
const_cast<Tensor&
>(*
this));
1596 return at::_ops::conj_physical::call(
const_cast<Tensor&
>(*
this));
1601 return at::_ops::conj_physical_::call(
const_cast<Tensor&
>(*
this));
1606 return at::_ops::resolve_conj::call(
const_cast<Tensor&
>(*
this));
1611 return at::_ops::resolve_neg::call(
const_cast<Tensor&
>(*
this));
1616 return at::_ops::_neg_view::call(
const_cast<Tensor&
>(*
this));
1621 return at::_ops::acos::call(
const_cast<Tensor&
>(*
this));
1626 return at::_ops::acos_::call(
const_cast<Tensor&
>(*
this));
1631 return at::_ops::arccos::call(
const_cast<Tensor&
>(*
this));
1636 return at::_ops::arccos_::call(
const_cast<Tensor&
>(*
this));
1641 return at::_ops::add_Tensor::call(
const_cast<Tensor&
>(*
this), other, alpha);
1646 return at::_ops::add__Tensor::call(
const_cast<Tensor&
>(*
this), other, alpha);
1651 return at::_ops::add_Scalar::call(
const_cast<Tensor&
>(*
this), other, alpha);
1656 return at::_ops::add__Scalar::call(
const_cast<Tensor&
>(*
this), other, alpha);
1661 return at::_ops::addmv::call(
const_cast<Tensor&
>(*
this), mat, vec, beta, alpha);
1666 return at::_ops::addmv_::call(
const_cast<Tensor&
>(*
this), mat, vec, beta, alpha);
1671 return at::_ops::addr::call(
const_cast<Tensor&
>(*
this), vec1, vec2, beta, alpha);
1676 return at::_ops::addr_::call(
const_cast<Tensor&
>(*
this), vec1, vec2, beta, alpha);
1681 return at::_ops::_is_all_true::call(
const_cast<Tensor&
>(*
this));
1686 return at::_ops::_is_any_true::call(
const_cast<Tensor&
>(*
this));
1691 return at::_ops::all_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
1696 return at::_ops::all_dimname::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
1701 return at::_ops::allclose::call(
const_cast<Tensor&
>(*
this), other, rtol, atol, equal_nan);
1706 return at::_ops::any_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
1711 return at::_ops::any_dimname::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
1716 return at::_ops::argmax::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
1721 return at::_ops::argmin::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
1726 return at::_ops::acosh::call(
const_cast<Tensor&
>(*
this));
1731 return at::_ops::acosh_::call(
const_cast<Tensor&
>(*
this));
1736 return at::_ops::arccosh::call(
const_cast<Tensor&
>(*
this));
1741 return at::_ops::arccosh_::call(
const_cast<Tensor&
>(*
this));
1746 return at::_ops::asinh::call(
const_cast<Tensor&
>(*
this));
1751 return at::_ops::asinh_::call(
const_cast<Tensor&
>(*
this));
1756 return at::_ops::arcsinh::call(
const_cast<Tensor&
>(*
this));
1761 return at::_ops::arcsinh_::call(
const_cast<Tensor&
>(*
this));
1766 return at::_ops::atanh::call(
const_cast<Tensor&
>(*
this));
1771 return at::_ops::atanh_::call(
const_cast<Tensor&
>(*
this));
1776 return at::_ops::arctanh::call(
const_cast<Tensor&
>(*
this));
1781 return at::_ops::arctanh_::call(
const_cast<Tensor&
>(*
this));
1806 return at::_ops::asin::call(
const_cast<Tensor&
>(*
this));
1811 return at::_ops::asin_::call(
const_cast<Tensor&
>(*
this));
1816 return at::_ops::arcsin::call(
const_cast<Tensor&
>(*
this));
1821 return at::_ops::arcsin_::call(
const_cast<Tensor&
>(*
this));
1826 return at::_ops::atan::call(
const_cast<Tensor&
>(*
this));
1831 return at::_ops::atan_::call(
const_cast<Tensor&
>(*
this));
1836 return at::_ops::arctan::call(
const_cast<Tensor&
>(*
this));
1841 return at::_ops::arctan_::call(
const_cast<Tensor&
>(*
this));
1846 return at::_ops::baddbmm::call(
const_cast<Tensor&
>(*
this), batch1, batch2, beta, alpha);
1851 return at::_ops::baddbmm_::call(
const_cast<Tensor&
>(*
this), batch1, batch2, beta, alpha);
1856 return at::_ops::bernoulli::call(
const_cast<Tensor&
>(*
this), generator);
1861 return at::_ops::bernoulli__Tensor::call(
const_cast<Tensor&
>(*
this), p, generator);
1866 return at::_ops::bernoulli__float::call(
const_cast<Tensor&
>(*
this), p, generator);
1871 return at::_ops::bernoulli_p::call(
const_cast<Tensor&
>(*
this), p, generator);
1876 return at::_ops::bincount::call(
const_cast<Tensor&
>(*
this), weights, minlength);
1881 return at::_ops::bitwise_not::call(
const_cast<Tensor&
>(*
this));
1886 return at::_ops::bitwise_not_::call(
const_cast<Tensor&
>(*
this));
1891 return at::_ops::copysign_Tensor::call(
const_cast<Tensor&
>(*
this), other);
1896 return at::_ops::copysign__Tensor::call(
const_cast<Tensor&
>(*
this), other);
1901 return at::_ops::copysign_Scalar::call(
const_cast<Tensor&
>(*
this), other);
1906 return at::_ops::copysign__Scalar::call(
const_cast<Tensor&
>(*
this), other);
1911 return at::_ops::logical_not::call(
const_cast<Tensor&
>(*
this));
1916 return at::_ops::logical_not_::call(
const_cast<Tensor&
>(*
this));
1921 return at::_ops::logical_xor::call(
const_cast<Tensor&
>(*
this), other);
1926 return at::_ops::logical_xor_::call(
const_cast<Tensor&
>(*
this), other);
1931 return at::_ops::logical_and::call(
const_cast<Tensor&
>(*
this), other);
1936 return at::_ops::logical_and_::call(
const_cast<Tensor&
>(*
this), other);
1941 return at::_ops::logical_or::call(
const_cast<Tensor&
>(*
this), other);
1946 return at::_ops::logical_or_::call(
const_cast<Tensor&
>(*
this), other);
1951 return at::_ops::bmm::call(
const_cast<Tensor&
>(*
this), mat2);
1956 return at::_ops::broadcast_to::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size));
1961 return at::_ops::broadcast_to::call(
const_cast<Tensor&
>(*
this),
size);
1966 return at::_ops::ceil::call(
const_cast<Tensor&
>(*
this));
1971 return at::_ops::ceil_::call(
const_cast<Tensor&
>(*
this));
1976 return at::_ops::unsafe_chunk::call(
const_cast<Tensor&
>(*
this), chunks,
dim);
1980inline ::std::vector<at::Tensor>
Tensor::chunk(int64_t chunks, int64_t dim)
const {
1981 return at::_ops::chunk::call(
const_cast<Tensor&
>(*
this), chunks,
dim);
1986 return at::_ops::tensor_split_sections::call(
const_cast<Tensor&
>(*
this), sections,
dim);
1991 return at::_ops::tensor_split_sections::call(
const_cast<Tensor&
>(*
this), sections,
dim);
1996 return at::_ops::tensor_split_indices::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
indices),
dim);
2001 return at::_ops::tensor_split_indices::call(
const_cast<Tensor&
>(*
this),
indices,
dim);
2006 return at::_ops::tensor_split_tensor_indices_or_sections::call(
const_cast<Tensor&
>(*
this), tensor_indices_or_sections,
dim);
2011 return at::_ops::clamp::call(
const_cast<Tensor&
>(*
this),
min,
max);
2016 return at::_ops::clamp_Tensor::call(
const_cast<Tensor&
>(*
this),
min,
max);
2021 return at::_ops::clamp_::call(
const_cast<Tensor&
>(*
this),
min,
max);
2026 return at::_ops::clamp__Tensor::call(
const_cast<Tensor&
>(*
this),
min,
max);
2031 return at::_ops::clamp_max::call(
const_cast<Tensor&
>(*
this),
max);
2036 return at::_ops::clamp_max_Tensor::call(
const_cast<Tensor&
>(*
this),
max);
2041 return at::_ops::clamp_max_::call(
const_cast<Tensor&
>(*
this),
max);
2046 return at::_ops::clamp_max__Tensor::call(
const_cast<Tensor&
>(*
this),
max);
2051 return at::_ops::clamp_min::call(
const_cast<Tensor&
>(*
this),
min);
2056 return at::_ops::clamp_min_Tensor::call(
const_cast<Tensor&
>(*
this),
min);
2061 return at::_ops::clamp_min_::call(
const_cast<Tensor&
>(*
this),
min);
2066 return at::_ops::clamp_min__Tensor::call(
const_cast<Tensor&
>(*
this),
min);
2071 return at::_ops::clip::call(
const_cast<Tensor&
>(*
this),
min,
max);
2076 return at::_ops::clip_Tensor::call(
const_cast<Tensor&
>(*
this),
min,
max);
2081 return at::_ops::clip_::call(
const_cast<Tensor&
>(*
this),
min,
max);
2086 return at::_ops::clip__Tensor::call(
const_cast<Tensor&
>(*
this),
min,
max);
2091 return at::_ops::contiguous::call(
const_cast<Tensor&
>(*
this), memory_format);
2096 return at::_ops::copy_::call(
const_cast<Tensor&
>(*
this), src, non_blocking);
2101 return at::_ops::cos::call(
const_cast<Tensor&
>(*
this));
2106 return at::_ops::cos_::call(
const_cast<Tensor&
>(*
this));
2111 return at::_ops::cosh::call(
const_cast<Tensor&
>(*
this));
2116 return at::_ops::cosh_::call(
const_cast<Tensor&
>(*
this));
2121 return at::_ops::count_nonzero_dim_IntList::call(
const_cast<Tensor&
>(*
this),
dim);
2126 return at::_ops::count_nonzero::call(
const_cast<Tensor&
>(*
this),
dim);
2131 return at::_ops::cov::call(
const_cast<Tensor&
>(*
this), correction, fweights, aweights);
2136 return at::_ops::corrcoef::call(
const_cast<Tensor&
>(*
this));
2141 return at::_ops::cummax::call(
const_cast<Tensor&
>(*
this),
dim);
2146 return at::_ops::cummax_dimname::call(
const_cast<Tensor&
>(*
this),
dim);
2151 return at::_ops::cummin::call(
const_cast<Tensor&
>(*
this),
dim);
2156 return at::_ops::cummin_dimname::call(
const_cast<Tensor&
>(*
this),
dim);
2161 return at::_ops::cumprod::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2166 return at::_ops::cumprod_::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2171 return at::_ops::cumprod_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2176 return at::_ops::cumprod__dimname::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2181 return at::_ops::cumsum::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2186 return at::_ops::cumsum_::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2191 return at::_ops::cumsum_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2196 return at::_ops::cumsum__dimname::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2201 return at::_ops::diag_embed::call(
const_cast<Tensor&
>(*
this), offset, dim1, dim2);
2206 return at::_ops::diagflat::call(
const_cast<Tensor&
>(*
this), offset);
2211 return at::_ops::diagonal::call(
const_cast<Tensor&
>(*
this), offset, dim1, dim2);
2216 return at::_ops::diagonal_Dimname::call(
const_cast<Tensor&
>(*
this), outdim, dim1, dim2, offset);
2221 return at::_ops::fill_diagonal_::call(
const_cast<Tensor&
>(*
this), fill_value, wrap);
2226 return at::_ops::diff::call(
const_cast<Tensor&
>(*
this), n,
dim, prepend, append);
2231 return at::_ops::div_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2236 return at::_ops::div__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2241 return at::_ops::div_Tensor_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2246 return at::_ops::div__Tensor_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2251 return at::_ops::div_Scalar::call(
const_cast<Tensor&
>(*
this), other);
2256 return at::_ops::div__Scalar::call(
const_cast<Tensor&
>(*
this), other);
2261 return at::_ops::div_Scalar_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2266 return at::_ops::div__Scalar_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2271 return at::_ops::divide_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2276 return at::_ops::divide__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2281 return at::_ops::divide_Scalar::call(
const_cast<Tensor&
>(*
this), other);
2286 return at::_ops::divide__Scalar::call(
const_cast<Tensor&
>(*
this), other);
2291 return at::_ops::divide_Tensor_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2296 return at::_ops::divide__Tensor_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2301 return at::_ops::divide_Scalar_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2306 return at::_ops::divide__Scalar_mode::call(
const_cast<Tensor&
>(*
this), other, rounding_mode);
2311 return at::_ops::true_divide_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2316 return at::_ops::true_divide__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2321 return at::_ops::true_divide_Scalar::call(
const_cast<Tensor&
>(*
this), other);
2326 return at::_ops::true_divide__Scalar::call(
const_cast<Tensor&
>(*
this), other);
2331 return at::_ops::dot::call(
const_cast<Tensor&
>(*
this), tensor);
2336 return at::_ops::vdot::call(
const_cast<Tensor&
>(*
this), other);
2341 return at::_ops::new_empty::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2351 return at::_ops::new_empty::call(
const_cast<Tensor&
>(*
this),
size, optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2361 return at::_ops::new_empty_strided::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), c10::fromIntArrayRefSlow(
stride), optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2381 return at::_ops::new_full::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), fill_value, optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2391 return at::_ops::new_full::call(
const_cast<Tensor&
>(*
this),
size, fill_value, optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2401 return at::_ops::new_zeros::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2411 return at::_ops::new_zeros::call(
const_cast<Tensor&
>(*
this),
size, optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2421 return at::_ops::new_ones::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2431 return at::_ops::new_ones::call(
const_cast<Tensor&
>(*
this),
size, optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt());
2441 return at::_ops::resize_::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), memory_format);
2446 return at::_ops::resize_::call(
const_cast<Tensor&
>(*
this),
size, memory_format);
2451 return at::_ops::erf::call(
const_cast<Tensor&
>(*
this));
2456 return at::_ops::erf_::call(
const_cast<Tensor&
>(*
this));
2461 return at::_ops::erfc::call(
const_cast<Tensor&
>(*
this));
2466 return at::_ops::erfc_::call(
const_cast<Tensor&
>(*
this));
2471 return at::_ops::exp::call(
const_cast<Tensor&
>(*
this));
2476 return at::_ops::exp_::call(
const_cast<Tensor&
>(*
this));
2481 return at::_ops::exp2::call(
const_cast<Tensor&
>(*
this));
2486 return at::_ops::exp2_::call(
const_cast<Tensor&
>(*
this));
2491 return at::_ops::expm1::call(
const_cast<Tensor&
>(*
this));
2496 return at::_ops::expm1_::call(
const_cast<Tensor&
>(*
this));
2501 return at::_ops::expand::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), implicit);
2506 return at::_ops::expand::call(
const_cast<Tensor&
>(*
this),
size, implicit);
2511 return at::_ops::expand_as::call(
const_cast<Tensor&
>(*
this), other);
2516 return at::_ops::flatten_using_ints::call(
const_cast<Tensor&
>(*
this), start_dim, end_dim);
2521 return at::_ops::flatten_named_out_dim::call(
const_cast<Tensor&
>(*
this), start_dim, end_dim, out_dim);
2526 return at::_ops::flatten_using_names::call(
const_cast<Tensor&
>(*
this), start_dim, end_dim, out_dim);
2531 return at::_ops::flatten_DimnameList::call(
const_cast<Tensor&
>(*
this), dims, out_dim);
2536 return at::_ops::unflatten_int::call(
const_cast<Tensor&
>(*
this),
dim,
sizes);
2546 return at::_ops::fill__Scalar::call(
const_cast<Tensor&
>(*
this), value);
2551 return at::_ops::fill__Tensor::call(
const_cast<Tensor&
>(*
this), value);
2556 return at::_ops::floor::call(
const_cast<Tensor&
>(*
this));
2561 return at::_ops::floor_::call(
const_cast<Tensor&
>(*
this));
2566 return at::_ops::floor_divide::call(
const_cast<Tensor&
>(*
this), other);
2571 return at::_ops::floor_divide__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2576 return at::_ops::floor_divide_Scalar::call(
const_cast<Tensor&
>(*
this), other);
2581 return at::_ops::floor_divide__Scalar::call(
const_cast<Tensor&
>(*
this), other);
2586 return at::_ops::frac::call(
const_cast<Tensor&
>(*
this));
2591 return at::_ops::frac_::call(
const_cast<Tensor&
>(*
this));
2596 return at::_ops::gcd::call(
const_cast<Tensor&
>(*
this), other);
2601 return at::_ops::gcd_::call(
const_cast<Tensor&
>(*
this), other);
2606 return at::_ops::lcm::call(
const_cast<Tensor&
>(*
this), other);
2611 return at::_ops::lcm_::call(
const_cast<Tensor&
>(*
this), other);
2616 return at::_ops::index_Tensor::call(
const_cast<Tensor&
>(*
this),
indices);
2621 return at::_ops::index_copy_::call(
const_cast<Tensor&
>(*
this),
dim,
index, source);
2626 return at::_ops::index_copy::call(
const_cast<Tensor&
>(*
this),
dim,
index, source);
2631 return at::_ops::index_copy__dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index, source);
2636 return at::_ops::index_copy_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index, source);
2641 return at::_ops::index_put_::call(
const_cast<Tensor&
>(*
this),
indices,
values, accumulate);
2646 return at::_ops::index_put::call(
const_cast<Tensor&
>(*
this),
indices,
values, accumulate);
2651 return at::_ops::isclose::call(
const_cast<Tensor&
>(*
this), other, rtol, atol, equal_nan);
2656 return at::_ops::isnan::call(
const_cast<Tensor&
>(*
this));
2661 return at::_ops::is_distributed::call(
const_cast<Tensor&
>(*
this));
2666 return at::_ops::is_floating_point::call(
const_cast<Tensor&
>(*
this));
2671 return at::_ops::is_complex::call(
const_cast<Tensor&
>(*
this));
2676 return at::_ops::is_conj::call(
const_cast<Tensor&
>(*
this));
2681 return at::_ops::_is_zerotensor::call(
const_cast<Tensor&
>(*
this));
2686 return at::_ops::is_neg::call(
const_cast<Tensor&
>(*
this));
2691 return at::_ops::isreal::call(
const_cast<Tensor&
>(*
this));
2696 return at::_ops::is_nonzero::call(
const_cast<Tensor&
>(*
this));
2701 return at::_ops::is_same_size::call(
const_cast<Tensor&
>(*
this), other);
2706 return at::_ops::is_signed::call(
const_cast<Tensor&
>(*
this));
2711 return at::_ops::is_inference::call(
const_cast<Tensor&
>(*
this));
2716 return at::_ops::kron::call(
const_cast<Tensor&
>(*
this), other);
2720inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::kthvalue(int64_t k, int64_t dim,
bool keepdim)
const {
2721 return at::_ops::kthvalue::call(
const_cast<Tensor&
>(*
this), k,
dim, keepdim);
2725inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::kthvalue(int64_t k, at::Dimname dim,
bool keepdim)
const {
2726 return at::_ops::kthvalue_dimname::call(
const_cast<Tensor&
>(*
this), k,
dim, keepdim);
2731 return at::_ops::nan_to_num::call(
const_cast<Tensor&
>(*
this), nan, posinf, neginf);
2736 return at::_ops::nan_to_num_::call(
const_cast<Tensor&
>(*
this), nan, posinf, neginf);
2741 return at::_ops::ldexp_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2746 return at::_ops::ldexp_::call(
const_cast<Tensor&
>(*
this), other);
2751 return at::_ops::log::call(
const_cast<Tensor&
>(*
this));
2756 return at::_ops::log_::call(
const_cast<Tensor&
>(*
this));
2761 return at::_ops::log10::call(
const_cast<Tensor&
>(*
this));
2766 return at::_ops::log10_::call(
const_cast<Tensor&
>(*
this));
2771 return at::_ops::log1p::call(
const_cast<Tensor&
>(*
this));
2776 return at::_ops::log1p_::call(
const_cast<Tensor&
>(*
this));
2781 return at::_ops::log2::call(
const_cast<Tensor&
>(*
this));
2786 return at::_ops::log2_::call(
const_cast<Tensor&
>(*
this));
2791 return at::_ops::logaddexp::call(
const_cast<Tensor&
>(*
this), other);
2796 return at::_ops::logaddexp2::call(
const_cast<Tensor&
>(*
this), other);
2801 return at::_ops::xlogy_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2806 return at::_ops::xlogy_Scalar_Other::call(
const_cast<Tensor&
>(*
this), other);
2811 return at::_ops::xlogy__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2816 return at::_ops::xlogy__Scalar_Other::call(
const_cast<Tensor&
>(*
this), other);
2821 return at::_ops::log_softmax_int::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2826 return at::_ops::log_softmax_Dimname::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
2831 return at::_ops::logcumsumexp::call(
const_cast<Tensor&
>(*
this),
dim);
2836 return at::_ops::logcumsumexp_dimname::call(
const_cast<Tensor&
>(*
this),
dim);
2841 return at::_ops::logsumexp::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2846 return at::_ops::logsumexp_names::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2851 return at::_ops::matmul::call(
const_cast<Tensor&
>(*
this), other);
2856 return at::_ops::matrix_power::call(
const_cast<Tensor&
>(*
this), n);
2861 return at::_ops::matrix_exp::call(
const_cast<Tensor&
>(*
this));
2866 return at::_ops::aminmax::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2870inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::max(int64_t dim,
bool keepdim)
const {
2871 return at::_ops::max_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2875inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::max(at::Dimname dim,
bool keepdim)
const {
2876 return at::_ops::max_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2881 return at::_ops::amax::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2886 return at::_ops::mean::call(
const_cast<Tensor&
>(*
this),
dtype);
2891 return at::_ops::mean_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
2896 return at::_ops::mean_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
2901 return at::_ops::nanmean::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
2906 return at::_ops::median::call(
const_cast<Tensor&
>(*
this));
2910inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::median(int64_t dim,
bool keepdim)
const {
2911 return at::_ops::median_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2915inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::median(at::Dimname dim,
bool keepdim)
const {
2916 return at::_ops::median_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2921 return at::_ops::nanmedian::call(
const_cast<Tensor&
>(*
this));
2926 return at::_ops::nanmedian_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2931 return at::_ops::nanmedian_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2935inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::min(int64_t dim,
bool keepdim)
const {
2936 return at::_ops::min_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2940inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::min(at::Dimname dim,
bool keepdim)
const {
2941 return at::_ops::min_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2946 return at::_ops::amin::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2951 return at::_ops::mm::call(
const_cast<Tensor&
>(*
this), mat2);
2955inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::mode(int64_t dim,
bool keepdim)
const {
2956 return at::_ops::mode::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2960inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::mode(at::Dimname dim,
bool keepdim)
const {
2961 return at::_ops::mode_dimname::call(
const_cast<Tensor&
>(*
this),
dim, keepdim);
2966 return at::_ops::mul_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2971 return at::_ops::mul__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2976 return at::_ops::mul_Scalar::call(
const_cast<Tensor&
>(*
this), other);
2981 return at::_ops::mul__Scalar::call(
const_cast<Tensor&
>(*
this), other);
2986 return at::_ops::multiply_Tensor::call(
const_cast<Tensor&
>(*
this), other);
2991 return at::_ops::multiply__Tensor::call(
const_cast<Tensor&
>(*
this), other);
2996 return at::_ops::multiply_Scalar::call(
const_cast<Tensor&
>(*
this), other);
3001 return at::_ops::multiply__Scalar::call(
const_cast<Tensor&
>(*
this), other);
3006 return at::_ops::mv::call(
const_cast<Tensor&
>(*
this), vec);
3011 return at::_ops::mvlgamma::call(
const_cast<Tensor&
>(*
this), p);
3016 return at::_ops::mvlgamma_::call(
const_cast<Tensor&
>(*
this), p);
3021 return at::_ops::narrow_copy::call(
const_cast<Tensor&
>(*
this),
dim, start, length);
3026 return at::_ops::narrow_copy::call(
const_cast<Tensor&
>(*
this),
dim, start, length);
3031 return at::_ops::narrow::call(
const_cast<Tensor&
>(*
this),
dim, start, length);
3036 return at::_ops::narrow::call(
const_cast<Tensor&
>(*
this),
dim, start, length);
3041 return at::_ops::narrow_Tensor::call(
const_cast<Tensor&
>(*
this),
dim, start, length);
3046 return at::_ops::narrow_Tensor::call(
const_cast<Tensor&
>(*
this),
dim, start, length);
3051 return at::_ops::permute::call(
const_cast<Tensor&
>(*
this), dims);
3056 return at::_ops::movedim_intlist::call(
const_cast<Tensor&
>(*
this), source, destination);
3061 return at::_ops::movedim_int::call(
const_cast<Tensor&
>(*
this), source, destination);
3066 return at::_ops::moveaxis_intlist::call(
const_cast<Tensor&
>(*
this), source, destination);
3071 return at::_ops::moveaxis_int::call(
const_cast<Tensor&
>(*
this), source, destination);
3076 return at::_ops::numpy_T::call(
const_cast<Tensor&
>(*
this));
3081 return at::_ops::matrix_H::call(
const_cast<Tensor&
>(*
this));
3086 return at::_ops::mT::call(
const_cast<Tensor&
>(*
this));
3091 return at::_ops::mH::call(
const_cast<Tensor&
>(*
this));
3096 return at::_ops::adjoint::call(
const_cast<Tensor&
>(*
this));
3101 return at::_ops::is_pinned::call(
const_cast<Tensor&
>(*
this),
device);
3106 return at::_ops::pin_memory::call(
const_cast<Tensor&
>(*
this),
device);
3111 return at::_ops::pinverse::call(
const_cast<Tensor&
>(*
this), rcond);
3116 return at::_ops::rad2deg::call(
const_cast<Tensor&
>(*
this));
3121 return at::_ops::rad2deg_::call(
const_cast<Tensor&
>(*
this));
3126 return at::_ops::deg2rad::call(
const_cast<Tensor&
>(*
this));
3131 return at::_ops::deg2rad_::call(
const_cast<Tensor&
>(*
this));
3136 return at::_ops::ravel::call(
const_cast<Tensor&
>(*
this));
3141 return at::_ops::reciprocal::call(
const_cast<Tensor&
>(*
this));
3146 return at::_ops::reciprocal_::call(
const_cast<Tensor&
>(*
this));
3151 return at::_ops::neg::call(
const_cast<Tensor&
>(*
this));
3156 return at::_ops::neg_::call(
const_cast<Tensor&
>(*
this));
3161 return at::_ops::negative::call(
const_cast<Tensor&
>(*
this));
3166 return at::_ops::negative_::call(
const_cast<Tensor&
>(*
this));
3171 return at::_ops::repeat::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(repeats));
3176 return at::_ops::repeat::call(
const_cast<Tensor&
>(*
this), repeats);
3181 return at::_ops::repeat_interleave_self_Tensor::call(
const_cast<Tensor&
>(*
this), repeats,
dim, output_size);
3186 return at::_ops::repeat_interleave_self_int::call(
const_cast<Tensor&
>(*
this), repeats,
dim, output_size);
3191 return at::_ops::repeat_interleave_self_int::call(
const_cast<Tensor&
>(*
this), repeats,
dim, output_size);
3196 return at::_ops::reshape::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(shape));
3201 return at::_ops::reshape::call(
const_cast<Tensor&
>(*
this), shape);
3206 return at::_ops::_reshape_alias::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size), c10::fromIntArrayRefSlow(
stride));
3211 return at::_ops::_reshape_alias::call(
const_cast<Tensor&
>(*
this),
size,
stride);
3216 return at::_ops::reshape_as::call(
const_cast<Tensor&
>(*
this), other);
3221 return at::_ops::round::call(
const_cast<Tensor&
>(*
this));
3226 return at::_ops::round_::call(
const_cast<Tensor&
>(*
this));
3231 return at::_ops::round_decimals::call(
const_cast<Tensor&
>(*
this), decimals);
3236 return at::_ops::round__decimals::call(
const_cast<Tensor&
>(*
this), decimals);
3241 return at::_ops::relu::call(
const_cast<Tensor&
>(*
this));
3246 return at::_ops::relu_::call(
const_cast<Tensor&
>(*
this));
3251 return at::_ops::prelu::call(
const_cast<Tensor&
>(*
this), weight);
3256 return at::_ops::hardshrink::call(
const_cast<Tensor&
>(*
this), lambd);
3261 return at::_ops::hardshrink_backward::call(grad_out,
const_cast<Tensor&
>(*
this), lambd);
3266 return at::_ops::rsqrt::call(
const_cast<Tensor&
>(*
this));
3271 return at::_ops::rsqrt_::call(
const_cast<Tensor&
>(*
this));
3276 return at::_ops::select_Dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index);
3281 return at::_ops::select_int::call(
const_cast<Tensor&
>(*
this),
dim,
index);
3286 return at::_ops::select_int::call(
const_cast<Tensor&
>(*
this),
dim,
index);
3291 return at::_ops::sigmoid::call(
const_cast<Tensor&
>(*
this));
3296 return at::_ops::sigmoid_::call(
const_cast<Tensor&
>(*
this));
3301 return at::_ops::logit::call(
const_cast<Tensor&
>(*
this), eps);
3306 return at::_ops::logit_::call(
const_cast<Tensor&
>(*
this), eps);
3311 return at::_ops::sin::call(
const_cast<Tensor&
>(*
this));
3316 return at::_ops::sin_::call(
const_cast<Tensor&
>(*
this));
3321 return at::_ops::sinc::call(
const_cast<Tensor&
>(*
this));
3326 return at::_ops::sinc_::call(
const_cast<Tensor&
>(*
this));
3331 return at::_ops::sinh::call(
const_cast<Tensor&
>(*
this));
3336 return at::_ops::sinh_::call(
const_cast<Tensor&
>(*
this));
3341 return at::_ops::detach::call(
const_cast<Tensor&
>(*
this));
3346 return at::_ops::detach_::call(
const_cast<Tensor&
>(*
this));
3351 return at::_ops::size_Dimname::call(
const_cast<Tensor&
>(*
this),
dim);
3361 return at::_ops::slice_Tensor::call(
const_cast<Tensor&
>(*
this),
dim, start, end, step);
3371 return at::_ops::slice_scatter::call(
const_cast<Tensor&
>(*
this), src,
dim, start, end, step);
3376 return at::_ops::select_scatter::call(
const_cast<Tensor&
>(*
this), src,
dim,
index);
3381 return at::_ops::select_scatter::call(
const_cast<Tensor&
>(*
this), src,
dim,
index);
3386 return at::_ops::diagonal_scatter::call(
const_cast<Tensor&
>(*
this), src, offset, dim1, dim2);
3401 return at::_ops::smm::call(
const_cast<Tensor&
>(*
this), mat2);
3406 return at::_ops::softmax_int::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
3411 return at::_ops::softmax_Dimname::call(
const_cast<Tensor&
>(*
this),
dim,
dtype);
3416 return at::_ops::unsafe_split_Tensor::call(
const_cast<Tensor&
>(*
this), split_size,
dim);
3421 return at::_ops::unsafe_split_Tensor::call(
const_cast<Tensor&
>(*
this), split_size,
dim);
3425inline ::std::vector<at::Tensor>
Tensor::split(int64_t split_size, int64_t dim)
const {
3426 return at::_ops::split_Tensor::call(
const_cast<Tensor&
>(*
this), split_size,
dim);
3431 return at::_ops::split_Tensor::call(
const_cast<Tensor&
>(*
this), split_size,
dim);
3435inline ::std::vector<at::Tensor>
Tensor::split(at::IntArrayRef split_size, int64_t dim)
const {
3436 return at::_ops::split_sizes::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(split_size),
dim);
3441 return at::_ops::split_sizes::call(
const_cast<Tensor&
>(*
this), split_size,
dim);
3446 return at::_ops::unsafe_split_with_sizes::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(split_sizes),
dim);
3451 return at::_ops::unsafe_split_with_sizes::call(
const_cast<Tensor&
>(*
this), split_sizes,
dim);
3456 return at::_ops::split_with_sizes::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(split_sizes),
dim);
3461 return at::_ops::split_with_sizes::call(
const_cast<Tensor&
>(*
this), split_sizes,
dim);
3466 return at::_ops::hsplit_int::call(
const_cast<Tensor&
>(*
this), sections);
3471 return at::_ops::hsplit_array::call(
const_cast<Tensor&
>(*
this),
indices);
3476 return at::_ops::vsplit_int::call(
const_cast<Tensor&
>(*
this), sections);
3481 return at::_ops::vsplit_array::call(
const_cast<Tensor&
>(*
this),
indices);
3486 return at::_ops::dsplit_int::call(
const_cast<Tensor&
>(*
this), sections);
3491 return at::_ops::dsplit_array::call(
const_cast<Tensor&
>(*
this),
indices);
3496 return at::_ops::squeeze::call(
const_cast<Tensor&
>(*
this));
3501 return at::_ops::squeeze_dim::call(
const_cast<Tensor&
>(*
this),
dim);
3506 return at::_ops::squeeze_dimname::call(
const_cast<Tensor&
>(*
this),
dim);
3511 return at::_ops::squeeze_dims::call(
const_cast<Tensor&
>(*
this),
dim);
3516 return at::_ops::squeeze_::call(
const_cast<Tensor&
>(*
this));
3521 return at::_ops::squeeze__dim::call(
const_cast<Tensor&
>(*
this),
dim);
3526 return at::_ops::squeeze__dims::call(
const_cast<Tensor&
>(*
this),
dim);
3531 return at::_ops::squeeze__dimname::call(
const_cast<Tensor&
>(*
this),
dim);
3536 return at::_ops::sspaddmm::call(
const_cast<Tensor&
>(*
this), mat1, mat2, beta, alpha);
3541 return at::_ops::stft::call(
const_cast<Tensor&
>(*
this), n_fft, hop_length, win_length, window, normalized, onesided, return_complex);
3546 return at::_ops::stft_center::call(
const_cast<Tensor&
>(*
this), n_fft, hop_length, win_length, window, center, pad_mode, normalized, onesided, return_complex);
3551 return at::_ops::istft::call(
const_cast<Tensor&
>(*
this), n_fft, hop_length, win_length, window, center, normalized, onesided, length, return_complex);
3556 return at::_ops::stride_Dimname::call(
const_cast<Tensor&
>(*
this),
dim);
3561 return at::_ops::sum::call(
const_cast<Tensor&
>(*
this),
dtype);
3566 return at::_ops::sum_dim_IntList::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
3571 return at::_ops::sum_dim_DimnameList::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
3576 return at::_ops::nansum::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
3581 return at::_ops::sum_to_size::call(
const_cast<Tensor&
>(*
this),
size);
3586 return at::_ops::sqrt::call(
const_cast<Tensor&
>(*
this));
3591 return at::_ops::sqrt_::call(
const_cast<Tensor&
>(*
this));
3596 return at::_ops::square::call(
const_cast<Tensor&
>(*
this));
3601 return at::_ops::square_::call(
const_cast<Tensor&
>(*
this));
3606 return at::_ops::std::call(
const_cast<Tensor&
>(*
this), unbiased);
3611 return at::_ops::std_dim::call(
const_cast<Tensor&
>(*
this),
dim, unbiased, keepdim);
3616 return at::_ops::std_correction::call(
const_cast<Tensor&
>(*
this),
dim, correction, keepdim);
3621 return at::_ops::std_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, unbiased, keepdim);
3626 return at::_ops::std_correction_names::call(
const_cast<Tensor&
>(*
this),
dim, correction, keepdim);
3631 return at::_ops::prod::call(
const_cast<Tensor&
>(*
this),
dtype);
3636 return at::_ops::prod_dim_int::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
3641 return at::_ops::prod_dim_Dimname::call(
const_cast<Tensor&
>(*
this),
dim, keepdim,
dtype);
3646 return at::_ops::t::call(
const_cast<Tensor&
>(*
this));
3651 return at::_ops::t_::call(
const_cast<Tensor&
>(*
this));
3656 return at::_ops::tan::call(
const_cast<Tensor&
>(*
this));
3661 return at::_ops::tan_::call(
const_cast<Tensor&
>(*
this));
3666 return at::_ops::tanh::call(
const_cast<Tensor&
>(*
this));
3671 return at::_ops::tanh_::call(
const_cast<Tensor&
>(*
this));
3676 return at::_ops::tile::call(
const_cast<Tensor&
>(*
this), dims);
3681 return at::_ops::transpose_int::call(
const_cast<Tensor&
>(*
this), dim0, dim1);
3686 return at::_ops::transpose_Dimname::call(
const_cast<Tensor&
>(*
this), dim0, dim1);
3691 return at::_ops::transpose_::call(
const_cast<Tensor&
>(*
this), dim0, dim1);
3696 return at::_ops::flip::call(
const_cast<Tensor&
>(*
this), dims);
3701 return at::_ops::fliplr::call(
const_cast<Tensor&
>(*
this));
3706 return at::_ops::flipud::call(
const_cast<Tensor&
>(*
this));
3711 return at::_ops::roll::call(
const_cast<Tensor&
>(*
this), shifts, dims);
3716 return at::_ops::rot90::call(
const_cast<Tensor&
>(*
this), k, dims);
3721 return at::_ops::_nested_tensor_size::call(
const_cast<Tensor&
>(*
this));
3726 return at::_ops::_nested_tensor_strides::call(
const_cast<Tensor&
>(*
this));
3731 return at::_ops::_nested_tensor_offsets::call(
const_cast<Tensor&
>(*
this));
3736 return at::_ops::trunc::call(
const_cast<Tensor&
>(*
this));
3741 return at::_ops::trunc_::call(
const_cast<Tensor&
>(*
this));
3746 return at::_ops::fix::call(
const_cast<Tensor&
>(*
this));
3751 return at::_ops::fix_::call(
const_cast<Tensor&
>(*
this));
3756 return at::_ops::type_as::call(
const_cast<Tensor&
>(*
this), other);
3761 return at::_ops::unsqueeze::call(
const_cast<Tensor&
>(*
this),
dim);
3766 return at::_ops::unsqueeze_::call(
const_cast<Tensor&
>(*
this),
dim);
3771 return at::_ops::var::call(
const_cast<Tensor&
>(*
this), unbiased);
3776 return at::_ops::var_dim::call(
const_cast<Tensor&
>(*
this),
dim, unbiased, keepdim);
3781 return at::_ops::var_correction::call(
const_cast<Tensor&
>(*
this),
dim, correction, keepdim);
3786 return at::_ops::var_names_dim::call(
const_cast<Tensor&
>(*
this),
dim, unbiased, keepdim);
3791 return at::_ops::var_correction_names::call(
const_cast<Tensor&
>(*
this),
dim, correction, keepdim);
3796 return at::_ops::view_as::call(
const_cast<Tensor&
>(*
this), other);
3801 return at::_ops::where_self::call(condition,
const_cast<Tensor&
>(*
this), other);
3806 return at::_ops::where_ScalarOther::call(condition,
const_cast<Tensor&
>(*
this), other);
3811 return at::_ops::norm_ScalarOpt_dtype::call(
const_cast<Tensor&
>(*
this), p,
dtype);
3816 return at::_ops::norm_Scalar::call(
const_cast<Tensor&
>(*
this), p);
3821 return at::_ops::norm_ScalarOpt_dim_dtype::call(
const_cast<Tensor&
>(*
this), p,
dim, keepdim,
dtype);
3826 return at::_ops::norm_ScalarOpt_dim::call(
const_cast<Tensor&
>(*
this), p,
dim, keepdim);
3831 return at::_ops::norm_names_ScalarOpt_dim_dtype::call(
const_cast<Tensor&
>(*
this), p,
dim, keepdim,
dtype);
3836 return at::_ops::norm_names_ScalarOpt_dim::call(
const_cast<Tensor&
>(*
this), p,
dim, keepdim);
3841 return at::_ops::frexp_Tensor::call(
const_cast<Tensor&
>(*
this));
3846 return at::_ops::clone::call(
const_cast<Tensor&
>(*
this), memory_format);
3851 return at::_ops::positive::call(
const_cast<Tensor&
>(*
this));
3856 return at::_ops::resize_as_::call(
const_cast<Tensor&
>(*
this), the_template, memory_format);
3861 return at::_ops::resize_as_sparse_::call(
const_cast<Tensor&
>(*
this), the_template);
3866 return at::_ops::zero_::call(
const_cast<Tensor&
>(*
this));
3871 return at::_ops::sub_Tensor::call(
const_cast<Tensor&
>(*
this), other, alpha);
3876 return at::_ops::sub__Tensor::call(
const_cast<Tensor&
>(*
this), other, alpha);
3881 return at::_ops::sub_Scalar::call(
const_cast<Tensor&
>(*
this), other, alpha);
3886 return at::_ops::sub__Scalar::call(
const_cast<Tensor&
>(*
this), other, alpha);
3891 return at::_ops::subtract_Tensor::call(
const_cast<Tensor&
>(*
this), other, alpha);
3896 return at::_ops::subtract__Tensor::call(
const_cast<Tensor&
>(*
this), other, alpha);
3901 return at::_ops::subtract_Scalar::call(
const_cast<Tensor&
>(*
this), other, alpha);
3906 return at::_ops::subtract__Scalar::call(
const_cast<Tensor&
>(*
this), other, alpha);
3911 return at::_ops::heaviside::call(
const_cast<Tensor&
>(*
this),
values);
3916 return at::_ops::heaviside_::call(
const_cast<Tensor&
>(*
this),
values);
3921 return at::_ops::addmm::call(
const_cast<Tensor&
>(*
this), mat1, mat2, beta, alpha);
3926 return at::_ops::addmm_::call(
const_cast<Tensor&
>(*
this), mat1, mat2, beta, alpha);
3931 return at::_ops::_addmm_activation::call(
const_cast<Tensor&
>(*
this), mat1, mat2, beta, alpha, use_gelu);
3946 return at::_ops::sparse_mask::call(
const_cast<Tensor&
>(*
this), mask);
3951 return at::_ops::to_dense::call(
const_cast<Tensor&
>(*
this),
dtype);
3956 return at::_ops::_to_dense::call(
const_cast<Tensor&
>(*
this),
dtype);
3961 return at::_ops::sparse_dim::call(
const_cast<Tensor&
>(*
this));
3966 return at::_ops::_dimI::call(
const_cast<Tensor&
>(*
this));
3971 return at::_ops::dense_dim::call(
const_cast<Tensor&
>(*
this));
3976 return at::_ops::_dimV::call(
const_cast<Tensor&
>(*
this));
3981 return at::_ops::_nnz::call(
const_cast<Tensor&
>(*
this));
3986 return at::_ops::coalesce::call(
const_cast<Tensor&
>(*
this));
3991 return at::_ops::is_coalesced::call(
const_cast<Tensor&
>(*
this));
3996 return at::_ops::_indices::call(
const_cast<Tensor&
>(*
this));
4001 return at::_ops::_values::call(
const_cast<Tensor&
>(*
this));
4006 return at::_ops::_coalesced_::call(
const_cast<Tensor&
>(*
this), coalesced);
4011 return at::_ops::indices::call(
const_cast<Tensor&
>(*
this));
4016 return at::_ops::values::call(
const_cast<Tensor&
>(*
this));
4021 return at::_ops::crow_indices::call(
const_cast<Tensor&
>(*
this));
4026 return at::_ops::col_indices::call(
const_cast<Tensor&
>(*
this));
4031 return at::_ops::ccol_indices::call(
const_cast<Tensor&
>(*
this));
4036 return at::_ops::row_indices::call(
const_cast<Tensor&
>(*
this));
4041 return at::_ops::unbind_int::call(
const_cast<Tensor&
>(*
this),
dim);
4046 return at::_ops::unbind_Dimname::call(
const_cast<Tensor&
>(*
this),
dim);
4051 return at::_ops::to_sparse_sparse_dim::call(
const_cast<Tensor&
>(*
this),
sparse_dim);
4061 return at::_ops::to_sparse_csr::call(
const_cast<Tensor&
>(*
this),
dense_dim);
4066 return at::_ops::to_sparse_csc::call(
const_cast<Tensor&
>(*
this),
dense_dim);
4071 return at::_ops::to_sparse_bsr::call(
const_cast<Tensor&
>(*
this), blocksize,
dense_dim);
4076 return at::_ops::to_sparse_bsc::call(
const_cast<Tensor&
>(*
this), blocksize,
dense_dim);
4081 return at::_ops::to_mkldnn::call(
const_cast<Tensor&
>(*
this),
dtype);
4086 return at::_ops::dequantize_self::call(
const_cast<Tensor&
>(*
this));
4091 return at::_ops::q_scale::call(
const_cast<Tensor&
>(*
this));
4096 return at::_ops::q_zero_point::call(
const_cast<Tensor&
>(*
this));
4101 return at::_ops::q_per_channel_scales::call(
const_cast<Tensor&
>(*
this));
4106 return at::_ops::q_per_channel_zero_points::call(
const_cast<Tensor&
>(*
this));
4111 return at::_ops::q_per_channel_axis::call(
const_cast<Tensor&
>(*
this));
4116 return at::_ops::int_repr::call(
const_cast<Tensor&
>(*
this));
4121 return at::_ops::qscheme::call(
const_cast<Tensor&
>(*
this));
4126 return at::_ops::_autocast_to_reduced_precision::call(
const_cast<Tensor&
>(*
this), cuda_enabled, cpu_enabled, cuda_dtype, cpu_dtype);
4131 return at::_ops::_autocast_to_full_precision::call(
const_cast<Tensor&
>(*
this), cuda_enabled, cpu_enabled);
4136 return at::_ops::to_dtype_layout::call(
const_cast<Tensor&
>(*
this), optTypeMetaToScalarType(
options.dtype_opt()),
options.layout_opt(),
options.device_opt(),
options.pinned_memory_opt(), non_blocking,
copy, c10::impl::check_tensor_options_and_extract_memory_format(
options, memory_format));
4146 return at::_ops::to_device::call(
const_cast<Tensor&
>(*
this),
device,
dtype, non_blocking,
copy, memory_format);
4151 return at::_ops::to_dtype::call(
const_cast<Tensor&
>(*
this),
dtype, non_blocking,
copy, memory_format);
4156 return at::_ops::to_other::call(
const_cast<Tensor&
>(*
this), other, non_blocking,
copy, memory_format);
4161 return at::_ops::item::call(
const_cast<Tensor&
>(*
this));
4166 return at::_ops::set__source_Storage::call(
const_cast<Tensor&
>(*
this), source);
4171 return at::_ops::set__source_Storage_storage_offset::call(
const_cast<Tensor&
>(*
this), source,
storage_offset, c10::fromIntArrayRefSlow(
size), c10::fromIntArrayRefSlow(
stride));
4181 return at::_ops::set__source_Tensor_storage_offset::call(
const_cast<Tensor&
>(*
this), source,
storage_offset, c10::fromIntArrayRefSlow(
size), c10::fromIntArrayRefSlow(
stride));
4191 return at::_ops::set__source_Tensor::call(
const_cast<Tensor&
>(*
this), source);
4196 return at::_ops::set_::call(
const_cast<Tensor&
>(*
this));
4201 return at::_ops::is_set_to::call(
const_cast<Tensor&
>(*
this), tensor);
4206 return at::_ops::masked_fill__Scalar::call(
const_cast<Tensor&
>(*
this), mask, value);
4211 return at::_ops::masked_fill_Scalar::call(
const_cast<Tensor&
>(*
this), mask, value);
4216 return at::_ops::masked_fill__Tensor::call(
const_cast<Tensor&
>(*
this), mask, value);
4221 return at::_ops::masked_fill_Tensor::call(
const_cast<Tensor&
>(*
this), mask, value);
4226 return at::_ops::masked_scatter_::call(
const_cast<Tensor&
>(*
this), mask, source);
4231 return at::_ops::masked_scatter::call(
const_cast<Tensor&
>(*
this), mask, source);
4236 return at::_ops::view::call(
const_cast<Tensor&
>(*
this), c10::fromIntArrayRefSlow(
size));
4241 return at::_ops::view::call(
const_cast<Tensor&
>(*
this),
size);
4246 return at::_ops::view_dtype::call(
const_cast<Tensor&
>(*
this),
dtype);
4251 return at::_ops::put_::call(
const_cast<Tensor&
>(*
this),
index, source, accumulate);
4256 return at::_ops::put::call(
const_cast<Tensor&
>(*
this),
index, source, accumulate);
4261 return at::_ops::index_add_::call(
const_cast<Tensor&
>(*
this),
dim,
index, source, alpha);
4266 return at::_ops::index_add::call(
const_cast<Tensor&
>(*
this),
dim,
index, source, alpha);
4271 return at::_ops::index_add_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index, source, alpha);
4276 return at::_ops::index_reduce_::call(
const_cast<Tensor&
>(*
this),
dim,
index, source, reduce, include_self);
4281 return at::_ops::index_reduce::call(
const_cast<Tensor&
>(*
this),
dim,
index, source, reduce, include_self);
4286 return at::_ops::index_fill__int_Scalar::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4291 return at::_ops::index_fill_int_Scalar::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4296 return at::_ops::index_fill__int_Tensor::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4301 return at::_ops::index_fill_int_Tensor::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4306 return at::_ops::index_fill__Dimname_Scalar::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4311 return at::_ops::index_fill__Dimname_Tensor::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4316 return at::_ops::index_fill_Dimname_Scalar::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4321 return at::_ops::index_fill_Dimname_Tensor::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4326 return at::_ops::scatter_src::call(
const_cast<Tensor&
>(*
this),
dim,
index, src);
4331 return at::_ops::scatter__src::call(
const_cast<Tensor&
>(*
this),
dim,
index, src);
4336 return at::_ops::scatter_value::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4341 return at::_ops::scatter__value::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4346 return at::_ops::scatter_reduce::call(
const_cast<Tensor&
>(*
this),
dim,
index, src, reduce);
4351 return at::_ops::scatter__reduce::call(
const_cast<Tensor&
>(*
this),
dim,
index, src, reduce);
4356 return at::_ops::scatter_value_reduce::call(
const_cast<Tensor&
>(*
this),
dim,
index, value, reduce);
4361 return at::_ops::scatter__value_reduce::call(
const_cast<Tensor&
>(*
this),
dim,
index, value, reduce);
4366 return at::_ops::scatter_dimname_src::call(
const_cast<Tensor&
>(*
this),
dim,
index, src);
4371 return at::_ops::scatter_dimname_value::call(
const_cast<Tensor&
>(*
this),
dim,
index, value);
4376 return at::_ops::scatter_add::call(
const_cast<Tensor&
>(*
this),
dim,
index, src);
4381 return at::_ops::scatter_add_::call(
const_cast<Tensor&
>(*
this),
dim,
index, src);
4386 return at::_ops::scatter_add_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index, src);
4391 return at::_ops::scatter_reduce_two::call(
const_cast<Tensor&
>(*
this),
dim,
index, src, reduce, include_self);
4396 return at::_ops::scatter_reduce__two::call(
const_cast<Tensor&
>(*
this),
dim,
index, src, reduce, include_self);
4401 return at::_ops::eq__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4406 return at::_ops::eq__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4411 return at::_ops::bitwise_and_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4416 return at::_ops::bitwise_and_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4421 return at::_ops::bitwise_and__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4426 return at::_ops::bitwise_and__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4431 return at::_ops::__and___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4436 return at::_ops::__and___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4441 return at::_ops::__iand___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4446 return at::_ops::__iand___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4451 return at::_ops::bitwise_or_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4456 return at::_ops::bitwise_or_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4461 return at::_ops::bitwise_or__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4466 return at::_ops::bitwise_or__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4471 return at::_ops::__or___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4476 return at::_ops::__or___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4481 return at::_ops::__ior___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4486 return at::_ops::__ior___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4491 return at::_ops::bitwise_xor_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4496 return at::_ops::bitwise_xor_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4501 return at::_ops::bitwise_xor__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4506 return at::_ops::bitwise_xor__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4511 return at::_ops::__xor___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4516 return at::_ops::__xor___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4521 return at::_ops::__ixor___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4526 return at::_ops::__ixor___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4531 return at::_ops::__lshift___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4536 return at::_ops::__lshift___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4541 return at::_ops::__ilshift___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4546 return at::_ops::__ilshift___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4551 return at::_ops::bitwise_left_shift_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4556 return at::_ops::bitwise_left_shift__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4561 return at::_ops::bitwise_left_shift_Tensor_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4566 return at::_ops::bitwise_left_shift__Tensor_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4571 return at::_ops::__rshift___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4576 return at::_ops::__rshift___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4581 return at::_ops::__irshift___Scalar::call(
const_cast<Tensor&
>(*
this), other);
4586 return at::_ops::__irshift___Tensor::call(
const_cast<Tensor&
>(*
this), other);
4591 return at::_ops::bitwise_right_shift_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4596 return at::_ops::bitwise_right_shift__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4601 return at::_ops::bitwise_right_shift_Tensor_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4606 return at::_ops::bitwise_right_shift__Tensor_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4611 return at::_ops::tril_::call(
const_cast<Tensor&
>(*
this),
diagonal);
4616 return at::_ops::triu_::call(
const_cast<Tensor&
>(*
this),
diagonal);
4621 return at::_ops::digamma_::call(
const_cast<Tensor&
>(*
this));
4626 return at::_ops::lerp__Scalar::call(
const_cast<Tensor&
>(*
this), end, weight);
4631 return at::_ops::lerp__Tensor::call(
const_cast<Tensor&
>(*
this), end, weight);
4636 return at::_ops::addbmm_::call(
const_cast<Tensor&
>(*
this), batch1, batch2, beta, alpha);
4641 return at::_ops::addbmm::call(
const_cast<Tensor&
>(*
this), batch1, batch2, beta, alpha);
4646 return at::_ops::random__from::call(
const_cast<Tensor&
>(*
this), from,
to, generator);
4651 return at::_ops::random__to::call(
const_cast<Tensor&
>(*
this),
to, generator);
4656 return at::_ops::random_::call(
const_cast<Tensor&
>(*
this), generator);
4661 return at::_ops::uniform_::call(
const_cast<Tensor&
>(*
this), from,
to, generator);
4666 return at::_ops::cauchy_::call(
const_cast<Tensor&
>(*
this),
median, sigma, generator);
4671 return at::_ops::log_normal_::call(
const_cast<Tensor&
>(*
this),
mean,
std, generator);
4676 return at::_ops::exponential_::call(
const_cast<Tensor&
>(*
this), lambd, generator);
4681 return at::_ops::geometric_::call(
const_cast<Tensor&
>(*
this), p, generator);
4686 return at::_ops::diag::call(
const_cast<Tensor&
>(*
this),
diagonal);
4691 return at::_ops::cross::call(
const_cast<Tensor&
>(*
this), other,
dim);
4696 return at::_ops::triu::call(
const_cast<Tensor&
>(*
this),
diagonal);
4701 return at::_ops::tril::call(
const_cast<Tensor&
>(*
this),
diagonal);
4706 return at::_ops::trace::call(
const_cast<Tensor&
>(*
this));
4711 return at::_ops::ne_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4716 return at::_ops::ne_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4721 return at::_ops::ne__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4726 return at::_ops::ne__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4731 return at::_ops::not_equal_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4736 return at::_ops::not_equal_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4741 return at::_ops::not_equal__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4746 return at::_ops::not_equal__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4751 return at::_ops::eq_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4756 return at::_ops::eq_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4761 return at::_ops::ge_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4766 return at::_ops::ge_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4771 return at::_ops::ge__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4776 return at::_ops::ge__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4781 return at::_ops::greater_equal_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4786 return at::_ops::greater_equal_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4791 return at::_ops::greater_equal__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4796 return at::_ops::greater_equal__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4801 return at::_ops::le_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4806 return at::_ops::le_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4811 return at::_ops::le__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4816 return at::_ops::le__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4821 return at::_ops::less_equal_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4826 return at::_ops::less_equal_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4831 return at::_ops::less_equal__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4836 return at::_ops::less_equal__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4841 return at::_ops::gt_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4846 return at::_ops::gt_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4851 return at::_ops::gt__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4856 return at::_ops::gt__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4861 return at::_ops::greater_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4866 return at::_ops::greater_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4871 return at::_ops::greater__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4876 return at::_ops::greater__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4881 return at::_ops::lt_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4886 return at::_ops::lt_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4891 return at::_ops::lt__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4896 return at::_ops::lt__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4901 return at::_ops::less_Scalar::call(
const_cast<Tensor&
>(*
this), other);
4906 return at::_ops::less_Tensor::call(
const_cast<Tensor&
>(*
this), other);
4911 return at::_ops::less__Scalar::call(
const_cast<Tensor&
>(*
this), other);
4916 return at::_ops::less__Tensor::call(
const_cast<Tensor&
>(*
this), other);
4921 return at::_ops::take::call(
const_cast<Tensor&
>(*
this),
index);
4926 return at::_ops::take_along_dim::call(
const_cast<Tensor&
>(*
this),
indices,
dim);
4931 return at::_ops::index_select::call(
const_cast<Tensor&
>(*
this),
dim,
index);
4936 return at::_ops::index_select_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index);
4941 return at::_ops::masked_select::call(
const_cast<Tensor&
>(*
this), mask);
4946 return at::_ops::nonzero::call(
const_cast<Tensor&
>(*
this));
4951 return at::_ops::nonzero_numpy::call(
const_cast<Tensor&
>(*
this));
4956 return at::_ops::argwhere::call(
const_cast<Tensor&
>(*
this));
4961 return at::_ops::gather::call(
const_cast<Tensor&
>(*
this),
dim,
index, sparse_grad);
4966 return at::_ops::gather_dimname::call(
const_cast<Tensor&
>(*
this),
dim,
index, sparse_grad);
4971 return at::_ops::addcmul::call(
const_cast<Tensor&
>(*
this), tensor1, tensor2, value);
4976 return at::_ops::addcmul_::call(
const_cast<Tensor&
>(*
this), tensor1, tensor2, value);
4981 return at::_ops::addcdiv::call(
const_cast<Tensor&
>(*
this), tensor1, tensor2, value);
4986 return at::_ops::addcdiv_::call(
const_cast<Tensor&
>(*
this), tensor1, tensor2, value);
4991 return at::_ops::triangular_solve::call(
const_cast<Tensor&
>(*
this), A, upper,
transpose, unitriangular);
4995inline ::std::tuple<at::Tensor,at::Tensor,at::Tensor>
Tensor::svd(
bool some,
bool compute_uv)
const {
4996 return at::_ops::svd::call(
const_cast<Tensor&
>(*
this), some, compute_uv);
5001 return at::_ops::swapaxes::call(
const_cast<Tensor&
>(*
this), axis0, axis1);
5006 return at::_ops::swapaxes_::call(
const_cast<Tensor&
>(*
this), axis0, axis1);
5011 return at::_ops::swapdims::call(
const_cast<Tensor&
>(*
this), dim0, dim1);
5016 return at::_ops::swapdims_::call(
const_cast<Tensor&
>(*
this), dim0, dim1);
5021 return at::_ops::cholesky::call(
const_cast<Tensor&
>(*
this), upper);
5026 return at::_ops::cholesky_solve::call(
const_cast<Tensor&
>(*
this), input2, upper);
5031 return at::_ops::cholesky_inverse::call(
const_cast<Tensor&
>(*
this), upper);
5035inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::qr(
bool some)
const {
5036 return at::_ops::qr::call(
const_cast<Tensor&
>(*
this), some);
5041 return at::_ops::geqrf::call(
const_cast<Tensor&
>(*
this));
5046 return at::_ops::orgqr::call(
const_cast<Tensor&
>(*
this), input2);
5051 return at::_ops::ormqr::call(
const_cast<Tensor&
>(*
this), input2, input3, left,
transpose);
5056 return at::_ops::lu_solve::call(
const_cast<Tensor&
>(*
this), LU_data, LU_pivots);
5061 return at::_ops::multinomial::call(
const_cast<Tensor&
>(*
this), num_samples, replacement, generator);
5066 return at::_ops::lgamma_::call(
const_cast<Tensor&
>(*
this));
5071 return at::_ops::lgamma::call(
const_cast<Tensor&
>(*
this));
5076 return at::_ops::digamma::call(
const_cast<Tensor&
>(*
this));
5081 return at::_ops::polygamma::call(n,
const_cast<Tensor&
>(*
this));
5086 return at::_ops::polygamma_::call(
const_cast<Tensor&
>(*
this), n);
5091 return at::_ops::erfinv::call(
const_cast<Tensor&
>(*
this));
5096 return at::_ops::erfinv_::call(
const_cast<Tensor&
>(*
this));
5101 return at::_ops::i0::call(
const_cast<Tensor&
>(*
this));
5106 return at::_ops::i0_::call(
const_cast<Tensor&
>(*
this));
5111 return at::_ops::sign::call(
const_cast<Tensor&
>(*
this));
5116 return at::_ops::sign_::call(
const_cast<Tensor&
>(*
this));
5121 return at::_ops::signbit::call(
const_cast<Tensor&
>(*
this));
5126 return at::_ops::dist::call(
const_cast<Tensor&
>(*
this), other, p);
5131 return at::_ops::atan2_::call(
const_cast<Tensor&
>(*
this), other);
5136 return at::_ops::atan2::call(
const_cast<Tensor&
>(*
this), other);
5141 return at::_ops::arctan2::call(
const_cast<Tensor&
>(*
this), other);
5146 return at::_ops::arctan2_::call(
const_cast<Tensor&
>(*
this), other);
5151 return at::_ops::lerp_Scalar::call(
const_cast<Tensor&
>(*
this), end, weight);
5156 return at::_ops::lerp_Tensor::call(
const_cast<Tensor&
>(*
this), end, weight);
5161 return at::_ops::histc::call(
const_cast<Tensor&
>(*
this), bins,
min,
max);
5166 return at::_ops::histogram_bins_tensor::call(
const_cast<Tensor&
>(*
this), bins, weight, density);
5171 return at::_ops::histogram_bin_ct::call(
const_cast<Tensor&
>(*
this), bins,
range, weight, density);
5176 return at::_ops::fmod_Scalar::call(
const_cast<Tensor&
>(*
this), other);
5181 return at::_ops::fmod__Scalar::call(
const_cast<Tensor&
>(*
this), other);
5186 return at::_ops::fmod_Tensor::call(
const_cast<Tensor&
>(*
this), other);
5191 return at::_ops::fmod__Tensor::call(
const_cast<Tensor&
>(*
this), other);
5196 return at::_ops::hypot::call(
const_cast<Tensor&
>(*
this), other);
5201 return at::_ops::hypot_::call(
const_cast<Tensor&
>(*
this), other);
5206 return at::_ops::igamma::call(
const_cast<Tensor&
>(*
this), other);
5211 return at::_ops::igamma_::call(
const_cast<Tensor&
>(*
this), other);
5216 return at::_ops::igammac::call(
const_cast<Tensor&
>(*
this), other);
5221 return at::_ops::igammac_::call(
const_cast<Tensor&
>(*
this), other);
5226 return at::_ops::nextafter::call(
const_cast<Tensor&
>(*
this), other);
5231 return at::_ops::nextafter_::call(
const_cast<Tensor&
>(*
this), other);
5236 return at::_ops::remainder_Scalar::call(
const_cast<Tensor&
>(*
this), other);
5241 return at::_ops::remainder__Scalar::call(
const_cast<Tensor&
>(*
this), other);
5246 return at::_ops::remainder_Tensor::call(
const_cast<Tensor&
>(*
this), other);
5251 return at::_ops::remainder__Tensor::call(
const_cast<Tensor&
>(*
this), other);
5256 return at::_ops::min::call(
const_cast<Tensor&
>(*
this));
5261 return at::_ops::fmin::call(
const_cast<Tensor&
>(*
this), other);
5266 return at::_ops::max::call(
const_cast<Tensor&
>(*
this));
5271 return at::_ops::fmax::call(
const_cast<Tensor&
>(*
this), other);
5276 return at::_ops::maximum::call(
const_cast<Tensor&
>(*
this), other);
5281 return at::_ops::max_other::call(
const_cast<Tensor&
>(*
this), other);
5286 return at::_ops::minimum::call(
const_cast<Tensor&
>(*
this), other);
5291 return at::_ops::min_other::call(
const_cast<Tensor&
>(*
this), other);
5296 return at::_ops::quantile::call(
const_cast<Tensor&
>(*
this), q,
dim, keepdim, interpolation);
5301 return at::_ops::quantile_scalar::call(
const_cast<Tensor&
>(*
this), q,
dim, keepdim, interpolation);
5306 return at::_ops::nanquantile::call(
const_cast<Tensor&
>(*
this), q,
dim, keepdim, interpolation);
5311 return at::_ops::nanquantile_scalar::call(
const_cast<Tensor&
>(*
this), q,
dim, keepdim, interpolation);
5315inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::sort(int64_t dim,
bool descending)
const {
5316 return at::_ops::sort::call(
const_cast<Tensor&
>(*
this),
dim, descending);
5321 return at::_ops::sort_stable::call(
const_cast<Tensor&
>(*
this), stable,
dim, descending);
5325inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::sort(at::Dimname dim,
bool descending)
const {
5326 return at::_ops::sort_dimname::call(
const_cast<Tensor&
>(*
this),
dim, descending);
5331 return at::_ops::sort_dimname_stable::call(
const_cast<Tensor&
>(*
this), stable,
dim, descending);
5336 return at::_ops::msort::call(
const_cast<Tensor&
>(*
this));
5341 return at::_ops::argsort::call(
const_cast<Tensor&
>(*
this),
dim, descending);
5346 return at::_ops::argsort_stable::call(
const_cast<Tensor&
>(*
this), stable,
dim, descending);
5351 return at::_ops::argsort_dimname::call(
const_cast<Tensor&
>(*
this),
dim, descending);
5355inline ::std::tuple<at::Tensor,at::Tensor>
Tensor::topk(int64_t k, int64_t dim,
bool largest,
bool sorted)
const {
5356 return at::_ops::topk::call(
const_cast<Tensor&
>(*
this), k,
dim, largest, sorted);
5361 return at::_ops::all::call(
const_cast<Tensor&
>(*
this));
5366 return at::_ops::any::call(
const_cast<Tensor&
>(*
this));
5371 return at::_ops::renorm::call(
const_cast<Tensor&
>(*
this), p,
dim, maxnorm);
5376 return at::_ops::renorm_::call(
const_cast<Tensor&
>(*
this), p,
dim, maxnorm);
5381 return at::_ops::unfold::call(
const_cast<Tensor&
>(*
this), dimension,
size, step);
5386 return at::_ops::equal::call(
const_cast<Tensor&
>(*
this), other);
5391 return at::_ops::pow_Tensor_Tensor::call(
const_cast<Tensor&
>(*
this), exponent);
5396 return at::_ops::pow_Tensor_Scalar::call(
const_cast<Tensor&
>(*
this), exponent);
5401 return at::_ops::pow__Scalar::call(
const_cast<Tensor&
>(*
this), exponent);
5406 return at::_ops::pow__Tensor::call(
const_cast<Tensor&
>(*
this), exponent);
5411 return at::_ops::float_power_Tensor_Tensor::call(
const_cast<Tensor&
>(*
this), exponent);
5416 return at::_ops::float_power_Tensor_Scalar::call(
const_cast<Tensor&
>(*
this), exponent);
5421 return at::_ops::float_power__Scalar::call(
const_cast<Tensor&
>(*
this), exponent);
5426 return at::_ops::float_power__Tensor::call(
const_cast<Tensor&
>(*
this), exponent);
5431 return at::_ops::normal_::call(
const_cast<Tensor&
>(*
this),
mean,
std, generator);
5436 return at::_ops::alias::call(
const_cast<Tensor&
>(*
this));
5441 return at::_ops::isfinite::call(
const_cast<Tensor&
>(*
this));
5446 return at::_ops::isinf::call(
const_cast<Tensor&
>(*
this));
5451 return at::_ops::record_stream::call(
const_cast<Tensor&
>(*
this), s);
5456 return at::_ops::isposinf::call(
const_cast<Tensor&
>(*
this));
5461 return at::_ops::isneginf::call(
const_cast<Tensor&
>(*
this));
5466 return at::_ops::det::call(
const_cast<Tensor&
>(*
this));
5471 return at::_ops::slogdet::call(
const_cast<Tensor&
>(*
this));
5476 return at::_ops::logdet::call(
const_cast<Tensor&
>(*
this));
5481 return at::_ops::inverse::call(
const_cast<Tensor&
>(*
this));
5486 return at::_ops::inner::call(
const_cast<Tensor&
>(*
this), other);
5491 return at::_ops::outer::call(
const_cast<Tensor&
>(*
this), vec2);
5496 return at::_ops::ger::call(
const_cast<Tensor&
>(*
this), vec2);
5501 return at::_ops::to_padded_tensor::call(
const_cast<Tensor&
>(*
this), padding, output_size.has_value() ?
c10::make_optional(c10::fromIntArrayRefSlow(*output_size)) :
c10::nullopt);
5506 return at::_ops::to_padded_tensor::call(
const_cast<Tensor&
>(*
this), padding, output_size);
5513struct MaybeOwnedTraits<
at::Tensor> {
5556struct ExclusivelyOwnedTraits<
at::Tensor> {
5565 template <
class... Args>
5567 return at::Tensor(std::forward<Args>(args)...);
5571 return std::move(x);
5575 return ExclusivelyOwnedTraits<at::TensorBase>::destroyOwned(x);
5579 return std::move(x);
5597 ? c10::MaybeOwned<Tensor>::borrowed(*opt)
5598 : c10::MaybeOwned<Tensor>::owned(c10::in_place);
5602 if (is_contiguous(memory_format)) {
5603 return c10::MaybeOwned<Tensor>::borrowed(*
this);
5605 return c10::MaybeOwned<Tensor>::owned(__dispatch_contiguous(memory_format));
#define TORCH_WARN(...)
Definition: Exception.h:582
#define TORCH_CHECK(cond,...)
Definition: Exception.h:505
#define TORCH_CHECK_INDEX(cond,...)
Definition: Exception.h:546
Definition: TensorBase.h:79
bool defined() const
Definition: TensorBase.h:198
bool requires_grad() const
Definition: TensorBase.h:695
int64_t storage_offset() const
Definition: TensorBase.h:118
TensorImpl * unsafeReleaseTensorImpl()
Definition: TensorBase.h:187
c10::intrusive_ptr< TensorImpl, UndefinedTensorImpl > unsafeReleaseIntrusivePtr()
Definition: TensorBase.h:194
int64_t dim() const
Definition: TensorBase.h:115
TensorOptions options() const
Returns the TensorOptions corresponding to this Tensor.
Definition: TensorBase.h:537
DimnameList names() const
Definition: TensorBase.h:248
Layout layout() const
Returns a Tensor's layout.
Definition: TensorBase.h:377
Device device() const
Returns a Tensor's device.
Definition: TensorBase.h:387
const c10::intrusive_ptr< TensorImpl, UndefinedTensorImpl > & getIntrusivePtr() const
Definition: TensorBase.h:190
caffe2::TypeMeta dtype() const
Returns a Tensor's dtype (TypeMeta).
Definition: TensorBase.h:382
IntArrayRef sizes() const
Definition: TensorBase.h:231
Definition: TensorBody.h:90
static Tensor wrap_tensor_impl(c10::intrusive_ptr< TensorImpl, UndefinedTensorImpl > tensor_impl)
Definition: TensorBody.h:115
at::Tensor cumprod(int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2160
at::Tensor igammac(const at::Tensor &other) const
Definition: TensorBody.h:5215
at::Tensor negative() const
Definition: TensorBody.h:3160
at::Tensor sum(c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:3560
at::Tensor floor_divide(const at::Tensor &other) const
Definition: TensorBody.h:2565
hook_return_var_t< T > register_hook(T &&hook) const
at::Tensor & deg2rad_() const
Definition: TensorBody.h:3130
::std::vector< at::Tensor > unsafe_split_with_sizes_symint(c10::SymIntArrayRef split_sizes, int64_t dim=0) const
Definition: TensorBody.h:3450
at::Tensor broadcast_to(at::IntArrayRef size) const
Definition: TensorBody.h:1955
Tensor contiguous(MemoryFormat memory_format=MemoryFormat::Contiguous) const
Definition: TensorBody.h:120
at::Tensor trace() const
Definition: TensorBody.h:4705
at::Tensor _to_dense(c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:3955
at::Tensor to(at::TensorOptions options={}, bool non_blocking=false, bool copy=false, c10::optional< at::MemoryFormat > memory_format=c10::nullopt) const
Definition: TensorBody.h:4135
const at::Tensor & sparse_resize_and_clear_(at::IntArrayRef size, int64_t sparse_dim, int64_t dense_dim) const
Definition: TensorBody.h:3940
at::Tensor __or__(const at::Scalar &other) const
Definition: TensorBody.h:4470
at::Tensor gt(const at::Scalar &other) const
Definition: TensorBody.h:4840
at::Tensor narrow_copy(int64_t dim, int64_t start, int64_t length) const
Definition: TensorBody.h:3020
at::Tensor square() const
Definition: TensorBody.h:3595
at::Tensor log2() const
Definition: TensorBody.h:2780
at::Tensor & greater_(const at::Scalar &other) const
Definition: TensorBody.h:4870
::std::tuple< at::Tensor, at::Tensor > aminmax(c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false) const
Definition: TensorBody.h:2865
at::Tensor & sqrt_() const
Definition: TensorBody.h:3590
at::Tensor addbmm(const at::Tensor &batch1, const at::Tensor &batch2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:4640
at::Tensor logit(c10::optional< double > eps=c10::nullopt) const
Definition: TensorBody.h:3300
at::Tensor narrow(int64_t dim, int64_t start, int64_t length) const
Definition: TensorBody.h:3030
at::Tensor _autocast_to_full_precision(bool cuda_enabled, bool cpu_enabled) const
Definition: TensorBody.h:4130
at::Tensor nextafter(const at::Tensor &other) const
Definition: TensorBody.h:5225
at::Tensor sub(const at::Tensor &other, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3870
at::Tensor & scatter_add_(int64_t dim, const at::Tensor &index, const at::Tensor &src) const
Definition: TensorBody.h:4380
at::Tensor & sin_() const
Definition: TensorBody.h:3315
at::Tensor le(const at::Scalar &other) const
Definition: TensorBody.h:4800
at::Tensor deg2rad() const
Definition: TensorBody.h:3125
at::Tensor absolute() const
Definition: TensorBody.h:1550
at::Tensor & round_() const
Definition: TensorBody.h:3225
at::Tensor alias() const
Definition: TensorBody.h:5435
Tensor operator[](const Scalar &index) const
Definition: TensorBody.h:299
at::Tensor permute(at::IntArrayRef dims) const
Definition: TensorBody.h:3050
const at::Tensor & as_strided_(at::IntArrayRef size, at::IntArrayRef stride, c10::optional< int64_t > storage_offset=c10::nullopt) const
Definition: TensorBody.h:1795
at::Tensor & true_divide_(const at::Tensor &other) const
Definition: TensorBody.h:2315
at::Tensor & normal_(double mean=0, double std=1, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:5430
Tensor & operator*=(const Scalar &other)
Definition: TensorBody.h:281
at::Tensor select_scatter(const at::Tensor &src, int64_t dim, int64_t index) const
Definition: TensorBody.h:3375
at::Tensor quantile(const at::Tensor &q, c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false, c10::string_view interpolation="linear") const
Definition: TensorBody.h:5295
at::Tensor & baddbmm_(const at::Tensor &batch1, const at::Tensor &batch2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1850
at::Tensor & atanh_() const
Definition: TensorBody.h:1770
at::Tensor & divide_(const at::Tensor &other) const
Definition: TensorBody.h:2275
at::Tensor bitwise_xor(const at::Scalar &other) const
Definition: TensorBody.h:4490
at::Tensor & zero_() const
Definition: TensorBody.h:3865
at::Tensor narrow_copy_symint(int64_t dim, c10::SymInt start, c10::SymInt length) const
Definition: TensorBody.h:3025
at::Tensor arcsin() const
Definition: TensorBody.h:1815
at::Tensor logical_xor(const at::Tensor &other) const
Definition: TensorBody.h:1920
at::Tensor & sgn_() const
Definition: TensorBody.h:1570
at::Tensor index_copy(int64_t dim, const at::Tensor &index, const at::Tensor &source) const
Definition: TensorBody.h:2625
const Tensor & requires_grad_(bool _requires_grad=true) const
Definition: TensorBody.h:1437
at::Tensor copysign(const at::Tensor &other) const
Definition: TensorBody.h:1890
at::Tensor put(const at::Tensor &index, const at::Tensor &source, bool accumulate=false) const
Definition: TensorBody.h:4255
C10_DEPRECATED_MESSAGE("Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead.") T *data() const
Definition: TensorBody.h:243
Tensor & index_put_(std::initializer_list< at::indexing::TensorIndex > indices, Tensor const &rhs)
int64_t _nnz() const
Definition: TensorBody.h:3980
at::Tensor arccosh() const
Definition: TensorBody.h:1735
at::Tensor & lerp_(const at::Tensor &end, const at::Scalar &weight) const
Definition: TensorBody.h:4625
at::Tensor & trunc_() const
Definition: TensorBody.h:3740
at::Tensor log10() const
Definition: TensorBody.h:2760
at::Tensor min() const
Definition: TensorBody.h:5255
at::Tensor int_repr() const
Definition: TensorBody.h:4115
at::Tensor cross(const at::Tensor &other, c10::optional< int64_t > dim=c10::nullopt) const
Definition: TensorBody.h:4690
Tensor(Tensor &&tensor)=default
at::Tensor new_ones(at::IntArrayRef size, at::TensorOptions options={}) const
Definition: TensorBody.h:2420
bool __dispatch_is_neg() const
Definition: TensorBody.h:2685
at::Tensor clamp_max(const at::Scalar &max) const
Definition: TensorBody.h:2030
::std::vector< at::Tensor > split(int64_t split_size, int64_t dim=0) const
Definition: TensorBody.h:3425
at::Tensor arctanh() const
Definition: TensorBody.h:1775
at::Tensor det() const
Definition: TensorBody.h:5465
at::Tensor kron(const at::Tensor &other) const
Definition: TensorBody.h:2715
at::Tensor & bitwise_right_shift_(const at::Tensor &other) const
Definition: TensorBody.h:4595
at::Tensor ne(const at::Scalar &other) const
Definition: TensorBody.h:4710
at::Tensor & relu_() const
Definition: TensorBody.h:3245
const at::Tensor & resize__symint(c10::SymIntArrayRef size, c10::optional< at::MemoryFormat > memory_format=c10::nullopt) const
Definition: TensorBody.h:2445
at::Tensor to_padded_tensor(double padding, at::OptionalIntArrayRef output_size=c10::nullopt) const
Definition: TensorBody.h:5500
at::Tensor expand(at::IntArrayRef size, bool implicit=false) const
Definition: TensorBody.h:2500
bool is_set_to(const at::Tensor &tensor) const
Definition: TensorBody.h:4200
Tensor & operator-=(const Scalar &other)
Definition: TensorBody.h:275
at::Tensor clamp(const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt) const
Definition: TensorBody.h:2010
at::Tensor & nextafter_(const at::Tensor &other) const
Definition: TensorBody.h:5230
at::Tensor & masked_scatter_(const at::Tensor &mask, const at::Tensor &source) const
Definition: TensorBody.h:4225
at::Tensor igamma(const at::Tensor &other) const
Definition: TensorBody.h:5205
at::Tensor unfold(int64_t dimension, int64_t size, int64_t step) const
Definition: TensorBody.h:5380
at::Tensor mean(c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2885
at::Tensor flip(at::IntArrayRef dims) const
Definition: TensorBody.h:3695
at::Tensor & log_() const
Definition: TensorBody.h:2755
at::Tensor view_symint(c10::SymIntArrayRef size) const
Definition: TensorBody.h:4240
at::Tensor scatter_add(int64_t dim, const at::Tensor &index, const at::Tensor &src) const
Definition: TensorBody.h:4375
at::Tensor renorm(const at::Scalar &p, int64_t dim, const at::Scalar &maxnorm) const
Definition: TensorBody.h:5370
::std::tuple< at::Tensor, at::Tensor > mode(int64_t dim=-1, bool keepdim=false) const
Definition: TensorBody.h:2955
at::Tensor _autocast_to_reduced_precision(bool cuda_enabled, bool cpu_enabled, at::ScalarType cuda_dtype, at::ScalarType cpu_dtype) const
Definition: TensorBody.h:4125
at::Tensor & mul_(const at::Tensor &other) const
Definition: TensorBody.h:2970
at::Tensor & exp2_() const
Definition: TensorBody.h:2485
::std::vector< at::Tensor > hsplit(int64_t sections) const
Definition: TensorBody.h:3465
at::Tensor & sub_(const at::Tensor &other, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3875
at::Tensor & polygamma_(int64_t n) const
Definition: TensorBody.h:5085
at::Tensor & div_(const at::Tensor &other) const
Definition: TensorBody.h:2235
at::Tensor & multiply_(const at::Tensor &other) const
Definition: TensorBody.h:2990
at::Tensor & ge_(const at::Scalar &other) const
Definition: TensorBody.h:4770
Tensor & operator=(Tensor &&rhs) &&
Definition: TensorBody.h:217
at::Tensor cholesky(bool upper=false) const
Definition: TensorBody.h:5020
at::Tensor & acos_() const
Definition: TensorBody.h:1625
at::Tensor detach() const
Returns a new Tensor, detached from the current graph.
Definition: TensorBody.h:3340
at::Tensor slice_scatter_symint(const at::Tensor &src, int64_t dim=0, c10::optional< c10::SymInt > start=c10::nullopt, c10::optional< c10::SymInt > end=c10::nullopt, c10::SymInt step=1) const
Definition: TensorBody.h:3370
at::Tensor _values() const
Definition: TensorBody.h:4000
at::Tensor mH() const
Definition: TensorBody.h:3090
int64_t q_per_channel_axis() const
Definition: TensorBody.h:4110
at::Tensor _nested_tensor_strides() const
Definition: TensorBody.h:3725
at::Tensor ldexp(const at::Tensor &other) const
Definition: TensorBody.h:2740
at::Tensor refine_names(at::DimnameList names) const
Definition: TensorBody.h:1535
at::Tensor take_along_dim(const at::Tensor &indices, c10::optional< int64_t > dim=c10::nullopt) const
Definition: TensorBody.h:4925
at::Tensor amax(at::IntArrayRef dim={}, bool keepdim=false) const
Definition: TensorBody.h:2880
at::Tensor & negative_() const
Definition: TensorBody.h:3165
at::Tensor atan() const
Definition: TensorBody.h:1825
at::Tensor to_sparse_csr(c10::optional< int64_t > dense_dim=c10::nullopt) const
Definition: TensorBody.h:4060
at::Tensor bitwise_left_shift(const at::Tensor &other) const
Definition: TensorBody.h:4550
bool __dispatch_retains_grad() const
Definition: TensorBody.h:1500
at::Tensor index_add(int64_t dim, const at::Tensor &index, const at::Tensor &source, const at::Scalar &alpha=1) const
Definition: TensorBody.h:4265
at::Tensor rot90(int64_t k=1, at::IntArrayRef dims={0, 1}) const
Definition: TensorBody.h:3715
at::Tensor dot(const at::Tensor &tensor) const
Definition: TensorBody.h:2330
at::Tensor & swapaxes_(int64_t axis0, int64_t axis1) const
Definition: TensorBody.h:5005
at::Tensor tan() const
Definition: TensorBody.h:3655
at::Tensor & logit_(c10::optional< double > eps=c10::nullopt) const
Definition: TensorBody.h:3305
Tensor operator[](int64_t index) const
Definition: TensorBody.h:318
at::Tensor signbit() const
Definition: TensorBody.h:5120
at::Tensor to_dense(c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:3950
at::Tensor rsqrt() const
Definition: TensorBody.h:3265
at::Tensor _is_all_true() const
Definition: TensorBody.h:1680
at::Tensor exp() const
Definition: TensorBody.h:2470
at::Tensor & mvlgamma_(int64_t p) const
Definition: TensorBody.h:3015
Tensor & operator^=(const Tensor &other)
Definition: TensorBody.h:296
at::Tensor & index_fill_(int64_t dim, const at::Tensor &index, const at::Scalar &value) const
Definition: TensorBody.h:4285
Tensor(TensorBase &&base)
Definition: TensorBody.h:111
at::Tensor sqrt() const
Definition: TensorBody.h:3585
Tensor & operator=(const TensorBase &x) &
Definition: TensorBody.h:195
at::Tensor polygamma(int64_t n) const
Definition: TensorBody.h:5080
at::Tensor vdot(const at::Tensor &other) const
Definition: TensorBody.h:2335
at::Tensor matrix_exp() const
Definition: TensorBody.h:2860
at::Tensor hardshrink(const at::Scalar &lambd=0.5) const
Definition: TensorBody.h:3255
int64_t q_zero_point() const
Definition: TensorBody.h:4095
at::Tensor expand_as(const at::Tensor &other) const
Definition: TensorBody.h:2510
at::Tensor & __dispatch_requires_grad_(bool requires_grad=true) const
Definition: TensorBody.h:1490
at::Tensor & digamma_() const
Definition: TensorBody.h:4620
::std::tuple< at::Tensor, at::Tensor > slogdet() const
Definition: TensorBody.h:5470
at::Tensor stft(int64_t n_fft, c10::optional< int64_t > hop_length, c10::optional< int64_t > win_length, const c10::optional< at::Tensor > &window, bool normalized, c10::optional< bool > onesided=c10::nullopt, c10::optional< bool > return_complex=c10::nullopt) const
Definition: TensorBody.h:3540
at::Tensor diff(int64_t n=1, int64_t dim=-1, const c10::optional< at::Tensor > &prepend={}, const c10::optional< at::Tensor > &append={}) const
Definition: TensorBody.h:2225
const Tensor & set_requires_grad(bool requires_grad) const
Definition: TensorBody.h:466
Tensor & operator|=(const Tensor &other)
Definition: TensorBody.h:293
at::Tensor & put_(const at::Tensor &index, const at::Tensor &source, bool accumulate=false) const
Definition: TensorBody.h:4250
Tensor toBackend(Backend b) const
Definition: TensorBody.h:233
Tensor meta() const
Definition: TensorBody.h:355
void __dispatch_retain_grad() const
Definition: TensorBody.h:1495
int64_t sparse_dim() const
Definition: TensorBody.h:3960
at::Tensor & sigmoid_() const
Definition: TensorBody.h:3295
at::Tensor cosh() const
Definition: TensorBody.h:2110
at::Tensor addmm(const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3920
at::Tensor angle() const
Definition: TensorBody.h:1560
at::Tensor & absolute_() const
Definition: TensorBody.h:1555
at::Tensor diagonal_scatter(const at::Tensor &src, int64_t offset=0, int64_t dim1=0, int64_t dim2=1) const
Definition: TensorBody.h:3385
Tensor to(caffe2::TypeMeta type_meta, bool non_blocking=false, bool copy=false) const
Definition: TensorBody.h:1346
at::Tensor & __ior__(const at::Scalar &other) const
Definition: TensorBody.h:4480
at::Tensor & asin_() const
Definition: TensorBody.h:1810
int64_t _dimI() const
Definition: TensorBody.h:3965
at::Tensor addmv(const at::Tensor &mat, const at::Tensor &vec, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1660
Tensor & operator=(const Tensor &x) &
Definition: TensorBody.h:204
at::Tensor & cumprod_(int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2165
at::Tensor matmul(const at::Tensor &other) const
Definition: TensorBody.h:2850
c10::MaybeOwned< Tensor > expect_contiguous(MemoryFormat memory_format=MemoryFormat::Contiguous) const &
Should be used if *this can reasonably be expected to be contiguous and performance is important.
Definition: TensorBody.h:5601
Tensor index(ArrayRef< at::indexing::TensorIndex > indices) const
bool equal(const at::Tensor &other) const
Definition: TensorBody.h:5385
at::Tensor & eq_(const at::Scalar &other) const
Definition: TensorBody.h:4400
at::Tensor isneginf() const
Definition: TensorBody.h:5460
at::Tensor transpose(int64_t dim0, int64_t dim1) const
Definition: TensorBody.h:3680
at::Tensor & gt_(const at::Scalar &other) const
Definition: TensorBody.h:4850
at::Tensor col_indices() const
Definition: TensorBody.h:4025
at::Tensor log1p() const
Definition: TensorBody.h:2770
Tensor & operator=(TensorBase &&x) &noexcept
Definition: TensorBody.h:199
::std::tuple< at::Tensor, at::Tensor > cummin(int64_t dim) const
Definition: TensorBody.h:2150
::std::vector< at::Tensor > nonzero_numpy() const
Definition: TensorBody.h:4950
at::Tensor pinverse(double rcond=1e-15) const
Definition: TensorBody.h:3110
at::Tensor & copy_(const at::Tensor &src, bool non_blocking=false) const
Definition: TensorBody.h:2095
hook_return_void_t< T > register_hook(T &&hook) const
Registers a backward hook.
at::Tensor sinc() const
Definition: TensorBody.h:3320
Tensor & operator/=(const Tensor &other)
Definition: TensorBody.h:284
const at::Tensor & sparse_resize_(at::IntArrayRef size, int64_t sparse_dim, int64_t dense_dim) const
Definition: TensorBody.h:3935
const at::Tensor & resize_as_(const at::Tensor &the_template, c10::optional< at::MemoryFormat > memory_format=c10::nullopt) const
Definition: TensorBody.h:3855
at::Tensor fix() const
Definition: TensorBody.h:3745
at::Tensor & ldexp_(const at::Tensor &other) const
Definition: TensorBody.h:2745
at::Tensor & arccos_() const
Definition: TensorBody.h:1635
at::Tensor atan2(const at::Tensor &other) const
Definition: TensorBody.h:5135
Tensor & index_put_(ArrayRef< at::indexing::TensorIndex > indices, Tensor const &rhs)
at::Tensor as_strided(at::IntArrayRef size, at::IntArrayRef stride, c10::optional< int64_t > storage_offset=c10::nullopt) const
Definition: TensorBody.h:1785
at::Tensor & igamma_(const at::Tensor &other) const
Definition: TensorBody.h:5210
at::Tensor __dispatch_data() const
Definition: TensorBody.h:1470
::std::vector< at::Tensor > tensor_split(int64_t sections, int64_t dim=0) const
Definition: TensorBody.h:1985
at::Tensor crow_indices() const
Definition: TensorBody.h:4020
at::Tensor nonzero() const
Definition: TensorBody.h:4945
at::Tensor sgn() const
Definition: TensorBody.h:1565
at::Tensor scatter(int64_t dim, const at::Tensor &index, const at::Tensor &src) const
Definition: TensorBody.h:4325
at::Tensor new_full_symint(c10::SymIntArrayRef size, const at::Scalar &fill_value, at::TensorOptions options={}) const
Definition: TensorBody.h:2390
at::Tensor & squeeze_() const
Definition: TensorBody.h:3515
at::Tensor narrow_symint(int64_t dim, c10::SymInt start, c10::SymInt length) const
Definition: TensorBody.h:3035
at::Tensor new_zeros(at::IntArrayRef size, at::TensorOptions options={}) const
Definition: TensorBody.h:2400
at::Tensor logdet() const
Definition: TensorBody.h:5475
at::Tensor & fix_() const
Definition: TensorBody.h:3750
at::Tensor lu_solve(const at::Tensor &LU_data, const at::Tensor &LU_pivots) const
Definition: TensorBody.h:5055
at::Tensor _nested_tensor_size() const
Definition: TensorBody.h:3720
at::Tensor movedim(at::IntArrayRef source, at::IntArrayRef destination) const
Definition: TensorBody.h:3055
at::Tensor & greater_equal_(const at::Scalar &other) const
Definition: TensorBody.h:4790
Tensor to(Device device, caffe2::TypeMeta type_meta, bool non_blocking=false, bool copy=false) const
Definition: TensorBody.h:1349
at::Tensor msort() const
Definition: TensorBody.h:5335
at::Tensor sparse_mask(const at::Tensor &mask) const
Definition: TensorBody.h:3945
at::Tensor tanh() const
Definition: TensorBody.h:3665
Tensor & operator/=(const Scalar &other)
Definition: TensorBody.h:287
bool is_coalesced() const
Definition: TensorBody.h:3990
at::Tensor & logical_not_() const
Definition: TensorBody.h:1915
at::Tensor & sign_() const
Definition: TensorBody.h:5115
Tensor vulkan() const
Definition: TensorBody.h:347
at::Tensor ormqr(const at::Tensor &input2, const at::Tensor &input3, bool left=true, bool transpose=false) const
Definition: TensorBody.h:5050
at::QScheme qscheme() const
Definition: TensorBody.h:4120
at::Tensor & exp_() const
Definition: TensorBody.h:2475
at::Tensor argmin(c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false) const
Definition: TensorBody.h:1720
at::Tensor & set__symint(at::Storage source, c10::SymInt storage_offset, c10::SymIntArrayRef size, c10::SymIntArrayRef stride={}) const
Definition: TensorBody.h:4175
at::Tensor & addcdiv_(const at::Tensor &tensor1, const at::Tensor &tensor2, const at::Scalar &value=1) const
Definition: TensorBody.h:4985
at::Tensor resolve_neg() const
Definition: TensorBody.h:1610
at::Tensor true_divide(const at::Tensor &other) const
Definition: TensorBody.h:2310
at::Tensor diag(int64_t diagonal=0) const
Definition: TensorBody.h:4685
at::Tensor triu(int64_t diagonal=0) const
Definition: TensorBody.h:4695
Tensor & operator-=(const Tensor &other)
Definition: TensorBody.h:272
at::Tensor _reshape_alias_symint(c10::SymIntArrayRef size, c10::SymIntArrayRef stride) const
Definition: TensorBody.h:3210
at::Tensor align_to(at::DimnameList names) const
Definition: TensorBody.h:1520
at::Tensor & __iand__(const at::Scalar &other) const
Definition: TensorBody.h:4440
at::Tensor & atan_() const
Definition: TensorBody.h:1830
at::Tensor round() const
Definition: TensorBody.h:3220
at::Tensor & sinc_() const
Definition: TensorBody.h:3325
at::Tensor exp2() const
Definition: TensorBody.h:2480
at::Tensor to_sparse(int64_t sparse_dim) const
Definition: TensorBody.h:4050
at::Tensor nanmedian() const
Definition: TensorBody.h:2920
at::Tensor acos() const
Definition: TensorBody.h:1620
at::Tensor dequantize() const
Definition: TensorBody.h:4085
void _set_fw_grad(const TensorBase &new_grad, uint64_t level, bool is_inplace_op) const
This function can be used to set the value of the forward grad.
Definition: TensorBody.h:508
at::Tensor __dispatch_conj() const
Definition: TensorBody.h:1585
at::Tensor mT() const
Definition: TensorBody.h:3085
::std::vector< at::Tensor > unsafe_chunk(int64_t chunks, int64_t dim=0) const
Definition: TensorBody.h:1975
at::Tensor & floor_() const
Definition: TensorBody.h:2560
at::Tensor new_empty(at::IntArrayRef size, at::TensorOptions options={}) const
Definition: TensorBody.h:2340
at::Tensor mvlgamma(int64_t p) const
Definition: TensorBody.h:3010
at::Tensor _conj_physical() const
Definition: TensorBody.h:1590
const at::Tensor & resize_as_sparse_(const at::Tensor &the_template) const
Definition: TensorBody.h:3860
::std::tuple< at::Tensor, at::Tensor, at::Tensor > svd(bool some=true, bool compute_uv=true) const
Definition: TensorBody.h:4995
at::Tensor isreal() const
Definition: TensorBody.h:2690
at::Tensor addcmul(const at::Tensor &tensor1, const at::Tensor &tensor2, const at::Scalar &value=1) const
Definition: TensorBody.h:4970
at::Tensor & ceil_() const
Definition: TensorBody.h:1970
at::Tensor hardshrink_backward(const at::Tensor &grad_out, const at::Scalar &lambd) const
Definition: TensorBody.h:3260
at::Tensor to_sparse_csc(c10::optional< int64_t > dense_dim=c10::nullopt) const
Definition: TensorBody.h:4065
at::Tensor & __ixor__(const at::Scalar &other) const
Definition: TensorBody.h:4520
at::Tensor greater_equal(const at::Scalar &other) const
Definition: TensorBody.h:4780
::std::tuple< at::Tensor, at::Tensor > qr(bool some=true) const
Definition: TensorBody.h:5035
Tensor conj() const
Definition: TensorBody.h:124
at::Tensor cholesky_solve(const at::Tensor &input2, bool upper=false) const
Definition: TensorBody.h:5025
Tensor(const TensorBase &base)
Definition: TensorBody.h:110
at::Tensor bincount(const c10::optional< at::Tensor > &weights={}, int64_t minlength=0) const
Definition: TensorBody.h:1875
::std::tuple< at::Tensor, at::Tensor > cummax(int64_t dim) const
Definition: TensorBody.h:2140
at::Tensor softmax(int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:3405
at::Tensor digamma() const
Definition: TensorBody.h:5075
at::Tensor & log10_() const
Definition: TensorBody.h:2765
at::Tensor & atan2_(const at::Tensor &other) const
Definition: TensorBody.h:5130
at::Tensor diagonal(int64_t offset=0, int64_t dim1=0, int64_t dim2=1) const
Definition: TensorBody.h:2210
at::Tensor __xor__(const at::Scalar &other) const
Definition: TensorBody.h:4510
at::Tensor unflatten(int64_t dim, at::IntArrayRef sizes) const
Definition: TensorBody.h:2535
bool __dispatch_is_signed() const
Definition: TensorBody.h:2705
at::Tensor & not_equal_(const at::Scalar &other) const
Definition: TensorBody.h:4740
Tensor & index_put_(ArrayRef< at::indexing::TensorIndex > indices, const Scalar &v)
at::Tensor & square_() const
Definition: TensorBody.h:3600
at::Tensor & bitwise_not_() const
Definition: TensorBody.h:1885
at::Tensor subtract(const at::Tensor &other, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3890
::std::tuple< at::Tensor, at::Tensor > kthvalue(int64_t k, int64_t dim=-1, bool keepdim=false) const
Definition: TensorBody.h:2720
at::Tensor masked_scatter(const at::Tensor &mask, const at::Tensor &source) const
Definition: TensorBody.h:4230
at::Tensor ceil() const
Definition: TensorBody.h:1965
at::Tensor eq(const at::Scalar &other) const
Definition: TensorBody.h:4750
at::Tensor prelu(const at::Tensor &weight) const
Definition: TensorBody.h:3250
at::Tensor indices() const
Definition: TensorBody.h:4010
Tensor var(int dim) const
Definition: TensorBody.h:1333
at::Tensor swapdims(int64_t dim0, int64_t dim1) const
Definition: TensorBody.h:5010
at::Tensor coalesce() const
Definition: TensorBody.h:3985
at::Tensor masked_select(const at::Tensor &mask) const
Definition: TensorBody.h:4940
at::Tensor & bitwise_xor_(const at::Scalar &other) const
Definition: TensorBody.h:4500
at::Tensor new_empty_strided_symint(c10::SymIntArrayRef size, c10::SymIntArrayRef stride, at::TensorOptions options={}) const
Definition: TensorBody.h:2370
at::Tensor variable_data() const
NOTE: var.variable_data() in C++ has the same semantics as tensor.data in Python, which create a new ...
Definition: TensorBody.h:1381
at::Tensor & rad2deg_() const
Definition: TensorBody.h:3120
at::Tensor & set_() const
Definition: TensorBody.h:4195
at::Tensor & heaviside_(const at::Tensor &values) const
Definition: TensorBody.h:3915
at::Tensor index_reduce(int64_t dim, const at::Tensor &index, const at::Tensor &source, c10::string_view reduce, bool include_self=true) const
Definition: TensorBody.h:4280
at::Tensor add(const at::Tensor &other, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1640
::std::vector< int64_t > _nested_tensor_offsets() const
Definition: TensorBody.h:3730
at::Tensor logical_not() const
Definition: TensorBody.h:1910
at::Tensor cumsum(int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2180
at::Tensor & swapdims_(int64_t dim0, int64_t dim1) const
Definition: TensorBody.h:5015
at::Tensor select_scatter_symint(const at::Tensor &src, int64_t dim, c10::SymInt index) const
Definition: TensorBody.h:3380
at::Tensor & clamp_max_(const at::Scalar &max) const
Definition: TensorBody.h:2040
at::Tensor & lcm_(const at::Tensor &other) const
Definition: TensorBody.h:2610
at::Tensor & logical_or_(const at::Tensor &other) const
Definition: TensorBody.h:1945
at::Tensor istft(int64_t n_fft, c10::optional< int64_t > hop_length=c10::nullopt, c10::optional< int64_t > win_length=c10::nullopt, const c10::optional< at::Tensor > &window={}, bool center=true, bool normalized=false, c10::optional< bool > onesided=c10::nullopt, c10::optional< int64_t > length=c10::nullopt, bool return_complex=false) const
Definition: TensorBody.h:3550
at::Tensor & log1p_() const
Definition: TensorBody.h:2775
at::Tensor & masked_fill_(const at::Tensor &mask, const at::Scalar &value) const
Definition: TensorBody.h:4205
at::Tensor select_symint(int64_t dim, c10::SymInt index) const
Definition: TensorBody.h:3285
at::Tensor to_mkldnn(c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:4080
at::Tensor pow(const at::Tensor &exponent) const
Definition: TensorBody.h:5390
at::Tensor diagflat(int64_t offset=0) const
Definition: TensorBody.h:2205
at::Tensor arctan2(const at::Tensor &other) const
Definition: TensorBody.h:5140
at::Tensor scatter_reduce(int64_t dim, const at::Tensor &index, const at::Tensor &src, c10::string_view reduce, bool include_self=true) const
Definition: TensorBody.h:4390
bool __dispatch_is_complex() const
Definition: TensorBody.h:2670
at::Tensor row_indices() const
Definition: TensorBody.h:4035
at::Tensor median() const
Definition: TensorBody.h:2905
at::Tensor sinh() const
Definition: TensorBody.h:3330
at::Tensor fmax(const at::Tensor &other) const
Definition: TensorBody.h:5270
at::Tensor reshape_as(const at::Tensor &other) const
Definition: TensorBody.h:3215
at::Tensor bitwise_right_shift(const at::Tensor &other) const
Definition: TensorBody.h:4590
at::Tensor & fill_(const at::Scalar &value) const
Definition: TensorBody.h:2545
void _backward(TensorList inputs, const c10::optional< Tensor > &gradient, c10::optional< bool > keep_graph, bool create_graph) const
at::Tensor & addcmul_(const at::Tensor &tensor1, const at::Tensor &tensor2, const at::Scalar &value=1) const
Definition: TensorBody.h:4975
at::Tensor & frac_() const
Definition: TensorBody.h:2590
at::Tensor new_ones_symint(c10::SymIntArrayRef size, at::TensorOptions options={}) const
Definition: TensorBody.h:2430
at::Tensor addcdiv(const at::Tensor &tensor1, const at::Tensor &tensor2, const at::Scalar &value=1) const
Definition: TensorBody.h:4980
at::Tensor histc(int64_t bins=100, const at::Scalar &min=0, const at::Scalar &max=0) const
Definition: TensorBody.h:5160
at::Tensor sspaddmm(const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3535
::std::vector< at::Tensor > unsafe_split_with_sizes(at::IntArrayRef split_sizes, int64_t dim=0) const
Definition: TensorBody.h:3445
at::Tensor __dispatch_contiguous(at::MemoryFormat memory_format=MemoryFormat::Contiguous) const
Definition: TensorBody.h:2090
bool __dispatch_is_floating_point() const
Definition: TensorBody.h:2665
at::Tensor atanh() const
Definition: TensorBody.h:1765
at::Tensor & cos_() const
Definition: TensorBody.h:2105
at::Tensor nanquantile(const at::Tensor &q, c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false, c10::string_view interpolation="linear") const
Definition: TensorBody.h:5305
at::Tensor fmin(const at::Tensor &other) const
Definition: TensorBody.h:5260
at::Tensor to_padded_tensor_symint(double padding, at::OptionalSymIntArrayRef output_size=c10::nullopt) const
Definition: TensorBody.h:5505
bool __dispatch_is_conj() const
Definition: TensorBody.h:2675
at::Tensor as_strided_symint(c10::SymIntArrayRef size, c10::SymIntArrayRef stride, c10::optional< c10::SymInt > storage_offset=c10::nullopt) const
Definition: TensorBody.h:1790
bool is_same_size(const at::Tensor &other) const
Definition: TensorBody.h:2700
at::Tensor dist(const at::Tensor &other, const at::Scalar &p=2) const
Definition: TensorBody.h:5125
at::Tensor bmm(const at::Tensor &mat2) const
Definition: TensorBody.h:1950
at::Tensor logical_and(const at::Tensor &other) const
Definition: TensorBody.h:1930
at::Tensor & arcsinh_() const
Definition: TensorBody.h:1760
::std::vector< at::Tensor > split_symint(c10::SymInt split_size, int64_t dim=0) const
Definition: TensorBody.h:3430
at::Tensor & bitwise_or_(const at::Scalar &other) const
Definition: TensorBody.h:4460
at::Tensor type_as(const at::Tensor &other) const
Definition: TensorBody.h:3755
at::Tensor logaddexp2(const at::Tensor &other) const
Definition: TensorBody.h:2795
at::Tensor & cosh_() const
Definition: TensorBody.h:2115
at::Tensor tensor_data() const
NOTE: This is similar to the legacy .data() function on Variable, and is intended to be used from fun...
Definition: TensorBody.h:1366
::std::vector< at::Tensor > tensor_split_symint(c10::SymInt sections, int64_t dim=0) const
Definition: TensorBody.h:1990
at::Tensor & __irshift__(const at::Scalar &other) const
Definition: TensorBody.h:4580
at::Tensor & conj_physical_() const
Definition: TensorBody.h:1600
at::Tensor arctan() const
Definition: TensorBody.h:1835
at::Tensor & index_reduce_(int64_t dim, const at::Tensor &index, const at::Tensor &source, c10::string_view reduce, bool include_self=true) const
Definition: TensorBody.h:4275
at::Tensor & lt_(const at::Scalar &other) const
Definition: TensorBody.h:4890
at::Tensor mul(const at::Tensor &other) const
Definition: TensorBody.h:2965
at::Tensor chalf(c10::optional< at::MemoryFormat > memory_format=c10::nullopt) const
Definition: TensorBody.h:1575
at::Tensor & detach_() const
Detaches the Tensor from the graph that created it, making it a leaf.
Definition: TensorBody.h:3345
at::Tensor clip(const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt) const
Definition: TensorBody.h:2070
int64_t dense_dim() const
Definition: TensorBody.h:3970
at::Tensor _indices() const
Definition: TensorBody.h:3995
at::Tensor & le_(const at::Scalar &other) const
Definition: TensorBody.h:4810
at::Tensor floor() const
Definition: TensorBody.h:2555
at::Tensor to_sparse_bsr(at::IntArrayRef blocksize, c10::optional< int64_t > dense_dim=c10::nullopt) const
Definition: TensorBody.h:4070
at::Tensor view_as(const at::Tensor &other) const
Definition: TensorBody.h:3795
at::Tensor ge(const at::Scalar &other) const
Definition: TensorBody.h:4760
at::Tensor & remainder_(const at::Scalar &other) const
Definition: TensorBody.h:5240
at::Tensor cholesky_inverse(bool upper=false) const
Definition: TensorBody.h:5030
Tensor & operator+=(const Tensor &other)
Definition: TensorBody.h:266
at::Tensor corrcoef() const
Definition: TensorBody.h:2135
at::Tensor neg() const
Definition: TensorBody.h:3150
at::Tensor less_equal(const at::Scalar &other) const
Definition: TensorBody.h:4820
at::Tensor & index_add_(int64_t dim, const at::Tensor &index, const at::Tensor &source, const at::Scalar &alpha=1) const
Definition: TensorBody.h:4260
decltype(auto) m(F func, Args &&... params) const
Definition: TensorBody.h:1354
at::Tensor numpy_T() const
Definition: TensorBody.h:3075
at::Tensor slice_symint(int64_t dim=0, c10::optional< c10::SymInt > start=c10::nullopt, c10::optional< c10::SymInt > end=c10::nullopt, c10::SymInt step=1) const
Definition: TensorBody.h:3360
at::Tensor any() const
Definition: TensorBody.h:5365
at::Tensor frac() const
Definition: TensorBody.h:2585
at::Tensor amin(at::IntArrayRef dim={}, bool keepdim=false) const
Definition: TensorBody.h:2945
at::Tensor & i0_() const
Definition: TensorBody.h:5105
at::Tensor xlogy(const at::Tensor &other) const
Definition: TensorBody.h:2800
at::Tensor & reciprocal_() const
Definition: TensorBody.h:3145
at::Tensor & rsqrt_() const
Definition: TensorBody.h:3270
at::Tensor i0() const
Definition: TensorBody.h:5100
at::Tensor & logical_xor_(const at::Tensor &other) const
Definition: TensorBody.h:1925
at::Tensor resolve_conj() const
Definition: TensorBody.h:1605
at::Tensor & asinh_() const
Definition: TensorBody.h:1750
at::Tensor & triu_(int64_t diagonal=0) const
Definition: TensorBody.h:4615
at::Tensor & abs_() const
Definition: TensorBody.h:1545
at::Tensor matrix_H() const
Definition: TensorBody.h:3080
at::Tensor arccos() const
Definition: TensorBody.h:1630
at::Tensor view(at::IntArrayRef size) const
Definition: TensorBody.h:4235
at::Tensor & scatter_reduce_(int64_t dim, const at::Tensor &index, const at::Tensor &src, c10::string_view reduce, bool include_self=true) const
Definition: TensorBody.h:4395
at::Tensor ravel() const
Definition: TensorBody.h:3135
at::Tensor & addmm_(const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3925
Tensor cpu() const
Definition: TensorBody.h:330
at::Tensor inverse() const
Definition: TensorBody.h:5480
at::Tensor trunc() const
Definition: TensorBody.h:3735
Tensor & operator*=(const Tensor &other)
Definition: TensorBody.h:278
at::Tensor baddbmm(const at::Tensor &batch1, const at::Tensor &batch2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1845
Tensor(const Tensor &tensor)=default
::std::vector< at::Tensor > split_with_sizes_symint(c10::SymIntArrayRef split_sizes, int64_t dim=0) const
Definition: TensorBody.h:3460
const Tensor & grad() const
This function returns an undefined tensor by default and returns a defined tensor the first time a ca...
Definition: TensorBody.h:483
at::Tensor & hypot_(const at::Tensor &other) const
Definition: TensorBody.h:5200
at::Tensor remainder(const at::Scalar &other) const
Definition: TensorBody.h:5235
at::Tensor conj_physical() const
Definition: TensorBody.h:1595
::std::vector< at::Tensor > vsplit(int64_t sections) const
Definition: TensorBody.h:3475
at::Tensor log_softmax(int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2820
at::Tensor & tril_(int64_t diagonal=0) const
Definition: TensorBody.h:4610
at::Tensor slice_scatter(const at::Tensor &src, int64_t dim=0, c10::optional< int64_t > start=c10::nullopt, c10::optional< int64_t > end=c10::nullopt, int64_t step=1) const
Definition: TensorBody.h:3365
at::Tensor reshape(at::IntArrayRef shape) const
Definition: TensorBody.h:3195
at::Tensor as_strided_scatter_symint(const at::Tensor &src, c10::SymIntArrayRef size, c10::SymIntArrayRef stride, c10::optional< c10::SymInt > storage_offset=c10::nullopt) const
Definition: TensorBody.h:3395
int64_t __dispatch__version() const
Definition: TensorBody.h:1485
at::Tensor logsumexp(at::IntArrayRef dim, bool keepdim=false) const
Definition: TensorBody.h:2840
at::Tensor pin_memory(c10::optional< at::Device > device=c10::nullopt) const
Definition: TensorBody.h:3105
at::Tensor __lshift__(const at::Scalar &other) const
Definition: TensorBody.h:4530
::std::tuple< at::Tensor, at::Tensor > geqrf() const
Definition: TensorBody.h:5040
C10_DEPRECATED_MESSAGE("packed_accessor is deprecated, use packed_accessor32 or packed_accessor64 instead") GenericPackedTensorAccessor< T
at::Tensor to_sparse_bsc(at::IntArrayRef blocksize, c10::optional< int64_t > dense_dim=c10::nullopt) const
Definition: TensorBody.h:4075
at::Tensor & less_(const at::Scalar &other) const
Definition: TensorBody.h:4910
Tensor toType(ScalarType t) const
Definition: TensorBody.h:228
at::Tensor repeat_symint(c10::SymIntArrayRef repeats) const
Definition: TensorBody.h:3175
at::Tensor fliplr() const
Definition: TensorBody.h:3700
at::Tensor & nan_to_num_(c10::optional< double > nan=c10::nullopt, c10::optional< double > posinf=c10::nullopt, c10::optional< double > neginf=c10::nullopt) const
Definition: TensorBody.h:2735
::std::tuple< at::Tensor, at::Tensor > frexp() const
Definition: TensorBody.h:3840
at::Tensor squeeze() const
Definition: TensorBody.h:3495
at::Tensor _conj() const
Definition: TensorBody.h:1580
double q_scale() const
Definition: TensorBody.h:4090
at::Tensor & bitwise_left_shift_(const at::Tensor &other) const
Definition: TensorBody.h:4555
bool is_nonzero() const
Definition: TensorBody.h:2695
at::Tensor lgamma() const
Definition: TensorBody.h:5070
::std::vector< at::Tensor > unbind(int64_t dim=0) const
Definition: TensorBody.h:4040
at::Tensor t() const
Definition: TensorBody.h:3645
at::Tensor new_empty_strided(at::IntArrayRef size, at::IntArrayRef stride, at::TensorOptions options={}) const
Definition: TensorBody.h:2360
at::Tensor & random_(int64_t from, c10::optional< int64_t > to, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:4645
at::Tensor & cauchy_(double median=0, double sigma=1, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:4665
at::Tensor & acosh_() const
Definition: TensorBody.h:1730
::std::vector< at::Tensor > unsafe_split(int64_t split_size, int64_t dim=0) const
Definition: TensorBody.h:3415
at::Tensor _addmm_activation(const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1, bool use_gelu=false) const
Definition: TensorBody.h:3930
at::Tensor & addbmm_(const at::Tensor &batch1, const at::Tensor &batch2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:4635
at::Tensor & cumsum_(int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2185
Tensor(c10::intrusive_ptr< TensorImpl, UndefinedTensorImpl > tensor_impl)
Definition: TensorBody.h:103
Tensor & operator=(const Tensor &rhs) &&
Definition: TensorBody.h:214
at::Tensor matrix_power(int64_t n) const
Definition: TensorBody.h:2855
const at::Tensor & resize_(at::IntArrayRef size, c10::optional< at::MemoryFormat > memory_format=c10::nullopt) const
Definition: TensorBody.h:2440
at::Tensor all() const
Definition: TensorBody.h:5360
at::Tensor & copysign_(const at::Tensor &other) const
Definition: TensorBody.h:1895
at::Tensor q_per_channel_scales() const
Definition: TensorBody.h:4100
at::Tensor index_fill(int64_t dim, const at::Tensor &index, const at::Scalar &value) const
Definition: TensorBody.h:4290
void __dispatch__backward(at::TensorList inputs, const c10::optional< at::Tensor > &gradient={}, c10::optional< bool > retain_graph=c10::nullopt, bool create_graph=false) const
Definition: TensorBody.h:1460
Tensor data() const
Definition: TensorBody.h:1431
Tensor index(std::initializer_list< at::indexing::TensorIndex > indices) const
at::Tensor new_empty_symint(c10::SymIntArrayRef size, at::TensorOptions options={}) const
Definition: TensorBody.h:2350
at::Tensor clone(c10::optional< at::MemoryFormat > memory_format=c10::nullopt) const
Definition: TensorBody.h:3845
at::Tensor as_strided_scatter(const at::Tensor &src, at::IntArrayRef size, at::IntArrayRef stride, c10::optional< int64_t > storage_offset=c10::nullopt) const
Definition: TensorBody.h:3390
const Tensor & _fw_grad(uint64_t level) const
This function returns the forward gradient for this Tensor at the given level.
Definition: TensorBody.h:500
at::Tensor isfinite() const
Definition: TensorBody.h:5440
at::Tensor tril(int64_t diagonal=0) const
Definition: TensorBody.h:4700
Tensor hip() const
Definition: TensorBody.h:339
at::Tensor & lgamma_() const
Definition: TensorBody.h:5065
at::Tensor gcd(const at::Tensor &other) const
Definition: TensorBody.h:2595
Tensor(unsafe_borrow_t, const TensorBase &rhs)
Definition: TensorBody.h:95
at::Tensor swapaxes(int64_t axis0, int64_t axis1) const
Definition: TensorBody.h:5000
at::Tensor & arctanh_() const
Definition: TensorBody.h:1780
at::Tensor argsort(int64_t dim=-1, bool descending=false) const
Definition: TensorBody.h:5340
at::Tensor hypot(const at::Tensor &other) const
Definition: TensorBody.h:5195
at::Tensor multinomial(int64_t num_samples, bool replacement=false, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:5060
at::Tensor & exponential_(double lambd=1, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:4675
at::Tensor isinf() const
Definition: TensorBody.h:5445
bool __dispatch__is_zerotensor() const
Definition: TensorBody.h:2680
Tensor operator[](const Tensor &index) const
Definition: TensorBody.h:305
::std::tuple< at::Tensor, at::Tensor > sort(int64_t dim=-1, bool descending=false) const
Definition: TensorBody.h:5315
::std::vector< at::Tensor > unsafe_split_symint(c10::SymInt split_size, int64_t dim=0) const
Definition: TensorBody.h:3420
at::Tensor & igammac_(const at::Tensor &other) const
Definition: TensorBody.h:5220
at::Tensor mm(const at::Tensor &mat2) const
Definition: TensorBody.h:2950
Tensor std(int dim) const
Definition: TensorBody.h:1337
const at::Tensor & as_strided__symint(c10::SymIntArrayRef size, c10::SymIntArrayRef stride, c10::optional< c10::SymInt > storage_offset=c10::nullopt) const
Definition: TensorBody.h:1800
at::Tensor tile(at::IntArrayRef dims) const
Definition: TensorBody.h:3675
Tensor & operator&=(const Tensor &other)
Definition: TensorBody.h:290
at::Tensor & log2_() const
Definition: TensorBody.h:2785
at::Tensor isposinf() const
Definition: TensorBody.h:5455
at::Tensor bernoulli(c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:1855
Tensor & operator=(const Scalar &v) &&
Definition: TensorBody.h:211
void backward(const Tensor &gradient={}, c10::optional< bool > retain_graph=c10::nullopt, bool create_graph=false, c10::optional< TensorList > inputs=c10::nullopt) const
Computes the gradient of current tensor with respect to graph leaves.
Definition: TensorBody.h:433
at::Tensor norm(const c10::optional< at::Scalar > &p, at::ScalarType dtype) const
Definition: TensorBody.h:3810
c10::MaybeOwned< Tensor > expect_contiguous(MemoryFormat memory_format=MemoryFormat::Contiguous) &&=delete
at::Tensor & clip_(const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt) const
Definition: TensorBody.h:2080
bool __dispatch_is_inference() const
Definition: TensorBody.h:2710
at::Tensor & erf_() const
Definition: TensorBody.h:2455
at::Tensor _neg_view() const
Definition: TensorBody.h:1615
at::Tensor lt(const at::Scalar &other) const
Definition: TensorBody.h:4880
at::Tensor & arctan2_(const at::Tensor &other) const
Definition: TensorBody.h:5145
at::Tensor clamp_min(const at::Scalar &min) const
Definition: TensorBody.h:2050
at::Tensor & rename_(c10::optional< at::DimnameList > names) const
Definition: TensorBody.h:1510
at::Tensor & sinh_() const
Definition: TensorBody.h:3335
at::Tensor nan_to_num(c10::optional< double > nan=c10::nullopt, c10::optional< double > posinf=c10::nullopt, c10::optional< double > neginf=c10::nullopt) const
Definition: TensorBody.h:2730
at::Tensor reciprocal() const
Definition: TensorBody.h:3140
int64_t __dispatch_output_nr() const
Definition: TensorBody.h:1480
std::enable_if_t< std::is_same< typename c10::invoke_result_t< T &, Tensor >, Tensor >::value, unsigned > hook_return_var_t
Definition: TensorBody.h:1391
at::Tensor cov(int64_t correction=1, const c10::optional< at::Tensor > &fweights={}, const c10::optional< at::Tensor > &aweights={}) const
Definition: TensorBody.h:2130
at::Tensor arcsinh() const
Definition: TensorBody.h:1755
int64_t stride(at::Dimname dim) const
Definition: TensorBody.h:3555
at::Tensor diag_embed(int64_t offset=0, int64_t dim1=-2, int64_t dim2=-1) const
Definition: TensorBody.h:2200
at::Tensor slice(int64_t dim=0, c10::optional< int64_t > start=c10::nullopt, c10::optional< int64_t > end=c10::nullopt, int64_t step=1) const
Definition: TensorBody.h:3355
at::Tensor isclose(const at::Tensor &other, double rtol=1e-05, double atol=1e-08, bool equal_nan=false) const
Definition: TensorBody.h:2650
at::Tensor & floor_divide_(const at::Tensor &other) const
Definition: TensorBody.h:2570
at::Tensor align_as(const at::Tensor &other) const
Definition: TensorBody.h:1530
bool is_distributed() const
Definition: TensorBody.h:2660
Tensor operator-() const
Definition: TensorBody.h:263
at::Tensor erfinv() const
Definition: TensorBody.h:5090
at::Tensor nansum(at::OptionalIntArrayRef dim=c10::nullopt, bool keepdim=false, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:3575
at::Tensor & gcd_(const at::Tensor &other) const
Definition: TensorBody.h:2600
at::Tensor not_equal(const at::Scalar &other) const
Definition: TensorBody.h:4730
at::Tensor sign() const
Definition: TensorBody.h:5110
at::Tensor & less_equal_(const at::Scalar &other) const
Definition: TensorBody.h:4830
at::Tensor logcumsumexp(int64_t dim) const
Definition: TensorBody.h:2830
at::Tensor erfc() const
Definition: TensorBody.h:2460
at::Tensor rad2deg() const
Definition: TensorBody.h:3115
at::Tensor ccol_indices() const
Definition: TensorBody.h:4030
at::Tensor fmod(const at::Scalar &other) const
Definition: TensorBody.h:5175
at::Tensor & log_normal_(double mean=1, double std=2, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:4670
at::Tensor index_select(int64_t dim, const at::Tensor &index) const
Definition: TensorBody.h:4930
at::Tensor inner(const at::Tensor &other) const
Definition: TensorBody.h:5485
at::Tensor take(const at::Tensor &index) const
Definition: TensorBody.h:4920
at::Tensor addr(const at::Tensor &vec1, const at::Tensor &vec2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1670
Tensor & operator+=(const Scalar &other)
Definition: TensorBody.h:269
at::Tensor & __ilshift__(const at::Scalar &other) const
Definition: TensorBody.h:4540
std::enable_if_t< std::is_void< typename c10::invoke_result_t< T &, Tensor > >::value, unsigned > hook_return_void_t
Definition: TensorBody.h:1389
C10_DEPRECATED_MESSAGE("Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device().") DeprecatedTypeProperties &type() const
Definition: TensorBody.h:221
at::Tensor bitwise_or(const at::Scalar &other) const
Definition: TensorBody.h:4450
at::Tensor & float_power_(const at::Scalar &exponent) const
Definition: TensorBody.h:5420
at::Tensor heaviside(const at::Tensor &values) const
Definition: TensorBody.h:3910
at::Tensor relu() const
Definition: TensorBody.h:3240
at::Tensor & subtract_(const at::Tensor &other, const at::Scalar &alpha=1) const
Definition: TensorBody.h:3895
at::Tensor cos() const
Definition: TensorBody.h:2100
at::Tensor & unsqueeze_(int64_t dim) const
Definition: TensorBody.h:3765
at::Tensor & arcsin_() const
Definition: TensorBody.h:1820
at::Tensor log() const
Definition: TensorBody.h:2750
bool allclose(const at::Tensor &other, double rtol=1e-05, double atol=1e-08, bool equal_nan=false) const
Definition: TensorBody.h:1700
Tensor metal() const
Definition: TensorBody.h:351
::std::tuple< at::Tensor, at::Tensor > histogram(const at::Tensor &bins, const c10::optional< at::Tensor > &weight={}, bool density=false) const
Definition: TensorBody.h:5165
::std::vector< at::Tensor > split_with_sizes(at::IntArrayRef split_sizes, int64_t dim=0) const
Definition: TensorBody.h:3455
at::Tensor new_zeros_symint(c10::SymIntArrayRef size, at::TensorOptions options={}) const
Definition: TensorBody.h:2410
at::Tensor & bitwise_and_(const at::Scalar &other) const
Definition: TensorBody.h:4420
at::Tensor & t_() const
Definition: TensorBody.h:3650
at::Tensor __rshift__(const at::Scalar &other) const
Definition: TensorBody.h:4570
at::Tensor isnan() const
Definition: TensorBody.h:2655
at::Tensor new_full(at::IntArrayRef size, const at::Scalar &fill_value, at::TensorOptions options={}) const
Definition: TensorBody.h:2380
friend OptionalTensorRef
Definition: TensorBody.h:97
at::Tensor greater(const at::Scalar &other) const
Definition: TensorBody.h:4860
at::Tensor div(const at::Tensor &other) const
Definition: TensorBody.h:2230
C10_DEPRECATED_MESSAGE("Tensor.is_variable() is deprecated; everything is a variable now. (If you want to assert that variable has been appropriately handled already, use at::impl::variable_excluded_from_dispatch())") bool is_variable() const noexcept
Definition: TensorBody.h:237
at::Tensor divide(const at::Tensor &other) const
Definition: TensorBody.h:2270
at::Tensor abs() const
Definition: TensorBody.h:1540
at::Tensor rename(c10::optional< at::DimnameList > names) const
Definition: TensorBody.h:1515
::std::tuple< at::Tensor, at::Tensor > triangular_solve(const at::Tensor &A, bool upper=true, bool transpose=false, bool unitriangular=false) const
Definition: TensorBody.h:4990
at::Tensor & transpose_(int64_t dim0, int64_t dim1) const
Definition: TensorBody.h:3690
at::Tensor roll(at::IntArrayRef shifts, at::IntArrayRef dims={}) const
Definition: TensorBody.h:3710
at::Tensor argmax(c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false) const
Definition: TensorBody.h:1715
at::Tensor & clamp_(const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt) const
Definition: TensorBody.h:2020
at::Tensor lerp(const at::Tensor &end, const at::Scalar &weight) const
Definition: TensorBody.h:5150
at::Tensor multiply(const at::Tensor &other) const
Definition: TensorBody.h:2985
at::Tensor & tan_() const
Definition: TensorBody.h:3660
at::Tensor gather(int64_t dim, const at::Tensor &index, bool sparse_grad=false) const
Definition: TensorBody.h:4960
at::Tensor std(bool unbiased) const
Definition: TensorBody.h:3605
at::Tensor less(const at::Scalar &other) const
Definition: TensorBody.h:4900
::std::tuple< at::Tensor, at::Tensor > topk(int64_t k, int64_t dim=-1, bool largest=true, bool sorted=true) const
Definition: TensorBody.h:5355
::std::vector< at::Tensor > chunk(int64_t chunks, int64_t dim=0) const
Definition: TensorBody.h:1980
at::Tensor select(at::Dimname dim, int64_t index) const
Definition: TensorBody.h:3275
at::Tensor argwhere() const
Definition: TensorBody.h:4955
::std::vector< at::Tensor > dsplit(int64_t sections) const
Definition: TensorBody.h:3485
at::Tensor values() const
Definition: TensorBody.h:4015
at::Tensor flatten(int64_t start_dim=0, int64_t end_dim=-1) const
Definition: TensorBody.h:2515
at::Tensor flipud() const
Definition: TensorBody.h:3705
at::Tensor sin() const
Definition: TensorBody.h:3310
at::Tensor expm1() const
Definition: TensorBody.h:2490
Tensor & operator=(Tensor &&x) &noexcept
Definition: TensorBody.h:207
at::Tensor acosh() const
Definition: TensorBody.h:1725
Tensor & index_put_(std::initializer_list< at::indexing::TensorIndex > indices, const Scalar &v)
int64_t _dimV() const
Definition: TensorBody.h:3975
at::Tensor & arccosh_() const
Definition: TensorBody.h:1740
at::Tensor outer(const at::Tensor &vec2) const
Definition: TensorBody.h:5490
at::Tensor __and__(const at::Scalar &other) const
Definition: TensorBody.h:4430
at::Tensor mv(const at::Tensor &vec) const
Definition: TensorBody.h:3005
at::Tensor maximum(const at::Tensor &other) const
Definition: TensorBody.h:5275
at::Tensor & uniform_(double from=0, double to=1, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:4660
at::Tensor asinh() const
Definition: TensorBody.h:1745
at::Tensor erf() const
Definition: TensorBody.h:2450
at::Tensor sum_to_size(at::IntArrayRef size) const
Definition: TensorBody.h:3580
at::Tensor index_put(const c10::List< c10::optional< at::Tensor > > &indices, const at::Tensor &values, bool accumulate=false) const
Definition: TensorBody.h:2645
at::Tensor & index_copy_(int64_t dim, const at::Tensor &index, const at::Tensor &source) const
Definition: TensorBody.h:2620
bool __dispatch_is_leaf() const
Definition: TensorBody.h:1475
Tensor & mutable_grad() const
Return a mutable reference to the gradient.
Definition: TensorBody.h:475
at::Tensor & arctan_() const
Definition: TensorBody.h:1840
at::Tensor & tanh_() const
Definition: TensorBody.h:3670
at::Tensor & renorm_(const at::Scalar &p, int64_t dim, const at::Scalar &maxnorm) const
Definition: TensorBody.h:5375
at::Tensor & expm1_() const
Definition: TensorBody.h:2495
at::Tensor prod(c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:3630
at::Tensor broadcast_to_symint(c10::SymIntArrayRef size) const
Definition: TensorBody.h:1960
void __dispatch_set_data(const at::Tensor &new_data) const
Definition: TensorBody.h:1465
int64_t size(at::Dimname dim) const
Definition: TensorBody.h:3350
at::Tensor & erfinv_() const
Definition: TensorBody.h:5095
at::Tensor _fw_primal(int64_t level) const
Definition: TensorBody.h:1505
at::Tensor repeat(at::IntArrayRef repeats) const
Definition: TensorBody.h:3170
at::Tensor & add_(const at::Tensor &other, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1645
bool is_pinned(c10::optional< at::Device > device=c10::nullopt) const
Definition: TensorBody.h:3100
at::Tensor logaddexp(const at::Tensor &other) const
Definition: TensorBody.h:2790
Tensor cuda() const
Definition: TensorBody.h:335
at::Tensor & erfc_() const
Definition: TensorBody.h:2465
at::Tensor & _coalesced_(bool coalesced) const
Definition: TensorBody.h:4005
at::Tensor repeat_interleave_symint(c10::SymInt repeats, c10::optional< int64_t > dim=c10::nullopt, c10::optional< int64_t > output_size=c10::nullopt) const
Definition: TensorBody.h:3190
at::Tensor & bernoulli_(const at::Tensor &p, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:1860
at::Tensor bitwise_and(const at::Scalar &other) const
Definition: TensorBody.h:4410
at::Tensor orgqr(const at::Tensor &input2) const
Definition: TensorBody.h:5045
at::Tensor positive() const
Definition: TensorBody.h:3850
at::Tensor count_nonzero(at::IntArrayRef dim) const
Definition: TensorBody.h:2120
at::Tensor & ne_(const at::Scalar &other) const
Definition: TensorBody.h:4720
at::Tensor _reshape_alias(at::IntArrayRef size, at::IntArrayRef stride) const
Definition: TensorBody.h:3205
at::Tensor & addr_(const at::Tensor &vec1, const at::Tensor &vec2, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1675
at::Tensor & logical_and_(const at::Tensor &other) const
Definition: TensorBody.h:1935
at::Tensor float_power(const at::Tensor &exponent) const
Definition: TensorBody.h:5410
at::Tensor _is_any_true() const
Definition: TensorBody.h:1685
at::Tensor sigmoid() const
Definition: TensorBody.h:3290
at::Tensor reshape_symint(c10::SymIntArrayRef shape) const
Definition: TensorBody.h:3200
at::Tensor unsqueeze(int64_t dim) const
Definition: TensorBody.h:3760
at::Tensor where(const at::Tensor &condition, const at::Tensor &other) const
Definition: TensorBody.h:3800
at::Tensor max() const
Definition: TensorBody.h:5265
at::Tensor & scatter_(int64_t dim, const at::Tensor &index, const at::Tensor &src) const
Definition: TensorBody.h:4330
at::Tensor adjoint() const
Definition: TensorBody.h:3095
at::Tensor ger(const at::Tensor &vec2) const
Definition: TensorBody.h:5495
at::Tensor & neg_() const
Definition: TensorBody.h:3155
at::Tensor & clamp_min_(const at::Scalar &min) const
Definition: TensorBody.h:2060
at::Tensor & geometric_(double p, c10::optional< at::Generator > generator=c10::nullopt) const
Definition: TensorBody.h:4680
at::Tensor nanmean(at::OptionalIntArrayRef dim=c10::nullopt, bool keepdim=false, c10::optional< at::ScalarType > dtype=c10::nullopt) const
Definition: TensorBody.h:2900
at::Tensor logical_or(const at::Tensor &other) const
Definition: TensorBody.h:1940
at::Tensor repeat_interleave(const at::Tensor &repeats, c10::optional< int64_t > dim=c10::nullopt, c10::optional< int64_t > output_size=c10::nullopt) const
Definition: TensorBody.h:3180
at::Tensor & addmv_(const at::Tensor &mat, const at::Tensor &vec, const at::Scalar &beta=1, const at::Scalar &alpha=1) const
Definition: TensorBody.h:1665
at::Tensor masked_fill(const at::Tensor &mask, const at::Scalar &value) const
Definition: TensorBody.h:4210
at::Tensor smm(const at::Tensor &mat2) const
Definition: TensorBody.h:3400
at::Tensor bitwise_not() const
Definition: TensorBody.h:1880
void record_stream(at::Stream s) const
Definition: TensorBody.h:5450
at::Tensor & pow_(const at::Scalar &exponent) const
Definition: TensorBody.h:5400
at::Tensor q_per_channel_zero_points() const
Definition: TensorBody.h:4105
at::Tensor asin() const
Definition: TensorBody.h:1805
at::Tensor var(bool unbiased) const
Definition: TensorBody.h:3770
at::Tensor & fill_diagonal_(const at::Scalar &fill_value, bool wrap=false) const
Definition: TensorBody.h:2220
at::Tensor minimum(const at::Tensor &other) const
Definition: TensorBody.h:5285
at::Tensor lcm(const at::Tensor &other) const
Definition: TensorBody.h:2605
at::Tensor expand_symint(c10::SymIntArrayRef size, bool implicit=false) const
Definition: TensorBody.h:2505
at::Tensor & xlogy_(const at::Tensor &other) const
Definition: TensorBody.h:2810
at::Tensor & fmod_(const at::Scalar &other) const
Definition: TensorBody.h:5180
at::Tensor moveaxis(at::IntArrayRef source, at::IntArrayRef destination) const
Definition: TensorBody.h:3065
Tensor ve() const
Definition: TensorBody.h:343
Definition: Optional.h:549
constexpr T const & value() const &
Definition: Optional.h:762
constexpr bool has_value() const noexcept
Definition: Optional.h:735
Tensor make_tensor(Args &&... args)
Definition: TensorBody.h:1448
bool variable_excluded_from_dispatch()
Definition: TensorBase.h:43
at::Tensor new_zeros(const at::Tensor &self, at::IntArrayRef size, at::TensorOptions options={})
Definition: Functions.h:2730
at::Tensor new_full(const at::Tensor &self, at::IntArrayRef size, const at::Scalar &fill_value, at::TensorOptions options={})
Definition: Functions.h:2702
at::Tensor & set_(at::Tensor &self, at::Storage source, int64_t storage_offset, at::IntArrayRef size, at::IntArrayRef stride={})
Definition: Functions.h:9367
c10::SymInt size(const TensorBase &t, int64_t dim)
Definition: TensorBase.h:959
at::Tensor to_padded_tensor(const at::Tensor &self, double padding, at::OptionalIntArrayRef output_size=c10::nullopt)
Definition: Functions.h:19089
at::Tensor repeat(const at::Tensor &self, at::IntArrayRef repeats)
Definition: Functions.h:6489
at::Tensor view(const at::Tensor &self, at::IntArrayRef size)
Definition: Functions.h:9435
const at::Tensor & resize_(const at::Tensor &self, at::IntArrayRef size, c10::optional< at::MemoryFormat > memory_format=c10::nullopt)
Definition: Functions.h:2804
at::Tensor new_empty(const at::Tensor &self, at::IntArrayRef size, at::TensorOptions options={})
Definition: Functions.h:2646
at::Tensor new_ones(const at::Tensor &self, at::IntArrayRef size, at::TensorOptions options={})
Definition: Functions.h:2758
at::Tensor expand(const at::Tensor &self, at::IntArrayRef size, bool implicit=false)
Definition: Functions.h:3024
at::Tensor new_empty_strided(const at::Tensor &self, at::IntArrayRef size, at::IntArrayRef stride, at::TensorOptions options={})
Definition: Functions.h:2674
Definition: TensorBase.h:34
at::Tensor & index_put_(at::Tensor &self, const c10::List< c10::optional< at::Tensor > > &indices, const at::Tensor &values, bool accumulate=false)
Definition: Functions.h:3655
at::Tensor broadcast_to_symint(const at::Tensor &self, c10::SymIntArrayRef size)
Definition: Functions.h:1305
at::Tensor ne(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9944
int64_t q_per_channel_axis(const at::Tensor &self)
Definition: Functions.h:9040
at::Tensor masked_select(const at::Tensor &self, const at::Tensor &mask)
Definition: Functions.h:10330
inline ::std::vector< at::Tensor > chunk(const at::Tensor &self, int64_t chunks, int64_t dim=0)
Definition: Functions.h:1448
at::Tensor narrow(const at::Tensor &self, int64_t dim, int64_t start, int64_t length)
Definition: Functions.h:5008
at::Tensor flatten(const at::Tensor &self, int64_t start_dim=0, int64_t end_dim=-1)
Definition: Functions.h:3073
at::Tensor xlogy(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4134
at::Tensor corrcoef(const at::Tensor &self)
Definition: Functions.h:1945
at::Tensor cholesky_solve(const at::Tensor &self, const at::Tensor &input2, bool upper=false)
Definition: Functions.h:10537
inline ::std::vector< at::Tensor > split_with_sizes_symint(const at::Tensor &self, c10::SymIntArrayRef split_sizes, int64_t dim=0)
Definition: Functions.h:7302
bool __dispatch_is_conj(const at::Tensor &self)
Definition: Functions.h:3742
at::Tensor & clip_(at::Tensor &self, const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt)
Definition: Functions.h:1626
at::Tensor exp2(const at::Tensor &self)
Definition: Functions.h:2985
at::Tensor rsqrt(const at::Tensor &self)
Definition: Functions.h:6754
at::Tensor dequantize(const at::Tensor &self)
Definition: Functions.h:9010
inline ::std::tuple< at::Tensor, at::Tensor > kthvalue(const at::Tensor &self, int64_t k, int64_t dim=-1, bool keepdim=false)
Definition: Functions.h:3801
at::Tensor floor_divide(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3142
at::Tensor flipud(const at::Tensor &self)
Definition: Functions.h:7811
at::Tensor quantile(const at::Tensor &self, const at::Tensor &q, c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false, c10::string_view interpolation="linear")
Definition: Functions.h:11120
at::Tensor & exp2_(at::Tensor &self)
Definition: Functions.h:2990
at::Tensor reciprocal(const at::Tensor &self)
Definition: Functions.h:6431
at::Tensor hardshrink_backward(const at::Tensor &grad_out, const at::Tensor &self, const at::Scalar &lambd)
Definition: Functions.h:6749
at::Tensor & square_(at::Tensor &self)
Definition: Functions.h:7548
at::Tensor mvlgamma(const at::Tensor &self, int64_t p)
Definition: Functions.h:4937
at::Tensor cumsum(const at::Tensor &self, int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:2114
at::Tensor log10(const at::Tensor &self)
Definition: Functions.h:4049
c10::Stream Stream
Definition: TensorBody.h:71
at::Tensor dot(const at::Tensor &self, const at::Tensor &tensor)
Definition: Functions.h:2373
at::Tensor repeat_interleave(const at::Tensor &repeats, c10::optional< int64_t > output_size=c10::nullopt)
Definition: Functions.h:6502
at::Tensor _conj(const at::Tensor &self)
Definition: Functions.h:434
at::Tensor log_softmax(const at::Tensor &self, int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:4204
at::Tensor logsumexp(const at::Tensor &self, at::IntArrayRef dim, bool keepdim=false)
Definition: Functions.h:4293
at::Tensor cholesky_inverse(const at::Tensor &self, bool upper=false)
Definition: Functions.h:10547
at::Tensor lt(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10196
inline ::std::tuple< at::Tensor, at::Tensor > min(const at::Tensor &self, int64_t dim, bool keepdim=false)
Definition: Functions.h:4639
at::Tensor masked_scatter(const at::Tensor &self, const at::Tensor &mask, const at::Tensor &source)
Definition: Functions.h:9419
at::Tensor argwhere(const at::Tensor &self)
Definition: Functions.h:10359
inline ::std::vector< at::Tensor > split_symint(const at::Tensor &self, c10::SymInt split_size, int64_t dim=0)
Definition: Functions.h:7236
at::Tensor gather(const at::Tensor &self, int64_t dim, const at::Tensor &index, bool sparse_grad=false)
Definition: Functions.h:10373
at::Tensor slice_scatter_symint(const at::Tensor &self, const at::Tensor &src, int64_t dim=0, c10::optional< c10::SymInt > start=c10::nullopt, c10::optional< c10::SymInt > end=c10::nullopt, c10::SymInt step=1)
Definition: Functions.h:7091
bool __dispatch_is_complex(const at::Tensor &self)
Definition: Functions.h:3737
bool is_distributed(const at::Tensor &self)
Definition: Functions.h:3727
at::Tensor rad2deg(const at::Tensor &self)
Definition: Functions.h:5391
at::Tensor & exp_(at::Tensor &self)
Definition: Functions.h:2971
at::Tensor less(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10224
at::Tensor log1p(const at::Tensor &self)
Definition: Functions.h:4068
inline ::std::tuple< at::Tensor, at::Tensor > triangular_solve(const at::Tensor &self, const at::Tensor &A, bool upper=true, bool transpose=false, bool unitriangular=false)
Definition: Functions.h:10461
at::Tensor signbit(const at::Tensor &self)
Definition: Functions.h:10753
inline ::std::vector< at::Tensor > unbind(const at::Tensor &self, int64_t dim=0)
Definition: Functions.h:8960
at::Tensor logical_or(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:1243
at::Tensor softmax(const at::Tensor &self, int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:7156
at::Tensor triu(const at::Tensor &self, int64_t diagonal=0)
Definition: Functions.h:9871
at::Tensor index_select(const at::Tensor &self, int64_t dim, const at::Tensor &index)
Definition: Functions.h:10280
at::Tensor log(const at::Tensor &self)
Definition: Functions.h:4030
at::Tensor pinverse(const at::Tensor &self, double rcond=1e-15)
Definition: Functions.h:5381
at::Tensor diff(const at::Tensor &self, int64_t n=1, int64_t dim=-1, const c10::optional< at::Tensor > &prepend={}, const c10::optional< at::Tensor > &append={})
Definition: Functions.h:2229
at::Tensor nanmean(const at::Tensor &self, at::OptionalIntArrayRef dim=c10::nullopt, bool keepdim=false, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:4559
at::Tensor sin(const at::Tensor &self)
Definition: Functions.h:6959
at::Tensor hardshrink(const at::Tensor &self, const at::Scalar &lambd=0.5)
Definition: Functions.h:6735
int64_t q_zero_point(const at::Tensor &self)
Definition: Functions.h:9025
at::Tensor & nan_to_num_(at::Tensor &self, c10::optional< double > nan=c10::nullopt, c10::optional< double > posinf=c10::nullopt, c10::optional< double > neginf=c10::nullopt)
Definition: Functions.h:3900
at::Tensor & zero_(at::Tensor &self)
Definition: Functions.h:8513
at::Tensor take(const at::Tensor &self, const at::Tensor &index)
Definition: Functions.h:10252
at::Tensor logaddexp2(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4129
inline ::std::vector< at::Tensor > unsafe_split_with_sizes(const at::Tensor &self, at::IntArrayRef split_sizes, int64_t dim=0)
Definition: Functions.h:7269
inline ::std::tuple< at::Tensor, at::Tensor > aminmax(const at::Tensor &self, c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false)
Definition: Functions.h:4379
at::Tensor moveaxis(const at::Tensor &self, at::IntArrayRef source, at::IntArrayRef destination)
Definition: Functions.h:5341
at::Tensor all(const at::Tensor &self, int64_t dim, bool keepdim=false)
Definition: Functions.h:642
at::Tensor & trunc_(at::Tensor &self)
Definition: Functions.h:7896
at::Tensor index_copy(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Tensor &source)
Definition: Functions.h:3645
at::Tensor fliplr(const at::Tensor &self)
Definition: Functions.h:7806
at::Tensor diagonal_scatter(const at::Tensor &self, const at::Tensor &src, int64_t offset=0, int64_t dim1=0, int64_t dim2=1)
Definition: Functions.h:7124
at::Tensor tanh(const at::Tensor &self)
Definition: Functions.h:7705
inline ::std::tuple< at::Tensor, at::Tensor > frexp(const at::Tensor &self)
Definition: Functions.h:8437
at::Tensor square(const at::Tensor &self)
Definition: Functions.h:7543
at::Tensor mean(const at::Tensor &self, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:4526
at::Tensor positive(const at::Tensor &self)
Definition: Functions.h:8498
at::Tensor cumprod(const at::Tensor &self, int64_t dim, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:2081
at::Tensor cross(const at::Tensor &self, const at::Tensor &other, c10::optional< int64_t > dim=c10::nullopt)
Definition: Functions.h:9857
at::Tensor detach(const at::Tensor &self)
Definition: Functions.h:7016
at::Tensor prod(const at::Tensor &self, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:7648
at::Tensor cos(const at::Tensor &self)
Definition: Functions.h:1887
at::Tensor as_strided_scatter(const at::Tensor &self, const at::Tensor &src, at::IntArrayRef size, at::IntArrayRef stride, c10::optional< int64_t > storage_offset=c10::nullopt)
Definition: Functions.h:7129
at::Tensor isinf(const at::Tensor &self)
Definition: Functions.h:16926
at::Tensor logit(const at::Tensor &self, c10::optional< double > eps=c10::nullopt)
Definition: Functions.h:6940
at::Tensor histc(const at::Tensor &self, int64_t bins=100, const at::Scalar &min=0, const at::Scalar &max=0)
Definition: Functions.h:10837
inline ::std::vector< at::Tensor > unsafe_split_with_sizes_symint(const at::Tensor &self, c10::SymIntArrayRef split_sizes, int64_t dim=0)
Definition: Functions.h:7280
at::Tensor __rshift__(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9777
inline ::std::tuple< at::Tensor, at::Tensor > geqrf(const at::Tensor &self)
Definition: Functions.h:10584
inline ::std::tuple< at::Tensor, at::Tensor > slogdet(const at::Tensor &self)
Definition: Functions.h:18029
at::Tensor select_scatter(const at::Tensor &self, const at::Tensor &src, int64_t dim, int64_t index)
Definition: Functions.h:7102
at::Tensor & sinc_(at::Tensor &self)
Definition: Functions.h:6983
inline ::std::vector< at::Tensor > split_with_sizes(const at::Tensor &self, at::IntArrayRef split_sizes, int64_t dim=0)
Definition: Functions.h:7291
at::Tensor logdet(const at::Tensor &self)
Definition: Functions.h:18043
at::Tensor transpose(const at::Tensor &self, int64_t dim0, int64_t dim1)
Definition: Functions.h:7776
at::Tensor & relu_(at::Tensor &self)
Definition: Functions.h:6658
at::Tensor det(const at::Tensor &self)
Definition: Functions.h:17907
inline ::std::vector< at::Tensor > nonzero_numpy(const at::Tensor &self)
Definition: Functions.h:10354
inline ::std::tuple< at::Tensor, at::Tensor > mode(const at::Tensor &self, int64_t dim=-1, bool keepdim=false)
Definition: Functions.h:4848
int64_t stride(const at::Tensor &self, at::Dimname dim)
Definition: Functions.h:7467
at::Tensor index_add(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Tensor &source, const at::Scalar &alpha=1)
Definition: Functions.h:9462
at::Tensor floor(const at::Tensor &self)
Definition: Functions.h:3123
at::Tensor & clamp_(at::Tensor &self, const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt)
Definition: Functions.h:1512
inline ::std::tuple< at::Tensor, at::Tensor, at::Tensor > svd(const at::Tensor &self, bool some=true, bool compute_uv=true)
Definition: Functions.h:10499
at::Tensor igammac(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:10965
at::Tensor clamp_min(const at::Tensor &self, const at::Scalar &min)
Definition: Functions.h:1578
at::Tensor & ceil_(at::Tensor &self)
Definition: Functions.h:1415
at::Tensor erfinv(const at::Tensor &self)
Definition: Functions.h:10706
inline ::std::vector< at::Tensor > gradient(const at::Tensor &self, const c10::optional< at::Scalar > &spacing=c10::nullopt, c10::optional< int64_t > dim=c10::nullopt, int64_t edge_order=1)
Definition: Functions.h:2243
at::Tensor tril(const at::Tensor &self, int64_t diagonal=0)
Definition: Functions.h:9885
bool is_complex(const Tensor &tensor)
Definition: Functions.h:26062
inline ::std::vector< at::Tensor > vsplit(const at::Tensor &self, int64_t sections)
Definition: Functions.h:7323
const at::Tensor & resize_as_sparse_(const at::Tensor &self, const at::Tensor &the_template)
Definition: Functions.h:8508
bool __dispatch__is_zerotensor(const at::Tensor &self)
Definition: Functions.h:3747
at::Tensor masked_fill(const at::Tensor &self, const at::Tensor &mask, const at::Scalar &value)
Definition: Functions.h:9409
at::Tensor diag_embed(const at::Tensor &self, int64_t offset=0, int64_t dim1=-2, int64_t dim2=-1)
Definition: Functions.h:2182
at::Tensor & log1p_(at::Tensor &self)
Definition: Functions.h:4073
at::Tensor & neg_(at::Tensor &self)
Definition: Functions.h:6455
bool equal(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:11339
at::Tensor inverse(const at::Tensor &self)
Definition: Functions.h:18160
at::Tensor narrow_copy_symint(const at::Tensor &self, int64_t dim, c10::SymInt start, c10::SymInt length)
Definition: Functions.h:4953
bool __dispatch_is_signed(const at::Tensor &self)
Definition: Functions.h:3772
at::Tensor copy(const at::Tensor &self, const at::Tensor &src, bool non_blocking=false)
Definition: Functions.h:1872
at::Tensor sub(const at::Tensor &self, const at::Tensor &other, const at::Scalar &alpha=1)
Definition: Functions.h:8527
at::Tensor & gcd_(at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3309
at::Tensor nanmedian(const at::Tensor &self)
Definition: Functions.h:4606
at::Tensor _reshape_alias(const at::Tensor &self, at::IntArrayRef size, at::IntArrayRef stride)
Definition: Functions.h:6578
at::Tensor clone(const at::Tensor &self, c10::optional< at::MemoryFormat > memory_format=c10::nullopt)
Definition: Functions.h:8493
at::Tensor put(const at::Tensor &self, const at::Tensor &index, const at::Tensor &source, bool accumulate=false)
Definition: Functions.h:9448
at::Tensor & tan_(at::Tensor &self)
Definition: Functions.h:7691
at::Tensor & xlogy_(at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4149
at::Tensor gt(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10140
at::Tensor multinomial(const at::Tensor &self, int64_t num_samples, bool replacement=false, c10::optional< at::Generator > generator=c10::nullopt)
Definition: Functions.h:10659
at::Tensor vdot(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:2387
at::Tensor msort(const at::Tensor &self)
Definition: Functions.h:11241
at::Tensor & logit_(at::Tensor &self, c10::optional< double > eps=c10::nullopt)
Definition: Functions.h:6945
at::Tensor orgqr(const at::Tensor &self, const at::Tensor &input2)
Definition: Functions.h:10589
at::Tensor exp(const at::Tensor &self)
Definition: Functions.h:2966
at::Tensor any(const at::Tensor &self, int64_t dim, bool keepdim=false)
Definition: Functions.h:675
at::Tensor clip(const at::Tensor &self, const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt)
Definition: Functions.h:1616
at::Tensor round(const at::Tensor &self)
Definition: Functions.h:6605
at::Tensor broadcast_to(const at::Tensor &self, at::IntArrayRef size)
Definition: Functions.h:1294
inline ::std::vector< at::Tensor > dsplit(const at::Tensor &self, int64_t sections)
Definition: Functions.h:7333
at::Tensor where(const at::Tensor &condition, const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:8077
at::Tensor clamp(const at::Tensor &self, const c10::optional< at::Scalar > &min, const c10::optional< at::Scalar > &max=c10::nullopt)
Definition: Functions.h:1502
inline ::std::vector< at::Tensor > unsafe_split(const at::Tensor &self, int64_t split_size, int64_t dim=0)
Definition: Functions.h:7203
at::Tensor range(const at::Scalar &start, const at::Scalar &end, const at::Scalar &step=1, at::TensorOptions options={})
Definition: Functions.h:6390
at::Tensor matrix_power(const at::Tensor &self, int64_t n)
Definition: Functions.h:4345
bool __dispatch_is_floating_point(const at::Tensor &self)
Definition: Functions.h:3732
at::Tensor & deg2rad_(at::Tensor &self)
Definition: Functions.h:5415
inline ::std::tuple< at::Tensor, at::Tensor > max(const at::Tensor &self, int64_t dim, bool keepdim=false)
Definition: Functions.h:4407
at::Tensor atan2(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:10781
at::Tensor bitwise_xor(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9709
at::Tensor tile(const at::Tensor &self, at::IntArrayRef dims)
Definition: Functions.h:7771
at::Tensor diagflat(const at::Tensor &self, int64_t offset=0)
Definition: Functions.h:2187
c10::MaybeOwned< TensorBase > borrow_from_optional_tensor(const c10::optional< TensorBase > &opt)
Definition: TensorBase.h:931
at::Tensor relu(const at::Tensor &self)
Definition: Functions.h:6653
at::Tensor bitwise_or(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9666
at::Tensor nextafter(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:10979
at::Tensor addcdiv(const at::Tensor &self, const at::Tensor &tensor1, const at::Tensor &tensor2, const at::Scalar &value=1)
Definition: Functions.h:10425
at::Tensor istft(const at::Tensor &self, int64_t n_fft, c10::optional< int64_t > hop_length=c10::nullopt, c10::optional< int64_t > win_length=c10::nullopt, const c10::optional< at::Tensor > &window={}, bool center=true, bool normalized=false, c10::optional< bool > onesided=c10::nullopt, c10::optional< int64_t > length=c10::nullopt, bool return_complex=false)
Definition: Functions.h:7457
at::Tensor expm1(const at::Tensor &self)
Definition: Functions.h:3004
at::Tensor alias(const at::Tensor &self)
Definition: Functions.h:11563
at::Tensor & rad2deg_(at::Tensor &self)
Definition: Functions.h:5396
at::Tensor _reshape_alias_symint(const at::Tensor &self, c10::SymIntArrayRef size, c10::SymIntArrayRef stride)
Definition: Functions.h:6589
at::Tensor & sigmoid_(at::Tensor &self)
Definition: Functions.h:6926
at::Tensor var(const at::Tensor &self, bool unbiased)
Definition: Functions.h:7991
at::Tensor addbmm(const at::Tensor &self, const at::Tensor &batch1, const at::Tensor &batch2, const at::Scalar &beta=1, const at::Scalar &alpha=1)
Definition: Functions.h:9829
at::Tensor negative(const at::Tensor &self)
Definition: Functions.h:6469
at::Tensor __and__(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9638
at::Tensor int_repr(const at::Tensor &self)
Definition: Functions.h:9045
ArrayRef< Tensor > TensorList
Definition: TensorBody.h:68
at::Tensor bmm(const at::Tensor &self, const at::Tensor &mat2)
Definition: Functions.h:1275
at::Tensor remainder(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10993
at::Tensor logical_xor(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:1215
at::Tensor & clamp_max_(at::Tensor &self, const at::Scalar &max)
Definition: Functions.h:1550
at::Tensor lgamma(const at::Tensor &self)
Definition: Functions.h:10673
at::Tensor eq(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10000
at::Tensor le(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10084
at::Tensor conj_physical(const at::Tensor &self)
Definition: Functions.h:449
at::Tensor & lcm_(at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3328
at::Tensor & expm1_(at::Tensor &self)
Definition: Functions.h:3009
at::Tensor nonzero(const at::Tensor &self)
Definition: Functions.h:10349
at::Tensor deg2rad(const at::Tensor &self)
Definition: Functions.h:5410
at::Tensor repeat_interleave_symint(const at::Tensor &self, c10::SymInt repeats, c10::optional< int64_t > dim=c10::nullopt, c10::optional< int64_t > output_size=c10::nullopt)
Definition: Functions.h:6523
at::Tensor cholesky(const at::Tensor &self, bool upper=false)
Definition: Functions.h:10523
inline ::std::tuple< at::Tensor, at::Tensor > topk(const at::Tensor &self, int64_t k, int64_t dim=-1, bool largest=true, bool sorted=true)
Definition: Functions.h:11270
at::Tensor select_scatter_symint(const at::Tensor &self, const at::Tensor &src, int64_t dim, c10::SymInt index)
Definition: Functions.h:7113
at::Tensor & tanh_(at::Tensor &self)
Definition: Functions.h:7710
at::Tensor logical_not(const at::Tensor &self)
Definition: Functions.h:1201
at::Tensor & i0_(at::Tensor &self)
Definition: Functions.h:10725
at::Tensor unsqueeze(const at::Tensor &self, int64_t dim)
Definition: Functions.h:7981
at::Tensor ldexp(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3993
at::Tensor maximum(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:11055
at::Tensor & frac_(at::Tensor &self)
Definition: Functions.h:3166
inline ::std::vector< at::Tensor > tensor_split(const at::Tensor &self, int64_t sections, int64_t dim=0)
Definition: Functions.h:1453
at::Tensor isposinf(const at::Tensor &self)
Definition: Functions.h:16931
inline ::std::vector< at::Tensor > hsplit(const at::Tensor &self, int64_t sections)
Definition: Functions.h:7313
at::Tensor not_equal(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9972
at::Tensor scatter_reduce(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Tensor &src, c10::string_view reduce, bool include_self=true)
Definition: Functions.h:9591
at::Tensor clamp_max(const at::Tensor &self, const at::Scalar &max)
Definition: Functions.h:1540
inline ::std::tuple< at::Tensor, at::Tensor > cummax(const at::Tensor &self, int64_t dim)
Definition: Functions.h:2010
at::Tensor addmm(const at::Tensor &self, const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1)
Definition: Functions.h:8618
at::Tensor i0(const at::Tensor &self)
Definition: Functions.h:10720
at::Tensor copysign(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:1182
at::Tensor diag(const at::Tensor &self, int64_t diagonal=0)
Definition: Functions.h:9843
at::Tensor & reciprocal_(at::Tensor &self)
Definition: Functions.h:6436
at::Tensor prelu(const at::Tensor &self, const at::Tensor &weight)
Definition: Functions.h:6673
at::Tensor isclose(const at::Tensor &self, const at::Tensor &other, double rtol=1e-05, double atol=1e-08, bool equal_nan=false)
Definition: Functions.h:3675
at::Tensor & erf_(at::Tensor &self)
Definition: Functions.h:2933
at::Tensor unflatten(const at::Tensor &self, int64_t dim, at::IntArrayRef sizes)
Definition: Functions.h:3093
int64_t size(const at::Tensor &self, at::Dimname dim)
Definition: Functions.h:7031
at::Tensor & log10_(at::Tensor &self)
Definition: Functions.h:4054
at::Tensor adjoint(const at::Tensor &self)
Definition: Functions.h:5351
at::Tensor arctan2(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:10786
at::Tensor lerp(const at::Tensor &self, const at::Tensor &end, const at::Scalar &weight)
Definition: Functions.h:10818
inline ::std::vector< at::Tensor > tensor_split_symint(const at::Tensor &self, c10::SymInt sections, int64_t dim=0)
Definition: Functions.h:1464
at::Tensor ravel(const at::Tensor &self)
Definition: Functions.h:6426
at::Tensor & detach_(at::Tensor &self)
Definition: Functions.h:7021
at::Tensor __xor__(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9724
at::Tensor subtract(const at::Tensor &self, const at::Tensor &other, const at::Scalar &alpha=1)
Definition: Functions.h:8546
at::Tensor ger(const at::Tensor &self, const at::Tensor &vec2)
Definition: Functions.h:18202
at::Tensor select(const at::Tensor &self, at::Dimname dim, int64_t index)
Definition: Functions.h:6773
at::Tensor narrow_symint(const at::Tensor &self, int64_t dim, c10::SymInt start, c10::SymInt length)
Definition: Functions.h:5019
at::Tensor inner(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:18174
at::Tensor frac(const at::Tensor &self)
Definition: Functions.h:3161
inline ::std::vector< at::Tensor > split(const at::Tensor &self, int64_t split_size, int64_t dim=0)
Definition: Functions.h:7225
at::Tensor _addmm_activation(const at::Tensor &self, const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1, bool use_gelu=false)
Definition: Functions.h:8632
at::Tensor q_per_channel_zero_points(const at::Tensor &self)
Definition: Functions.h:9035
at::Tensor sigmoid(const at::Tensor &self)
Definition: Functions.h:6921
at::Tensor greater_equal(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10056
at::Tensor cosh(const at::Tensor &self)
Definition: Functions.h:1906
at::Tensor smm(const at::Tensor &self, const at::Tensor &mat2)
Definition: Functions.h:7151
at::Tensor fmax(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:11041
at::Tensor bitwise_not(const at::Tensor &self)
Definition: Functions.h:1159
at::Tensor & log2_(at::Tensor &self)
Definition: Functions.h:4092
at::Tensor fix(const at::Tensor &self)
Definition: Functions.h:7910
at::Tensor median(const at::Tensor &self)
Definition: Functions.h:4573
at::Tensor diagonal(const at::Tensor &self, int64_t offset=0, int64_t dim1=0, int64_t dim2=1)
Definition: Functions.h:2192
at::Tensor true_divide(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:2354
at::Tensor squeeze(const at::Tensor &self)
Definition: Functions.h:7343
at::Tensor isfinite(const at::Tensor &self)
Definition: Functions.h:16921
at::Tensor & ldexp_(at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3998
at::Tensor greater(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10168
at::Tensor swapaxes(const at::Tensor &self, int64_t axis0, int64_t axis1)
Definition: Functions.h:10504
at::Tensor nansum(const at::Tensor &self, at::OptionalIntArrayRef dim=c10::nullopt, bool keepdim=false, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:7510
at::Tensor sign(const at::Tensor &self)
Definition: Functions.h:10739
at::Tensor __or__(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9681
at::Tensor less_equal(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10112
at::Tensor heaviside(const at::Tensor &self, const at::Tensor &values)
Definition: Functions.h:8570
at::Tensor minimum(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:11092
double q_scale(const at::Tensor &self)
Definition: Functions.h:9020
inline ::std::vector< at::Tensor > unsafe_split_symint(const at::Tensor &self, c10::SymInt split_size, int64_t dim=0)
Definition: Functions.h:7214
at::Tensor digamma(const at::Tensor &self)
Definition: Functions.h:10687
at::Tensor flip(const at::Tensor &self, at::IntArrayRef dims)
Definition: Functions.h:7801
at::Tensor amin(const at::Tensor &self, at::IntArrayRef dim={}, bool keepdim=false)
Definition: Functions.h:4667
at::Tensor index_put(const at::Tensor &self, const c10::List< c10::optional< at::Tensor > > &indices, const at::Tensor &values, bool accumulate=false)
Definition: Functions.h:3660
at::Tensor lcm(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3323
inline ::std::tuple< at::Tensor, at::Tensor > histogram(const at::Tensor &self, const at::Tensor &bins, const c10::optional< at::Tensor > &weight={}, bool density=false)
Definition: Functions.h:10851
at::Tensor isneginf(const at::Tensor &self)
Definition: Functions.h:16945
at::Tensor erfc(const at::Tensor &self)
Definition: Functions.h:2947
at::Tensor rot90(const at::Tensor &self, int64_t k=1, at::IntArrayRef dims={0, 1})
Definition: Functions.h:7821
at::Tensor bitwise_and(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9623
at::Tensor as_strided_scatter_symint(const at::Tensor &self, const at::Tensor &src, c10::SymIntArrayRef size, c10::SymIntArrayRef stride, c10::optional< c10::SymInt > storage_offset=c10::nullopt)
Definition: Functions.h:7140
at::Tensor & log_(at::Tensor &self)
Definition: Functions.h:4035
at::Tensor trunc(const at::Tensor &self)
Definition: Functions.h:7891
at::Tensor logical_and(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:1229
at::Tensor fmod(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10909
at::Tensor float_power(const at::Tensor &self, const at::Tensor &exponent)
Definition: Functions.h:11395
inline ::std::tuple< at::Tensor, at::Tensor > cummin(const at::Tensor &self, int64_t dim)
Definition: Functions.h:2043
at::Tensor dist(const at::Tensor &self, const at::Tensor &other, const at::Scalar &p=2)
Definition: Functions.h:10767
at::Tensor log2(const at::Tensor &self)
Definition: Functions.h:4087
at::Tensor sqrt(const at::Tensor &self)
Definition: Functions.h:7524
bool __dispatch_is_neg(const at::Tensor &self)
Definition: Functions.h:3752
at::Tensor & round_(at::Tensor &self)
Definition: Functions.h:6610
at::Tensor reshape(const at::Tensor &self, at::IntArrayRef shape)
Definition: Functions.h:6534
at::Tensor norm(const at::Tensor &self, const c10::optional< at::Scalar > &p, at::ScalarType dtype)
Definition: Functions.h:8371
at::Tensor take_along_dim(const at::Tensor &self, const at::Tensor &indices, c10::optional< int64_t > dim=c10::nullopt)
Definition: Functions.h:10266
at::Tensor & negative_(at::Tensor &self)
Definition: Functions.h:6474
at::Tensor movedim(const at::Tensor &self, at::IntArrayRef source, at::IntArrayRef destination)
Definition: Functions.h:5331
bool is_same_size(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3767
at::Tensor & cosh_(at::Tensor &self)
Definition: Functions.h:1911
at::Tensor & sqrt_(at::Tensor &self)
Definition: Functions.h:7529
at::Tensor lu_solve(const at::Tensor &self, const at::Tensor &LU_data, const at::Tensor &LU_pivots)
Definition: Functions.h:10631
at::Tensor index(const at::Tensor &self, const c10::List< c10::optional< at::Tensor > > &indices)
Definition: Functions.h:3622
at::Tensor q_per_channel_scales(const at::Tensor &self)
Definition: Functions.h:9030
at::Tensor hypot(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:10937
bool is_nonzero(const at::Tensor &self)
Definition: Functions.h:3762
at::Tensor isnan(const at::Tensor &self)
Definition: Functions.h:3722
at::Tensor argsort(const at::Tensor &self, int64_t dim=-1, bool descending=false)
Definition: Functions.h:11246
at::Tensor erf(const at::Tensor &self)
Definition: Functions.h:2928
at::Tensor reshape_symint(const at::Tensor &self, c10::SymIntArrayRef shape)
Definition: Functions.h:6545
at::Tensor & cos_(at::Tensor &self)
Definition: Functions.h:1892
at::Tensor count_nonzero(const at::Tensor &self, at::IntArrayRef dim)
Definition: Functions.h:1930
at::Tensor index_reduce(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Tensor &source, c10::string_view reduce, bool include_self=true)
Definition: Functions.h:9481
at::Tensor matmul(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4326
at::Tensor sum(const at::Tensor &self, c10::optional< at::ScalarType > dtype=c10::nullopt)
Definition: Functions.h:7472
at::Tensor roll(const at::Tensor &self, at::IntArrayRef shifts, at::IntArrayRef dims={})
Definition: Functions.h:7816
at::Tensor mul(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4876
at::Tensor ormqr(const at::Tensor &self, const at::Tensor &input2, const at::Tensor &input3, bool left=true, bool transpose=false)
Definition: Functions.h:10612
at::Tensor & clamp_min_(at::Tensor &self, const at::Scalar &min)
Definition: Functions.h:1588
at::Tensor igamma(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:10951
at::Tensor ge(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:10028
at::Tensor sinc(const at::Tensor &self)
Definition: Functions.h:6978
at::Tensor swapdims(const at::Tensor &self, int64_t dim0, int64_t dim1)
Definition: Functions.h:10509
at::Tensor divide(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:2316
at::Tensor logaddexp(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4115
at::Tensor renorm(const at::Tensor &self, const at::Scalar &p, int64_t dim, const at::Scalar &maxnorm)
Definition: Functions.h:11312
at::Tensor fmin(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:11022
at::Tensor neg(const at::Tensor &self)
Definition: Functions.h:6450
at::Tensor t(const at::Tensor &self)
Definition: Functions.h:7681
at::Tensor slice_symint(const at::Tensor &self, int64_t dim=0, c10::optional< c10::SymInt > start=c10::nullopt, c10::optional< c10::SymInt > end=c10::nullopt, c10::SymInt step=1)
Definition: Functions.h:7047
at::Tensor div(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:2278
at::Tensor trace(const at::Tensor &self)
Definition: Functions.h:9908
at::Tensor slice(const at::Tensor &self, int64_t dim=0, c10::optional< int64_t > start=c10::nullopt, c10::optional< int64_t > end=c10::nullopt, int64_t step=1)
Definition: Functions.h:7036
inline ::std::vector< at::Tensor > unsafe_chunk(const at::Tensor &self, int64_t chunks, int64_t dim=0)
Definition: Functions.h:1443
at::Tensor matrix_exp(const at::Tensor &self)
Definition: Functions.h:4359
at::Tensor nanquantile(const at::Tensor &self, const at::Tensor &q, c10::optional< int64_t > dim=c10::nullopt, bool keepdim=false, c10::string_view interpolation="linear")
Definition: Functions.h:11148
at::Tensor logcumsumexp(const at::Tensor &self, int64_t dim)
Definition: Functions.h:4265
at::Tensor multiply(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:4895
inline ::std::tuple< at::Tensor, at::Tensor > sort(const at::Tensor &self, int64_t dim=-1, bool descending=false)
Definition: Functions.h:11194
at::Tensor tan(const at::Tensor &self)
Definition: Functions.h:7686
at::Tensor __lshift__(const at::Tensor &self, const at::Scalar &other)
Definition: Functions.h:9734
at::Tensor ceil(const at::Tensor &self)
Definition: Functions.h:1410
bool __dispatch_is_inference(const at::Tensor &self)
Definition: Functions.h:3777
at::Tensor stft(const at::Tensor &self, int64_t n_fft, c10::optional< int64_t > hop_length, c10::optional< int64_t > win_length, const c10::optional< at::Tensor > &window, bool normalized, c10::optional< bool > onesided=c10::nullopt, c10::optional< bool > return_complex=c10::nullopt)
Definition: Functions.h:7447
at::Tensor & rsqrt_(at::Tensor &self)
Definition: Functions.h:6759
at::Tensor amax(const at::Tensor &self, at::IntArrayRef dim={}, bool keepdim=false)
Definition: Functions.h:4457
at::Tensor outer(const at::Tensor &self, const at::Tensor &vec2)
Definition: Functions.h:18188
at::Tensor & floor_(at::Tensor &self)
Definition: Functions.h:3128
at::Tensor mm(const at::Tensor &self, const at::Tensor &mat2)
Definition: Functions.h:4819
at::Tensor & sin_(at::Tensor &self)
Definition: Functions.h:6964
at::Tensor & fix_(at::Tensor &self)
Definition: Functions.h:7915
at::Tensor scatter_add(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Tensor &src)
Definition: Functions.h:9572
at::Tensor select_symint(const at::Tensor &self, int64_t dim, c10::SymInt index)
Definition: Functions.h:6789
at::Tensor & sinh_(at::Tensor &self)
Definition: Functions.h:7002
at::Tensor gcd(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3304
at::Tensor addcmul(const at::Tensor &self, const at::Tensor &tensor1, const at::Tensor &tensor2, const at::Scalar &value=1)
Definition: Functions.h:10411
at::Tensor sspaddmm(const at::Tensor &self, const at::Tensor &mat1, const at::Tensor &mat2, const at::Scalar &beta=1, const at::Scalar &alpha=1)
Definition: Functions.h:7363
inline ::std::tuple< at::Tensor, at::Tensor > qr(const at::Tensor &self, bool some=true)
Definition: Functions.h:10570
at::Tensor narrow_copy(const at::Tensor &self, int64_t dim, int64_t start, int64_t length)
Definition: Functions.h:4942
at::Tensor nan_to_num(const at::Tensor &self, c10::optional< double > nan=c10::nullopt, c10::optional< double > posinf=c10::nullopt, c10::optional< double > neginf=c10::nullopt)
Definition: Functions.h:3895
at::Tensor permute(const at::Tensor &self, at::IntArrayRef dims)
Definition: Functions.h:5326
at::Tensor sinh(const at::Tensor &self)
Definition: Functions.h:6997
at::Tensor isreal(const at::Tensor &self)
Definition: Functions.h:3757
at::Tensor kron(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:3787
at::Tensor index_fill(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Scalar &value)
Definition: Functions.h:9486
at::Tensor & fill_(at::Tensor &self, const at::Scalar &value)
Definition: Functions.h:3113
at::Tensor mv(const at::Tensor &self, const at::Tensor &vec)
Definition: Functions.h:4914
at::Tensor bitwise_left_shift(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:9744
at::Tensor slice_scatter(const at::Tensor &self, const at::Tensor &src, int64_t dim=0, c10::optional< int64_t > start=c10::nullopt, c10::optional< int64_t > end=c10::nullopt, int64_t step=1)
Definition: Functions.h:7080
const at::Tensor & resize_as_(const at::Tensor &self, const at::Tensor &the_template, c10::optional< at::MemoryFormat > memory_format=c10::nullopt)
Definition: Functions.h:8503
at::Tensor scatter(const at::Tensor &self, int64_t dim, const at::Tensor &index, const at::Tensor &src)
Definition: Functions.h:9506
at::Tensor cov(const at::Tensor &self, int64_t correction=1, const c10::optional< at::Tensor > &fweights={}, const c10::optional< at::Tensor > &aweights={})
Definition: Functions.h:1940
at::Tensor & erfc_(at::Tensor &self)
Definition: Functions.h:2952
at::Tensor bitwise_right_shift(const at::Tensor &self, const at::Tensor &other)
Definition: Functions.h:9787
at::Tensor pow(const at::Tensor &self, const at::Tensor &exponent)
Definition: Functions.h:11353
at::Tensor polygamma(int64_t n, const at::Tensor &self)
Definition: Functions.h:10701
constexpr nullopt_t nullopt
Definition: Optional.h:163
constexpr optional< typename std::decay< T >::type > make_optional(T &&v)
Definition: Optional.h:1223
Definition: TensorBase.h:81
static repr_type createInPlace(Args &&... args)
Definition: TensorBody.h:5566
static const_pointer_type getImpl(const repr_type &x)
Definition: TensorBody.h:5586
static repr_type moveToRepr(at::Tensor &&x)
Definition: TensorBody.h:5570
static void destroyOwned(at::Tensor &x)
Definition: TensorBody.h:5574
static at::Tensor take(at::Tensor &x)
Definition: TensorBody.h:5578
static pointer_type getImpl(repr_type &x)
Definition: TensorBody.h:5582
static repr_type nullRepr()
Definition: TensorBody.h:5561
static const owned_type * pointerFromBorrow(const borrow_type &borrow)
Definition: TensorBody.h:5546
static const owned_type & referenceFromBorrow(const borrow_type &borrow)
Definition: TensorBody.h:5542
static borrow_type createBorrow(const owned_type &from)
Definition: TensorBody.h:5517
static void destroyBorrow(borrow_type &toDestroy)
Definition: TensorBody.h:5538
static void assignBorrow(borrow_type &lhs, const borrow_type &rhs)
Definition: TensorBody.h:5531
static bool debugBorrowIsValid(const borrow_type &)
Definition: TensorBody.h:5550