Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ build
Method
build
tensorflow/python/keras/engine/base_layer_test.py:1233–1235 ·
view source on GitHub ↗
(self, _)
Source
from the content-addressed store, hash-verified
1231
""
"
1232
1233
def
build(self, _):
1234
self.v = self.add_weight(
'v'
, (), initializer=
'ones'
)
1235
self.built = True
1236
1237
def
call(self, inputs):
1238
return
inputs + self.v
Callers
nothing calls this directly
Calls
1
add_weight
Method · 0.45
Tested by
no test coverage detected