Searched refs:valid_size (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/examples/tutorials/word2vec/ |
D | word2vec_basic.py | 156 valid_size = 16 # Random set of words to evaluate similarity on. 158 valid_examples = np.random.choice(valid_window, valid_size, replace=False) 273 for i in xrange(valid_size):
|
/external/skia/src/core/ |
D | SkFont.cpp | 27 static inline SkScalar valid_size(SkScalar size) { in valid_size() function 33 , fSize(valid_size(size)) in SkFont() 98 fSize = valid_size(size); in setSize()
|
/external/skqp/src/core/ |
D | SkFont.cpp | 27 static inline SkScalar valid_size(SkScalar size) { in valid_size() function 33 , fSize(valid_size(size)) in SkFont() 98 fSize = valid_size(size); in setSize()
|
/external/tensorflow/tensorflow/examples/udacity/ |
D | 1_notmnist.ipynb | 553 "def merge_datasets(pickle_files, train_size, valid_size=0):\n", 555 " valid_dataset, valid_labels = make_arrays(valid_size, image_size)\n", 557 " vsize_per_class = valid_size // num_classes\n", 589 "valid_size = 10000\n", 593 " train_datasets, train_size, valid_size)\n",
|
D | 6_lstm.ipynb | 235 "valid_size = 1000\n", 236 "valid_text = text[:valid_size]\n", 237 "train_text = text[valid_size:]\n", 240 "print(valid_size, valid_text[:64])" 696 " for _ in range(valid_size):\n", 701 " valid_logprob / valid_size)))"
|
D | 5_word2vec.ipynb | 418 "valid_size = 16 # Random set of words to evaluate similarity on.\n", 420 "valid_examples = np.array(random.sample(range(valid_window), valid_size))\n", 530 " for i in range(valid_size):\n",
|