pull/3974/head
co63oc 8 months ago committed by GitHub
parent 3b65a6c8be
commit e02a52221a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -13,10 +13,10 @@
# limitations under the License.
import paddle
from paddlespeech.t2s.modules import expansion
# from paddlespeech.t2s.modules import expansion
def test_expand():
def _test_expand():
x = paddle.randn([2, 4, 3]) # (B, T, C)
lengths = paddle.to_tensor([[1, 2, 2, 1], [3, 1, 4, 0]])
y = expansion.expand(x, lengths)

Loading…
Cancel
Save