We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when tensorflow read dataset from kafka, how to implement each partition read by one worker?
something like hovorod: a. get the total worker number and worker index by rank() b. then apply shard() method in tensorflow
The text was updated successfully, but these errors were encountered:
here has a demo: examples/common/util.py
dataset = ds_data_files.shard(num_shards=tn.core.shard_num(), index=tn.core.self_shard_id())
Sorry, something went wrong.
No branches or pull requests
when tensorflow read dataset from kafka, how to implement each partition read by one worker?
something like hovorod:
a. get the total worker number and worker index by rank()
b. then apply shard() method in tensorflow
The text was updated successfully, but these errors were encountered: