This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
zzy34407230
/
mindspore2022
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
22
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Modify info
tags/v1.1.0
shenwei41
5 years ago
parent
e313ab5313
commit
7080d3ff25
2 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc
+0
-1
mindspore/ccsrc/minddata/dataset/include/tensor.h
+ 1
- 1
mindspore/ccsrc/minddata/dataset/engine/datasetops/shuffle_op.cc
View File
@@ -283,7 +283,7 @@ Status ShuffleOp::InitShuffleBuffer() {
shuffle_buffer_state_ = kShuffleStateDrain;
}
MS_LOG(DEBUG) << "Shuffle operator finished intializing the shuffle buffer.";
MS_LOG(DEBUG) << "Shuffle operator finished in
i
tializing the shuffle buffer.";
return Status::OK();
}
+ 0
- 1
mindspore/ccsrc/minddata/dataset/include/tensor.h
View File
@@ -751,7 +751,6 @@ inline Status Tensor::CreateFromVector<std::string>(const std::vector<std::strin
num_bytes -= str.length() + 1;
}
// store one more offset value so we can get the length of the last string
// length[last_element] = offset_arr[last_element + 1] - offset_arr[last_element]
offset_arr[i] = offset;
(*out)->data_end_ = (*out)->data_ + offset_arr[i];
Write
Preview
Loading…
Cancel
Save