code: def _apply_to_tensors(
      fn: Callable[[torch.Tensor], Q], container: torch.Tensor
  ) -> Q:
      ...
  
imports: import dataclasses
  import traceback
  from typing import Any, Callable, Container, Dict, List, Optional, OrderedDict, Tuple, TypeVar, overload
  import torch
  import torch.distributed
  from torch import nn
  from torch.nn.parallel._functions import _get_stream
  from torch.nn.parallel.scatter_gather import _is_namedtuple
  from torch.nn.utils.rnn import PackedSequence
label_desc: Use image node_id 10 for calling a global function with example usage: _apply_to_tensors(fn, container) without return types