1234567891011121314151617181920212223 |
- #pragma once
- // @generated by torchgen/gen.py from NativeFunction.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 <c10/core/QScheme.h>
- #include <ATen/core/Reduction.h>
- #include <ATen/core/Tensor.h>
- #include <tuple>
- #include <vector>
- namespace at {
- namespace native {
- TORCH_API at::Tensor index_put(const at::Tensor & self, const c10::List<c10::optional<at::Tensor>> & indices, const at::Tensor & values, bool accumulate=false);
- TORCH_API at::Tensor & index_put_out(const at::Tensor & self, const c10::List<c10::optional<at::Tensor>> & indices, const at::Tensor & values, bool accumulate, at::Tensor & out);
- TORCH_API at::Tensor & index_put_(at::Tensor & self, const c10::List<c10::optional<at::Tensor>> & indices, const at::Tensor & values, bool accumulate=false);
- } // namespace native
- } // namespace at
|