code: def beale(tensor):
      x, y = tensor
      f = (
          (1.5 - x + x * y) ** 2
          + (2.25 - x + x * y**2) ** 2
          + (2.625 - x + x * y**3) ** 2
      )
      return f
  
file_path: pytorch-optimizer/tests/test_basic.py
imports: import pytest
  import torch
  import torch_optimizer
label_desc: Use image node_id 3 for calling a global function with example usage: beale(tensor) and returns: f