Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684911604
  • Loading branch information
MediaPipe Team authored and copybara-github committed Oct 11, 2024
1 parent 2de5648 commit ac0542f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediapipe/framework/formats/tensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ Tensor::CpuWriteView Tensor::GetCpuWriteView(
TrackAhwbUsage(source_location_hash);
ABSL_CHECK_OK(AllocateCpuBuffer()) << "AllocateCpuBuffer failed.";
if (valid_ != 0) {
ABSL_LOG(ERROR)
ABSL_LOG_FIRST_N(ERROR, 1)
<< "Tensors are designed for single writes. Multiple writes to a "
"Tensor instance are not supported and may lead to undefined "
"behavior due to lack of synchronization.";
Expand Down

0 comments on commit ac0542f

Please sign in to comment.