/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/ |
D | text.py | 166 num_words=None, argument 177 num_words = kwargs.pop('nb_words') 186 self.num_words = num_words 282 num_words = self.num_words 290 if num_words and i >= num_words: 328 if not self.num_words: 330 num_words = len(self.word_index) + 1 335 num_words = self.num_words 341 x = np.zeros((len(sequences), num_words)) 347 if j >= num_words:
|
D | text_test.py | 49 tokenizer = keras.preprocessing.text.Tokenizer(num_words=10)
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bytes.c | 66 size_t num_words; in BN_bin2bn() local 84 num_words = ((len - 1) / BN_BYTES) + 1; in BN_bin2bn() 86 if (!bn_wexpand(ret, num_words)) { in BN_bin2bn() 95 assert(num_words <= INT_MAX); in BN_bin2bn() 96 ret->top = (int)num_words; in BN_bin2bn() 102 ret->d[--num_words] = word; in BN_bin2bn() 132 size_t num_words = ((len - 1) / BN_BYTES) + 1; in BN_le2bn() local 133 if (!bn_wexpand(ret, num_words)) { in BN_le2bn() 137 ret->top = num_words; in BN_le2bn() 140 ret->d[num_words - 1] = 0; in BN_le2bn()
|
D | div.c | 662 size_t num_words = 1 + ((e - 1) / BN_BITS2); in BN_mod_pow2() local 665 if ((size_t) a->top < num_words) { in BN_mod_pow2() 671 if (!bn_wexpand(r, num_words)) { in BN_mod_pow2() 676 OPENSSL_memcpy(r->d, a->d, num_words * sizeof(BN_ULONG)); in BN_mod_pow2() 681 r->d[num_words - 1] &= (((BN_ULONG) 1) << top_word_exponent) - 1; in BN_mod_pow2() 686 r->top = (int) num_words; in BN_mod_pow2() 701 size_t num_words = 1 + (e - 1) / BN_BITS2; in BN_nnmod_pow2() local 704 if (!bn_wexpand(r, num_words)) { in BN_nnmod_pow2() 709 OPENSSL_memset(&r->d[r->top], 0, (num_words - r->top) * BN_BYTES); in BN_nnmod_pow2() 713 r->top = (int) num_words; in BN_nnmod_pow2()
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/datasets/ |
D | reuters.py | 33 num_words=None, argument 74 num_words = kwargs.pop('nb_words') 99 if not num_words: 100 num_words = max([max(x) for x in xs]) 106 xs = [[w if skip_top <= w < num_words else oov_char for w in x] for x in xs] 108 xs = [[w for w in x if skip_top <= w < num_words] for x in xs]
|
D | imdb.py | 33 num_words=None, argument 76 num_words = kwargs.pop('nb_words') 113 if not num_words: 114 num_words = max([max(x) for x in xs]) 121 [w if (skip_top <= w < num_words) else oov_char for w in x] for x in xs 124 xs = [[w for w in x if skip_top <= w < num_words] for x in xs]
|
/external/libhevc/common/ |
D | ihevc_mem_fns.c | 147 void ihevc_memset_16bit(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ihevc_memset_16bit() argument 150 for(i = 0; i < num_words; i++) in ihevc_memset_16bit() 158 void ihevc_memset_16bit_mul_8(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ihevc_memset_16bit_mul_8() argument 161 for(i = 0; i < num_words; i++) in ihevc_memset_16bit_mul_8()
|
D | ihevc_mem_fns.h | 92 typedef void ihevc_memset_16bit_ft(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words); 94 typedef void ihevc_memset_16bit_mul_8_ft(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words);
|
/external/libavc/common/ |
D | ih264_mem_fns.c | 157 void ih264_memset_16bit(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ih264_memset_16bit() argument 160 for(i = 0; i < num_words; i++) in ih264_memset_16bit() 168 UWORD32 num_words) in ih264_memset_16bit_mul_8() argument 171 for(i = 0; i < num_words; i++) in ih264_memset_16bit_mul_8()
|
D | ih264_mem_fns.h | 94 typedef void ih264_memset_16bit_ft(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words); 96 typedef void ih264_memset_16bit_mul_8_ft(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words);
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | bitmap.cc | 24 const size_t num_words = NumWords(n); in Reset() local 25 if (num_words != NumWords(nbits_)) { in Reset() 27 Word* w = new Word[num_words]; in Reset() 31 memset(word_, 0, sizeof(word_[0]) * num_words); in Reset()
|
/external/tensorflow/tensorflow/contrib/crf/ |
D | README.md | 16 num_words = 20 21 x = np.random.rand(num_examples, num_words, num_features).astype(np.float32) 24 y = np.random.randint(num_tags, size=[num_examples, num_words]).astype(np.int32) 27 sequence_lengths = np.full(num_examples, num_words - 1, dtype=np.int32) 42 [num_examples, num_words, num_tags]) 59 mask = (np.expand_dims(np.arange(num_words), axis=0) <
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
D | skip_gram.cc | 70 int num_words) { in ShouldStepInRecursion() argument 72 if (stack_idx < params->ngram_size && stack[stack_idx] + 1 < num_words) { in ShouldStepInRecursion() 119 int num_words = words.size(); in Eval() local 122 if (ShouldStepInRecursion(params, stack, stack_idx, num_words)) { in Eval()
|
/external/tensorflow/tensorflow/contrib/crf/python/kernel_tests/ |
D | crf_test.py | 127 num_words = inputs.shape[0] 136 tag_indices.extend([0] * (num_words - sequence_lengths)) 161 num_words = inputs.shape[0] 170 tag_indices.extend([0] * (num_words - sequence_lengths)) 188 num_words = inputs.shape[0] 199 tag_indices.extend([0] * (num_words - sequence_lengths)) 244 num_words = inputs.shape[0] 255 tag_indices.extend([0] * (num_words - sequence_lengths))
|
/external/libhevc/common/arm/ |
D | ihevc_mem_fns.s | 207 @ UWORD8 num_words) 211 @ r2 => num_words 223 @ Assumptions: num_words is either 8, 16 or 32 241 @ UWORD8 num_words) 245 @ r2 => num_words
|
/external/libavc/common/arm/ |
D | ih264_mem_fns_neon.s | 205 @ UWORD32 num_words) 209 @ r2 => num_words 219 @ Assumptions: num_words is either 8, 16 or 32 237 @ UWORD32 num_words) 241 @ r2 => num_words
|
/external/llvm/test/Analysis/BasicAA/ |
D | phi-loop.ll | 9 ; unsigned num_words; 18 ; for (unsigned i=0; i < section->num_words; ++i) { 42 …%num_words = getelementptr inbounds %struct.section_t, %struct.section_t* %section.addr.015, i32 0… 43 %2 = load i32, i32* %num_words, align 4 60 %5 = load i32, i32* %num_words, align 4
|
/external/mesa3d/src/compiler/nir/ |
D | nir_repair_ssa.c | 40 const unsigned num_words = BITSET_WORDS(state->impl->num_blocks); in prep_build_phi() local 45 state->def_set = ralloc_array(NULL, BITSET_WORD, num_words); in prep_build_phi() 52 memset(state->def_set, 0, num_words * sizeof(*state->def_set)); in prep_build_phi()
|
/external/libavc/common/x86/ |
D | ih264_mem_fns_ssse3.c | 158 void ih264_memset_16bit_mul_8_ssse3(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ih264_memset_16bit_mul_8_ssse3() argument 163 for(col = num_words; col >= 8; col -= 8) in ih264_memset_16bit_mul_8_ssse3()
|
/external/libhevc/common/x86/ |
D | ihevc_mem_fns_ssse3_intr.c | 157 void ihevc_memset_16bit_mul_8_ssse3(UWORD16 *pu2_dst, UWORD16 value, UWORD32 num_words) in ihevc_memset_16bit_mul_8_ssse3() argument 162 for(col = num_words; col >= 8; col -= 8) in ihevc_memset_16bit_mul_8_ssse3()
|
/external/v8/src/ |
D | utils.h | 1055 inline void CopyWords(T* dst, const T* src, size_t num_words) { 1062 DCHECK(num_words > 0); 1068 if (num_words < kBlockCopyLimit) { 1070 num_words--; 1072 } while (num_words > 0); 1074 MemCopy(dst, src, num_words * kPointerSize); 1081 inline void MoveWords(T* dst, const T* src, size_t num_words) { 1083 DCHECK(num_words > 0); 1089 if (num_words < kBlockCopyLimit && 1090 ((dst < src) || (dst >= (src + num_words * kPointerSize)))) { [all …]
|
/external/ltp/testcases/kernel/ipc/pipeio/ |
D | pipeio.c | 760 int num_words = length / NBPW; /* given length in bytes, get length in words */ in prt_buf() local 773 ++num_words; /* is length in full words? */ in prt_buf() 779 extra_words = num_words % width; in prt_buf() 781 for (i = 0; i < num_words; ++i, a += NBPW, addr++) { in prt_buf()
|
/external/tensorflow/tensorflow/tools/api/golden/ |
D | tensorflow.keras.datasets.imdb.pbtxt | 9 …argspec: "args=[\'path\', \'num_words\', \'skip_top\', \'maxlen\', \'seed\', \'start_char\', \'oov…
|
D | tensorflow.keras.datasets.reuters.pbtxt | 9 …argspec: "args=[\'path\', \'num_words\', \'skip_top\', \'maxlen\', \'test_split\', \'seed\', \'sta…
|
D | tensorflow.keras.preprocessing.text.-tokenizer.pbtxt | 7 …argspec: "args=[\'self\', \'num_words\', \'filters\', \'lower\', \'split\', \'char_level\', \'oov_…
|