Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/Project_CodeNet
/ pos_enc.py
File
pos_enc.py
model-experiments/masked-language-model/pos_enc.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python
2
3
# Copyright (c) 2020 IBM Corp. - Geert Janssen <geert@us.ibm.com>
4
Callers
nothing calls this directly
Calls
2
show
Method · 0.80
get_pos_encoding_matrix
Function · 0.70
Tested by
no test coverage detected