Skip to content

使用向量化解码会不会快一点? #95

Open

Description

@zhangkaixu

比如用numpy。一个ngram的特征是向量,动态规划dbDecode() (话说应该是dpDecode()吧)使用向量和矩阵运算,把3层python for循环降为1层。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions