提交 bdf96177 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!5721 Modify alarm

Merge pull request !5721 from shenwei41/sw_master
......@@ -36,8 +36,8 @@ AlbumOp::Builder::Builder() : builder_decode_(false), builder_sampler_(nullptr),
Status AlbumOp::Builder::Build(std::shared_ptr<AlbumOp> *ptr) {
RETURN_IF_NOT_OK(SanityCheck());
if (builder_sampler_ == nullptr) {
int64_t num_samples = 0; // default num samples of 0 means to sample entire set of data
int64_t start_index = 0;
const int64_t num_samples = 0; // default num samples of 0 means to sample entire set of data
const int64_t start_index = 0;
builder_sampler_ = std::make_shared<SequentialSampler>(start_index, num_samples);
}
......
......@@ -51,7 +51,7 @@ Status GrpcAsyncServer::Run() {
}
Status GrpcAsyncServer::HandleRequest() {
bool success;
bool success = false;
void *tag;
// We loop through the grpc queue. Each connection if successful
// will come back with our own tag which is an instance of CallData
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册