Commit 331bf7a1 authored by Alexandre Passos's avatar Alexandre Passos Committed by TensorFlower Gardener
Browse files

Reuse the input buffers when possible in TensorList kernels.

This lets the tf runtime reuse the memory for the input tensor to the output
tensor, preventing allocations and copying, and making the normal runtime
of successive push-backs O(n) instead of O(n^2).

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