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
LoDTensor::NumElements()返回的是指定level的最后一个element的offset, 但是名字看起来像求指定level element数量。 而且,LoDTensor::NumLevels()确实是返回level的数量,是命名没统一,还是我对LoDTensor::lod_存储内容理解有误?
element
offset
The text was updated successfully, but these errors were encountered:
NumElements(size_t level) 返回的是指定层级上的offset的个数 NumLevels() 返回的是sequence的层级有几个
Sorry, something went wrong.
明白了,是我对LoDTensor::lod_存储内容理解有误。 #3746 (comment)
No branches or pull requests
LoDTensor::NumElements()返回的是指定level的最后一个
element
的offset
, 但是名字看起来像求指定levelelement
数量。而且,LoDTensor::NumLevels()确实是返回level的数量,是命名没统一,还是我对LoDTensor::lod_存储内容理解有误?
The text was updated successfully, but these errors were encountered: