We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_dims
Resize
ShareDataFrom
ShareDataWith
std::vector<int> d = vectorize(dims_); int base = 1; for (size_t i = 1; i < d.size(); ++i) { base *= d[i]; }
product(dims_);
Tensor::offset_
CheckDims
MustNotEmpty
typename PType
typename Place
class Deleter
paddle::memory
T* raw_data() const
SharedDataWith
holder_ = src.holder_; Resize(src.dims()); start_ = src.start_;
*this = src;
DDim dims() const
const DDim& dims() const
The text was updated successfully, but these errors were encountered:
update poly resize (PaddlePaddle#2929)
03326ee
JiayiFeng
Successfully merging a pull request may close this issue.
set_dims
==>Resize
ShareDataFrom
==>ShareDataWith
ShareDataFrom
product(dims_);
Tensor::offset_
as for supporting slicing.CheckDims
==>MustNotEmpty
typename PType
==>typename Place
class Deleter
topaddle::memory
.T* raw_data() const
.SharedDataWith
, replaceholder_ = src.holder_; Resize(src.dims()); start_ = src.start_;
*this = src;
DDim dims() const
==>const DDim& dims() const
The text was updated successfully, but these errors were encountered: