apache_beam.typehints.pytorch_type_compatibility module¶
- class apache_beam.typehints.pytorch_type_compatibility.PytorchBatchConverter(batch_type, element_type, dtype, element_shape=(), partition_dimension=0)[source]¶
Bases:
BatchConverter
- static from_typehints(element_type, batch_type) PytorchBatchConverter | None [source]¶