文件名称:hungarian-layer:匈牙利层
文件大小:6KB
文件格式:ZIP
更新时间:2024-06-06 14:36:17
nlp pytorch hungarian-layer Python
匈牙利层 如中所述的匈牙利层的Pytorch实现 用法 import numpy as np x = [[[ 0 , 1 ], [ 0 , 0 ], [ 1 , 0 ]], [[ 0 , 1 ], [ 0 , 0 ], [ 1 , 0 ]], [[ 0 , 1 ], [ 0 , 0 ], [ 1 , 0 ]], [[ 0 , 1 ], [ 0 , 0 ], [ 1 , 0 ]] ] y = [[[ 0 , 1 ], [ 0 , 0 ]], [[ 0 , 1 ], [ 0 , 0 ]], [[ 0 , 1 ], [ 0 , 0 ]], [[ 0 , 1 ], [ 0 , 0 ]]] x = np . array ( x ). astype ( np . float64 ) y = np . array ( y ). as
【文件预览】:
hungarian-layer-master
----.gitignore(6B)
----README.md(619B)
----Pipfile.lock(9KB)
----hungarian.py(3KB)
----Pipfile(287B)