forked from mindspore-Ecosystem/mindspore
!7564 [MD]Fix Type Convert error in arm32
Merge pull request !7564 from xulei/cmake
This commit is contained in:
commit
49f02bfbed
|
@ -59,7 +59,7 @@ Status RandomSampler::GetNextSample(std::unique_ptr<DataBuffer> *out_buffer) {
|
|||
RETURN_IF_NOT_OK(GetAssociatedChildId(&sampled_id, sampled_id));
|
||||
}
|
||||
|
||||
*(id_ptr + i) = sampled_id;
|
||||
*(id_ptr + static_cast<ptrdiff_t>(i)) = sampled_id;
|
||||
}
|
||||
next_id_ = last_id;
|
||||
TensorRow row(1, sampleIds);
|
||||
|
|
Loading…
Reference in New Issue