Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ key_function
Method
key_function
tensorflow/python/module/module_test.py:557–559 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
555
@property
556
def
variables(self):
557
def
key_function(name):
558
indexes = {
"_trainable_variables"
: 0,
"_non_trainable_variables"
: 1}
559
return
indexes.get(name, 2), name
560
561
return
list(
562
self._flatten(
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected