MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _is_variable

Function _is_variable

tensorflow/python/training/checkpoint_utils.py:519–521  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

517
518
519def _is_variable(x):
520 return (isinstance(x, variables.Variable) or
521 resource_variable_ops.is_resource_variable(x))
522
523
524def _collect_partitioned_variable(name, all_vars):

Callers 1

_init_from_checkpointFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected