/external/tensorflow/tensorflow/python/keras/ |
D | optimizer_v1.py | 213 new_p = p + self.momentum * v - lr * g 215 new_p = p + v 219 new_p = p.constraint(new_p) 221 self.updates.append(state_ops.assign(p, new_p)) 282 new_p = p - lr * g / (K.sqrt(new_a) + self.epsilon) 286 new_p = p.constraint(new_p) 288 self.updates.append(state_ops.assign(p, new_p)) 356 new_p = p - lr * g / (K.sqrt(new_a) + self.epsilon) 360 new_p = p.constraint(new_p) 362 self.updates.append(state_ops.assign(p, new_p)) [all …]
|
D | backend.py | 3928 p, new_p = update 3929 updates_ops.append(state_ops.assign(p, new_p))
|
/external/libvpx/libvpx/vp8/encoder/ |
D | encodemv.c | 169 vp8_prob *const cur_p, const vp8_prob new_p, in update() argument 172 const int new_b = vp8_cost_branch(ct, new_p); in update() 178 *cur_p = new_p; in update() 180 vp8_write_literal(w, new_p >> 1, 7); in update() 280 const vp8_prob *const new_p = Pnew + MVPshort; in write_component_probs() local 286 update(w, short_bct[j], cur_p + j, new_p[j], *Pupdate++, updated); in write_component_probs() 292 const vp8_prob *const new_p = Pnew + MVPbits; in write_component_probs() local 298 update(w, bit_ct[j], cur_p + j, new_p[j], *Pupdate++, updated); in write_component_probs()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator_combined.h | 108 void *new_p = Allocate(cache, new_size, alignment); in Reallocate() local 109 if (new_p) in Reallocate() 110 internal_memcpy(new_p, p, memcpy_size); in Reallocate() 112 return new_p; in Reallocate()
|
/external/compiler-rt/test/tsan/ |
D | ignored-interceptors-mmap.cc | 27 void *new_p = mmap(p, kSize, PROT_READ|PROT_WRITE, in mmap_and_ignore_reads_and_writes() local 29 if (p == MAP_FAILED || p != new_p) in mmap_and_ignore_reads_and_writes()
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 203 void *new_p = MsanAllocate(stack, new_size, alignment, zeroise); in MsanReallocate() local 205 if (new_p) { in MsanReallocate() 206 CopyMemory(new_p, old_p, memcpy_size, stack); in MsanReallocate() 209 return new_p; in MsanReallocate()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemv.c | 145 const vpx_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv() local 147 cost_branch256(ct, new_p) + vp9_cost_one(upd_p) + in update_mv() 151 *cur_p = new_p; in update_mv() 152 vpx_write_literal(w, new_p >> 1, 7); in update_mv()
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_allocator.cpp | 240 void *new_p = MsanAllocate(stack, new_size, alignment, false /*zeroise*/); in MsanReallocate() local 241 if (new_p) { in MsanReallocate() 242 CopyMemory(new_p, old_p, memcpy_size, stack); in MsanReallocate() 245 return new_p; in MsanReallocate()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_mman.cpp | 249 void *new_p = user_alloc_internal(thr, pc, sz); in user_realloc() local 250 if (new_p) { in user_realloc() 252 internal_memcpy(new_p, p, min(old_sz, sz)); in user_realloc() 255 return SetErrnoOnNull(new_p); in user_realloc()
|
/external/flatbuffers/include/flatbuffers/ |
D | grpc.h | 131 uint8_t *new_p = GRPC_SLICE_START_PTR(new_slice); in reallocate_downward() local 132 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, in reallocate_downward() 136 return new_p; in reallocate_downward()
|
D | flatbuffers.h | 605 uint8_t *new_p = allocate(new_size); 606 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 609 return new_p; 617 void memcpy_downward(uint8_t *old_p, size_t old_size, uint8_t *new_p, 620 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back, 622 memcpy(new_p, old_p, in_use_front);
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | util_test.py | 138 new_logits, new_p = du.get_logits_and_probs( 141 self.assertAllClose(p, self.evaluate(new_p), rtol=1e-5, atol=0.) 149 new_logits, new_p = du.get_logits_and_probs( 152 self.assertAllClose(self.evaluate(new_p), p) 159 new_logits, new_p = du.get_logits_and_probs(probs=p, validate_args=True) 162 self.assertAllClose(p, self.evaluate(new_p)) 168 new_logits, new_p = du.get_logits_and_probs( 172 self.assertAllClose(p, self.evaluate(new_p))
|
/external/webp/src/enc/ |
D | frame_enc.c | 159 const int new_p = CalcTokenProba(nb, total); in FinalizeTokenProbas() local 162 const int new_cost = BranchCost(nb, total, new_p) in FinalizeTokenProbas() 168 proba->coeffs_[t][b][c][p] = new_p; in FinalizeTokenProbas() 169 has_changed |= (new_p != old_p); in FinalizeTokenProbas()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 1377 void *new_p = Allocate(cache, new_size, alignment); in Reallocate() local 1378 if (new_p) in Reallocate() 1379 internal_memcpy(new_p, p, memcpy_size); in Reallocate() 1381 return new_p; in Reallocate()
|
/external/llvm-project/libcxx/include/ |
D | new | 45 new_handler set_new_handler(new_handler new_p) noexcept;
|
/external/libcxx/include/ |
D | new | 40 new_handler set_new_handler(new_handler new_p) noexcept;
|
/external/protobuf/objectivec/Tests/ |
D | GPBUtilitiesTests.m | 142 message.new_p.copy_p = @"foo";
|