code: def float_beta(beta):
      return torch.FloatTensor(beta.detach().cpu().numpy())
  
file_path: pyro/tests/distributions/test_tensor_type.py
imports: import pytest
  import scipy.stats
  import torch
  import pyro.distributions
  from tests.common import assert_equal
label_desc: Use image node_id 6 for calling a global function with example usage: float_beta(beta) and returns: torch