修改 data_format.cpp 中std::shared_ptr<Tensor3D> Tensor3D::pad(const in… #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…t padding) padding图像this->name 命名的错误,可能因为我这里格式化的原因,看起来好像改变了很多东西,其实就是修改了一个
std::shared_ptr padded(
new Tensor3D(C, H + 2 * padding, W + 2 * padding,
this->name + +"padding" + std::to_string(padding)));
源代码可能是直接复制上面 rot函数的啦,结果后面的名字可能忘记修改了,虽然影响不大哈,但是提个pr吧