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

javacpp-pytorh ChunkMapDataset ChunkMapTensorDataset the self [ transform function] and ChunkBatchSharedBatchDataset [map] func how to implement #1560

Open
mullerhai opened this issue Dec 31, 2024 · 0 comments

Comments

@mullerhai
Copy link

mullerhai commented Dec 31, 2024

HI
in stroch project ,we have implement all javacpp-pytorch dataset and dataloader generate subclass, but ChunkMapDataset ChunkMapTensorDataset these two class have transform function but can not rewrite the function implement code because not know the inner logic ,could you give us the example for these two class transform function inner code implement to generate ExampleStack TensorExampleStack,
and ChunkBatchSharedBatchDataset ChunkBatchSharedTensorBatchDataset these two class have [map function] but also not rewrite the function implement code because not know the inner logic ,could you give us the example for these two class map function inner code to generate TensorExampleStack ExampleStack .
thanks

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

No branches or pull requests

2 participants