code: def _test_multiplication_table(t: torch.Tensor):
      """Test properties of multiplication tables."""
      # check type
      assert torch.is_tensor(t)
      # check size
      assert t.ndim == 3
      n = t.shape[0]
      assert t.shape == (n, n, n)
      # check value range
      cond = torch.zeros_like(t, dtype=torch.bool)
      for v in {-1, 0, 1}:
          cond |= torch.isclose(t, torch.full_like(t, fill_value=v))
      assert cond.all()
  
label_desc: Use image node_id 1 for calling a global function with example usage: _test_multiplication_table(t) without return types