code: def tensors():
      return ndarrays().map(lambda a: torch.tensor(a).cuda())
  
file_path: thinc/thinc/tests/shims/test_pytorch_grad_scaler.py
imports: import pytest
  from hypothesis import given, settings
  from hypothesis.strategies import lists, one_of, tuples
  from thinc.api import PyTorchGradScaler
  from thinc.compat import has_torch, has_torch_amp, has_torch_cuda_gpu, torch
  from thinc.util import is_torch_array
  from ..strategies import ndarrays
label_desc: Use image node_id 1 for calling a global function with example usage: tensors() and returns: ndarrays