code: def _assert_floating_tensor(name, tensor):
      if not torch.is_tensor(tensor):
          raise ValueError(f"{name}={tensor} should be a Tensor.")
      if not tensor.is_floating_point():
          raise ValueError(f"{name}={tensor} should be floating point.")
  
imports: import math
  import trampoline
  import warnings
  import numpy
  import torch
  from .None import brownian_base
  from ..settings import LEVY_AREA_APPROXIMATIONS
  from ..types import Scalar, Optional, Tuple, Union, Tensor
label_desc: Use image node_id 3 for calling a global function with example usage: _assert_floating_tensor(name, tensor) without return types