Allow direct contruction of `Batch`
See original GitHub issue🚀 The feature, motivation and pitch
I’m working on GANs for graphs that generates multiple graphs at once.
The output of the generator is a feature matrix and a vector in the form of Batch.batch
. I would like to pass it on to the discriminator directly as a Batch
, without splitting the matrix first, creating Data
objects and then calling from_data_list
.
After the construction .__getitem__
and .num_graphs
should be available.
Cheers!
Alternatives
No response
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Batch build buildspec reference - AWS CodeBuild
Learn about buildspec entries for batch builds in AWS CodeBuild. ... This topic contains the buildspec reference for batch build properties.
Read more >Accounts Payable Batch Processing: A Tactical How-To Guide
In short, accounts payable batch processing allows companies to manage invoices, and process business-to-business (B2B) payments, and adjustments in bulk.
Read more >Batch Processing | MuleSoft Documentation
You can apply filters by adding accept expressions within each batch step to prevent the step from processing certain records; for example, you...
Read more >Standard Permit for Concrete Batch Plants: Learning More
Plants producing smaller amounts are authorized either by a Concrete Batch Plant Standard Permit or a Concrete Batch Plant Standard Permit with ...
Read more >General Permit Regulation for Concrete Batch Plants - EPA
A Concrete Batch Plant General Permit Number (GPN) for each unit may be obtained by submitting an application with Notification of Intent to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad that it’s working.
I think it is not really possible to allow this in a generic case, as we usually cannot utilize any assumptions on
_slice_dict
and_inc_dict
layouts. How they look like is really task-dependent.Hey, thanks for your help. The following code works for now.