gw.transforms.inference_transforms.ExpandStrain
gw.transforms.inference_transforms.ExpandStrain(num_samples)Expand the waveform of sample by adding a batch axis and copying the waveform num_samples times along this new axis. This is useful for generating num_samples samples at inference time.
Attributes
| Name | Description |
|---|---|
| num_samples |