Searched refs:_is_variable (Results 1 – 5 of 5) sorted by relevance
155 return tuple(self._flatten(predicate=_is_variable, expand_composites=True))316 def _is_variable(obj): function321 return _is_variable(obj) and getattr(obj, "trainable", False)325 return _is_variable(obj) and not getattr(obj, "trainable", False)347 not _is_variable(child)):
525 mod._flatten(with_path=True, predicate=module._is_variable))545 mod._flatten(with_path=True, predicate=module._is_variable))588 predicate=module._is_variable,
167 if checkpoint_utils._is_variable(var): # pylint: disable=protected-access170 all(checkpoint_utils._is_variable(v) for v in var)): # pylint: disable=protected-access238 if checkpoint_utils._is_variable(var):241 all(checkpoint_utils._is_variable(v) for v in var)):346 …elif all(checkpoint_utils._is_variable(v) for v in vars_to_warm_start): # pylint: disable=protect…
370 if _is_variable(current_var_or_name) or (372 and all(_is_variable(v) for v in current_var_or_name)):387 if _is_variable(var):529 def _is_variable(x): function
13636 auto _is_variable = _o->is_variable;13648 _is_variable,