code: def test_embedding_constraints(self):
      layer = layers.Embedding(3, 2, embeddings_constraint="non_neg")
      layer.build((None, 2))
      self.assertIsInstance(
          layer.embeddings.constraint, constraints.NonNeg
      )
  
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 7 for calling the EmbeddingTest obj's underlying member method code with example usage: obj.test_embedding_constraints() without return types