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
Slight change to some Tensor methods from
inline void Resize(const DDim& dims); inline void ShareDataWith(const Tensor& src);
to
inline Tensor& Resize(const DDim& dims); inline Tensor& ShareDataWith(const Tensor& src);
so that we can write
return LODTensor(lod_.Slice(...)).ShareDataWith(*this);
and
tensor.Resize(new_dim).mutable_data<float>(...);
The text was updated successfully, but these errors were encountered:
Superjomn
Successfully merging a pull request may close this issue.
Slight change to some Tensor methods from
to
so that we can write
and
tensor.Resize(new_dim).mutable_data<float>(...);
The text was updated successfully, but these errors were encountered: