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

关于NCF创建迭代器 #48

Open
liheyong opened this issue Nov 4, 2019 · 0 comments
Open

关于NCF创建迭代器 #48

liheyong opened this issue Nov 4, 2019 · 0 comments

Comments

@liheyong
Copy link

liheyong commented Nov 4, 2019

您好!
您的NCF的这段代码,创建迭代器,并迭代数据的操作。

#创建迭代器,可以读取不同数据,测试集/训练集
iterator = tf.data.Iterator.from_structure(train_data.output_types,
train_data.output_shapes)

我查了下资料发现这个迭代器每次获取数据的时候,都是从数据的前端获取数据。那这是不是意味着您的代码只利用了部分数据,不知道我的理解对不对?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant