Commit 06303a8e authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Refactoring to make the polymorphic code easier to read.

Changes:
1. Remove "self._created_variables = []" as this shouldn't matter.
2. Remove self._concrete_stateful_fn -> this is used only for the first time we call __call__.
3. Make _initialize not return canonicalized arguments, instead create a function for it.
PiperOrigin-RevId: 225794015
parent 1a85cf61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment