#pragma once // @generated by torchgen/gen.py from Function.h #include <ATen/Context.h> #include <ATen/DeviceGuard.h> #include <ATen/TensorUtils.h> #include <ATen/TracerMode.h> #include <ATen/core/Generator.h> #include <ATen/core/Reduction.h> #include <ATen/core/Tensor.h> #include <c10/core/Scalar.h> #include <c10/core/Storage.h> #include <c10/core/TensorOptions.h> #include <c10/util/Deprecated.h> #include <c10/util/Optional.h> #include <ATen/ops/logsumexp_ops.h> namespace at { // aten::logsumexp(Tensor self, int[1] dim, bool keepdim=False) -> Tensor inline at::Tensor logsumexp(const at::Tensor & self, at::IntArrayRef dim, bool keepdim=false) { return at::_ops::logsumexp::call(self, dim, keepdim); } // aten::logsumexp.out(Tensor self, int[1] dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & logsumexp_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef dim, bool keepdim=false) { return at::_ops::logsumexp_out::call(self, dim, keepdim, out); } // aten::logsumexp.out(Tensor self, int[1] dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & logsumexp_outf(const at::Tensor & self, at::IntArrayRef dim, bool keepdim, at::Tensor & out) { return at::_ops::logsumexp_out::call(self, dim, keepdim, out); } // aten::logsumexp.names(Tensor self, Dimname[1] dim, bool keepdim=False) -> Tensor inline at::Tensor logsumexp(const at::Tensor & self, at::DimnameList dim, bool keepdim=false) { return at::_ops::logsumexp_names::call(self, dim, keepdim); } // aten::logsumexp.names_out(Tensor self, Dimname[1] dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & logsumexp_out(at::Tensor & out, const at::Tensor & self, at::DimnameList dim, bool keepdim=false) { return at::_ops::logsumexp_names_out::call(self, dim, keepdim, out); } // aten::logsumexp.names_out(Tensor self, Dimname[1] dim, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & logsumexp_outf(const at::Tensor & self, at::DimnameList dim, bool keepdim, at::Tensor & out) { return at::_ops::logsumexp_names_out::call(self, dim, keepdim, out); } }
Memory