Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] DenseLabel and SparseLabel add an attribute returning the size of labels #449

Open
hzhwcmhf opened this issue Jul 27, 2020 · 0 comments
Labels
feature New feature or request new New issue

Comments

@hzhwcmhf
Copy link
Member

hzhwcmhf commented Jul 27, 2020

两个Label都需要添加一个接口,能够返回最大的label_id

这个可能需要从结构上进行修改,sparseLabel不能自己创建vocab,否则容易出问题

vocab的创建可能不能由默认参数来管,应该是除非特殊指定,统一使用一个vocab

@hzhwcmhf hzhwcmhf added new New issue feature New feature or request labels Jul 27, 2020
@hzhwcmhf hzhwcmhf changed the title [Feature] DenseField and Sparse Label add an attribute returning the size of labels [Feature] DenseLabel and SparseLabel add an attribute returning the size of labels Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request new New issue
Projects
None yet
Development

No branches or pull requests

1 participant