Home
last modified time | relevance | path

Searched refs:v1_cls (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Dversion_utils.py100 def swap_class(cls, v2_cls, v1_cls, use_v2): argument
104 if cls in (v2_cls, v1_cls):
105 return v2_cls if use_v2 else v1_cls
110 if ((use_v2 and issubclass(base, v1_cls)
117 new_base = swap_class(base, v2_cls, v1_cls, use_v2)