Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/euler
/ embed
Method
embed
tf_euler/python/solution/base_sample.py:47–48 ·
view source on GitHub ↗
(self, n_id)
Source
from the content-addressed store, hash-verified
45
self.loss_fn = loss_fn
46
47
def
embed(self, n_id):
48
return
self.encoder(n_id)
49
50
def
__call__(self, inputs):
51
inputs = self.parse_input_fn(inputs)
Callers
1
__call__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected