Commit d65c7fea authored by Sergei Lebedev's avatar Sergei Lebedev Committed by TensorFlower Gardener
Browse files

Pulled `RefVariable.load` to `Variable`

`load` can be fully-defined in terms of other `Variable` methods.

This change also removes the need to define both `get_shape` and
`shape` in `Variable` implementations.

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