code: def test_mat_embedding():
      """Test invoking MATEmbedding."""
      torch.manual_seed(0)
      input_ar = torch.tensor([1.0, 2.0, 3.0])
      layer = torch_layers.MATEmbedding(3, 1, 0.0)
      result = layer(input_ar).detach()
      output_ar = torch.tensor([-1.2353])
      assert torch.allclose(result, output_ar, rtol=1e-4)
  
imports: import deepchem
  import numpy
  import pytest
  import os
label_desc: Use image node_id 37 for calling a global function with example usage: test_mat_embedding() without return types