Home
last modified time | relevance | path

Searched refs:_random_weights (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops_test.py47 def _random_weights(self, vocab_size=4, embed_dim=4, num_shards=1): member in SafeEmbeddingLookupSparseTest
117 embedding_weights = self._random_weights()
130 embedding_weights = self._random_weights()
144 embedding_weights = self._random_weights()
158 embedding_weights = self._random_weights(num_shards=3)
172 embedding_weights = self._random_weights(num_shards=3)
187 embedding_weights = self._random_weights()
200 embedding_weights = self._random_weights()
216 embedding_weights = self._random_weights()
232 embedding_weights = self._random_weights(num_shards=3)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dembedding_ops_test.py792 def _random_weights(self, vocab_size=4, embed_dim=4, num_shards=1): member in SafeEmbeddingLookupSparseTest
863 embedding_weights = self._random_weights()
878 embedding_weights = self._random_weights()
895 embedding_weights = self._random_weights()
911 embedding_weights = self._random_weights(num_shards=3)
927 embedding_weights = self._random_weights(num_shards=3)
943 embedding_weights = self._random_weights()
958 embedding_weights = self._random_weights()
977 embedding_weights = self._random_weights()
995 embedding_weights = self._random_weights(num_shards=3)
[all …]