parameters: (self, idx, in_data)
return_statement: return mask
docstring: Returns the mask by which to multiply the parts of the embedding layer.
          In this version, we have no weights to apply.
docstring_summary: Returns the mask by which to multiply the parts of the embedding layer.
          In this version, we have no weights to apply.
docstring_tokens: Returns the mask by which to multiply the parts of the embedding layer . In this version we have no weights to apply .
function: def _get_mask(self, idx, in_data):
          """Returns the mask by which to multiply the parts of the embedding layer.
          In this version, we have no weights to apply.
          """
          mask = idx >= 0  # bool False for -1 values that should be removed. shape=(b,mnz)
          mask = np.expand_dims(mask,2) # shape = (b,mnz,1)
          mask = np.repeat(mask, self._proj_dim, axis=2) # shape = (b,mnz,d)
          return mask
function_tokens: def _get_mask ( self , idx , in_data ) : mask = idx >= 0 # bool False for -1 values that should be removed. shape=(b,mnz) mask = np . expand_dims ( mask , 2 ) # shape = (b,mnz,1) mask = np . repeat ( mask , self . _proj_dim , axis = 2 ) # shape = (b,mnz,d) return mask