DrugPairBatch¶
- class DrugPairBatch(identifiers, drug_features_left, drug_molecules_left, drug_features_right, drug_molecules_right, context_features, labels)[source]¶
Bases:
objectA data class to store a labeled drug pair batch.
Methods Summary
to(device)Move this batch to the given device (out of place).
Methods Documentation