File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
python/paddle/audio/functional Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ def _apply_window_postprocess(
493493 raise RuntimeError (
494494 f"Pinning memory is not supported for { device } "
495495 )
496-
496+ w = paddle . to_tensor ( w , place = device )
497497 if pin_memory and paddle .in_dynamic_mode ():
498498 w = w .pin_memory ()
499499 if requires_grad is True :
Original file line number Diff line number Diff line change @@ -876,7 +876,6 @@ set_tests_properties(test_cross_entropy_loss PROPERTIES TIMEOUT 180)
876876set_tests_properties (test_legacy_loss_args PROPERTIES TIMEOUT 10)
877877set_tests_properties (test_activation_nn_grad PROPERTIES TIMEOUT 250)
878878set_tests_properties (test_empty_op PROPERTIES TIMEOUT 120)
879- set_tests_properties (test_window PROPERTIES TIMEOUT 10)
880879set_tests_properties (test_elementwise_div_op PROPERTIES TIMEOUT 120)
881880set_tests_properties (test_multiclass_nms_op PROPERTIES TIMEOUT 120)
882881if (NOT WIN32 )
You can’t perform that action at this time.
0 commit comments