diff options
Diffstat (limited to 'aten/doc')
-rw-r--r-- | aten/doc/Tensor.h | 4 | ||||
-rw-r--r-- | aten/doc/Type.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/aten/doc/Tensor.h b/aten/doc/Tensor.h index 54c79d75e2..120105ad68 100644 --- a/aten/doc/Tensor.h +++ b/aten/doc/Tensor.h @@ -122,8 +122,8 @@ struct Tensor : public detail::TensorBase { int64_t storage_offset() const; Tensor & resize_(IntList size); int64_t numel() const; - Tensor & set_(Storage & storage); - Tensor & set_(Storage & sourceStorage, int64_t storage_offset, IntList size, IntList stride={}); + Tensor & set_(Storage & source); + Tensor & set_(Storage & source, int64_t storage_offset, IntList size, IntList stride={}); Tensor & set_(const Tensor & source); Tensor & set_(); Tensor & fill_(Scalar value); diff --git a/aten/doc/Type.h b/aten/doc/Type.h index 8dce294518..871d979b85 100644 --- a/aten/doc/Type.h +++ b/aten/doc/Type.h @@ -133,8 +133,8 @@ struct AT_API Type { virtual Tensor & ones_like_out(Tensor & result, const Tensor & input) const; virtual Tensor ones_like(const Tensor & input) const; virtual int64_t numel(const Tensor & self) const; - virtual Tensor & set_(Tensor & self, Storage & storage) const; - virtual Tensor & set_(Tensor & self, Storage & sourceStorage, int64_t storage_offset, IntList size, IntList stride={}) const; + virtual Tensor & set_(Tensor & self, Storage & source) const; + virtual Tensor & set_(Tensor & self, Storage & source, int64_t storage_offset, IntList size, IntList stride={}) const; virtual Tensor & set_(Tensor & self, const Tensor & source) const; virtual Tensor & set_(Tensor & self) const; virtual Tensor & fill_(Tensor & self, Scalar value) const; |