TFX-什么是示例_gen_pb2,它在哪里记录?
示例GEN TFX Pipeline Component 具有示例代码,该示例代码使用 example_gen_pb2 但是它是什么,它在哪里记录?
# Input has a single split 'input_dir/*'.
# Output 2 splits: train:eval=3:1.
output = proto.Output(
split_config=example_gen_pb2.SplitConfig(splits=[
proto.SplitConfig.Split(name='train', hash_buckets=3),
proto.SplitConfig.Split(name='eval', hash_buckets=1)
]))
example_gen = CsvExampleGen(input_base=input_dir, output_config=output)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
API DOC是在这里。
由于它是原始文件,最简单的方法是检查本身,它具有对数据结构的评论。
谢谢你!
The API doc is here.
Since it's proto file, the easiest way is checking the definition itself, which has comments for the data structure.
Thank you!
如果要导入它,则可以从tfx.proto:
来源:
If you want to import it, you can do it from tfx.proto:
Source:
https://github.com/tensorflow/tfx/blob/master/tfx/components/example_gen/utils_test.py