code: def test_masking(self):
      layer = layers.Embedding(
          input_dim=3, output_dim=2, mask_zero=True
      )
      layer.build()
      out = layer.compute_mask(np.array(([2, 1, 0])))
      self.assertAllClose(out, np.array([True, True, False]))
  
file_path: keras/keras/layers/core/embedding_test.py
imports: import os
  import numpy
  import pytest
  from keras import backend
  from keras import constraints
  from keras import layers
  from keras import models
  from keras import saving
  from keras.testing import test_case
label_desc: Use image node_id 5 for calling the EmbeddingTest obj's underlying member method code with example usage: obj.test_masking() without return types