# Ptdm Sample Samples from the input distribution. Args: distribution (torch.distributions.distribution.Distribution): Distribution. sample_shape (torch.Size): Shape of the sample. ## Input | Name | Data type | |---|---| | distribution | Ptdistribution | | sample_shape | String | ## Output | Data type | |---| | Tensor |