Home
last modified time | relevance | path

Searched refs:new_p (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Doptimizers.py203 new_p = p + self.momentum * v - lr * g
205 new_p = p + v
209 new_p = p.constraint(new_p)
211 self.updates.append(state_ops.assign(p, new_p))
271 new_p = p - lr * g / (K.sqrt(new_a) + self.epsilon)
275 new_p = p.constraint(new_p)
277 self.updates.append(state_ops.assign(p, new_p))
338 new_p = p - lr * g / (K.sqrt(new_a) + self.epsilon)
342 new_p = p.constraint(new_p)
344 self.updates.append(state_ops.assign(p, new_p))
[all …]
Dbackend.py2968 p, new_p = update
2969 updates_ops.append(state_ops.assign(p, new_p))
/external/libvpx/libvpx/vp8/encoder/
Dencodemv.c169 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/compiler-rt/test/tsan/
Dignored-interceptors-mmap.cc27 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/
Dmsan_allocator.cc203 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/
Dvp9_encodemv.c145 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/flatbuffers/include/flatbuffers/
Dgrpc.h132 uint8_t *new_p = GRPC_SLICE_START_PTR(new_slice); in reallocate_downward() local
133 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, in reallocate_downward()
137 return new_p; in reallocate_downward()
Dflatbuffers.h454 uint8_t *new_p = allocate(new_size);
455 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back,
458 return new_p;
467 uint8_t *new_p, size_t new_size,
469 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back,
471 memcpy(new_p, old_p, in_use_front);
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dutil_test.py138 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/
Dframe_enc.c156 const int new_p = CalcTokenProba(nb, total); in FinalizeTokenProbas() local
159 const int new_cost = BranchCost(nb, total, new_p) in FinalizeTokenProbas()
165 proba->coeffs_[t][b][c][p] = new_p; in FinalizeTokenProbas()
166 has_changed |= (new_p != old_p); in FinalizeTokenProbas()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h1377 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/protobuf/objectivec/Tests/
DGPBUtilitiesTests.m141 message.new_p.copy_p = @"foo";
/external/u-boot/common/
Dcli_hush.c2592 struct pipe *new_p; local
2597 new_p=new_pipe();
2598 ctx->pipe->next = new_p;
2599 ctx->pipe = new_p;
/external/libcxx/include/
Dnew40 new_handler set_new_handler(new_handler new_p) noexcept;
/external/toolchain-utils/dejagnu/gdb_baseline/
Dx86_64-cros-linux-gnu2052 PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /1/
2055 PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /2/
Di686-pc-linux-gnu1818 PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /1/
1821 PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /2/
Darmv7a-cros-linux-gnueabi1866 PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /1/
1869 PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /2/