Rate this Page

Function at::gradient(const at::Tensor&, at::ArrayRef<at::Scalar>, ::std::optional<int64_t>, int64_t)#

Function Documentation#

inline ::std::vector<at::Tensor> at::gradient(const at::Tensor &self, at::ArrayRef<at::Scalar> spacing, ::std::optional<int64_t> dim = ::std::nullopt, int64_t edge_order = 1)#