Example #1
0
 def _creator(weight_collections, scope):
   embedding_column_layer = fc._EmbeddingColumnLayer(
       embedding_shape=embedding_shape,
       initializer=initializer,
       weight_collections=weight_collections,
       trainable=True,
       name='embedding_column_layer')
   return embedding_column_layer(None, scope=scope)  # pylint: disable=not-callable
Example #2
0
 def _creator(weight_collections, scope):
   embedding_column_layer = fc._EmbeddingColumnLayer(
       embedding_shape=embedding_shape,
       initializer=initializer,
       weight_collections=weight_collections,
       trainable=True,
       name='embedding_column_layer')
   return embedding_column_layer(None, scope=scope)  # pylint: disable=not-callable