Skip to content

代码请教 #29

Description

@PanDengStudio

[array([0, 0, 0, 0], dtype=int32),
array([0, 0, 0, 0], dtype=int32),
array([8, 3, 5, 3], dtype=int32),
array([7, 8, 2, 1], dtype=int32),
array([6, 2, 10, 9], dtype=int32)]
其中的5个array,表示一句话的长度是5个词,而id,一般通过统计得出,一个id表示一个词,这个array和id到底是什么意思?我的理解,一个array应该代表一句话,每一个id都是句子里的词,但是为什么代码处理时array按列取数值作为encoder_inputs?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions