Commit b47ff5f9 authored by Yong Tang's avatar Yong Tang Committed by Jonathan Hseu
Browse files

Enhancement with deprecated_argument_lookup (#17527)



* Enhancement with deprecated_argument_lookup

The tf.losses.cosine_distance deprecated dim and switched
to axis. This fix adds the enhancement of using
deprecated_argument_lookup, which is used in all other
arguments deprecations.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add missing import

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent c98f8c59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment