Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cure-lab/deep-active-learning
/ get_embedding_dim
Method
get_embedding_dim
models/linear.py:17–18 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
15
out = self.lm(x)
16
return
out, x
17
def
get_embedding_dim(self):
18
return
int(np.prod(self.dim))
19
20
# mlp model class
21
class
mlpMod(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected