Commit 5c43f672 authored by Zhenyu Tan's avatar Zhenyu Tan Committed by TensorFlower Gardener
Browse files

Attaching attributes to optimizer only if necessary.

This cl fixed the bug where if lr is in the kwargs, opt.lr only returns a
float, instead of variable.

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