code: def test_link_func_vlogit():
      predictions = np.array([[[0.75, 1.0], [0.0, np.nan]]])
      expected = np.array([[[1.0986123, np.inf], [-np.inf, np.nan]]])
      result = link_func(predictions, "vlogit")
      np.testing.assert_almost_equal(result, expected)
  
imports: import numpy
  import pytest
  from interpret.utils import link_func, inv_link
label_desc: Use image node_id 22 for calling a global function with example usage: test_link_func_vlogit() without return types