Commit 101143e8 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Fix preformance bug in MapAndBatchDatasetOp

Previously we were creating a copy of the result tesor to pass it into
CopyElementSlice what prevented the fast path what doesn't copy the actual
underlying data to trigger. Adding an extra std::move should fix this issue.

PiperOrigin-RevId: 232839237
parent dde1ed73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment