Commit f76ac33d authored by Skye Wanderman-Milne's avatar Skye Wanderman-Milne Committed by TensorFlower Gardener
Browse files

Make ImportGraphDefOptions and ImportGraphDefResults own all strings.

This change introduces SafeTensorId, an alternative to TensorId that
uses strings instead of StringPieces. It makes
ImportGraphDefOptions/Results use SafeTensorIds instead of TensorIds
so the caller isn't responsible for managing the string
lifetime. import_graph_def in Python was broken before this change,
although it wasn't caught in tests.

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