code: def stride_lens(lens: torch.Tensor, stride: int = 2) -> torch.Tensor:
      return torch.ceil(lens / stride).int()
  
imports: from typing import List, Tuple, Union
  import torch
  import torch.nn
  import torch.nn.functional
  from TTS.tts.layers.delightful_tts.conformer import ConformerMultiHeadedSelfAttention
  from TTS.tts.layers.delightful_tts.conv_layers import CoordConv1d
  from TTS.tts.layers.delightful_tts.networks import STL
label_desc: Use image node_id 2 for calling a global function with example usage: stride_lens(lens, stride) and returns: torch