/external/tensorflow/tensorflow/cc/tutorials/ |
example_trainer.cc | 42 int num_iterations = 100; // Each step repeats this many times 114 for (int step = 0; step < M; ++step) { 115 step_threads->Schedule([&session, opts, session_index, step]() { 135 std::printf("%06d/%06d %s\n", session_index, step,
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
metropolis_hastings_test.py | 45 step = mh.evolve(state, state_log_density, log_accept_ratio, 51 sess.run(step) 77 step = mh.evolve(state, state_log_density, log_accept_ratio, 87 sess.run(step) 89 sess.run(step)
|
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
scan_dataset_op_test.py | 36 def _count(self, start, step): 38 scan_ops.scan(start, lambda state, _: (state + step, state))) 42 step = array_ops.placeholder(dtypes.int32, shape=[]) 44 iterator = self._count(start, step).take(take).make_initializable_iterator() 53 feed_dict={start: start_val, step: step_val, take: take_val})
|
/external/tensorflow/tensorflow/contrib/factorization/examples/ |
mnist.py | 66 """Fills the feed_dict for training the given step. 230 for step in xrange(FLAGS.max_steps): 234 # for this particular training step. 240 # Run one step of the model. 247 if step % 100 == 0: 249 print('Step %d: loss = %.2f, clustering_loss = %.2f (%.3f sec)' % ( 250 step, loss_value, clustering_loss_value, duration)) 253 if (step + 1) % 1000 == 0 or (step + 1) == FLAGS.max_steps:
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
pitch_f4.c | 81 Word16 max, t0, step, temp; local 121 step = 1; /* 1/4 subsample resolution */ 125 step = 2; /* 1/2 subsample resolution */ 134 for (i = fraction + step; i <= 3; i += step)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
AccessibilityGestureDetectorTest.java | 166 // For each path step from start (non-inclusive) to end ... add a motion point. 167 for (int step = 1; step < numSteps; ++step) { 169 (start.x + (stepX * (float) step)), 170 (start.y + (stepY * (float) step))));
|
/external/opencv/cxcore/src/ |
cxmatmul.cpp | 1732 int step = shift->step ? shift->step\/sizeof(double) : 1; local 1738 int step = shift->step ? shift->step\/sizeof(float) : 1; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
LegendreGaussIntegrator.java | 38 * abscissas in each step interval (mapped to the canonical [-1 1] interval). 172 // compute first estimate with a single step 218 // set up the step for the current stage 219 final double step = (max - min) / n; local 220 final double halfStep = step / 2.0; 229 midPoint += step;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_blockd.c | 49 const int step = 1 << (tx_size << 1); local 63 const int extra_step = ((num_4x4_w - max_blocks_wide) >> tx_size) * step; 71 i += step;
|
/external/skia/infra/bots/recipe_modules/run/ |
api.py | 44 """Raise an exception if any step failed.""" 46 raise self.m.step.StepFailure('Failed build steps: %s' % 74 """Run a step. If it fails, keep going but mark the build status failed.""" 78 except self.m.step.StepFailure as e: 128 except self.m.step.StepFailure:
|
/external/skqp/infra/bots/recipe_modules/run/ |
api.py | 45 """Raise an exception if any step failed.""" 47 raise self.m.step.StepFailure('Failed build steps: %s' % 75 """Run a step. If it fails, keep going but mark the build status failed.""" 79 except self.m.step.StepFailure as e: 129 except self.m.step.StepFailure:
|
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/ |
cifar10_eval.py | 83 step = 0 84 while step < num_iter and not coord.should_stop(): 87 step += 1
|
/external/tensorflow/tensorflow/python/summary/writer/ |
writer_test.py | 81 self.assertEquals(0, ev.step) 89 self.assertEquals(0, ev.step) 131 self.assertEquals(1, ev.step) 137 self.assertEquals(10, ev.step) 145 self.assertEquals(20, ev.step) 153 self.assertEquals(30, ev.step) 161 self.assertEquals(40, ev.step) 243 self.assertEquals(1, ev.step) 257 self.assertEquals(2, ev.step) 311 self.assertEquals(1, ev.step) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsFastScrollHelper.java | 152 int step = (int) (ySign * Math.ceil((float) Math.abs(deltaY) / numFrames)); local 155 mFastScrollFrames[i] = (int) (ySign * Math.min(Math.abs(step), Math.abs(deltaY))); 156 deltaY -= step;
|
/external/skia/src/pathops/ |
SkOpSegment.cpp | 525 int step = start->step(end); local 526 SkOpSegment* other = this->isSimple(nextStart, &step); // advances nextStart 538 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 541 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 545 SkASSERT((start->t() < endNear->t()) ^ (step < 0)); 630 int step = start->step(end); local 631 SkOpSegment* other = this->isSimple(nextStart, &step); // advances nextStart 643 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev() 726 int step = start->step(end); local 837 int step = start->step(end); local 862 int step = start->step(end); local 883 int step = start->step(end); local 1026 int step = *stepPtr; local [all...] |
/external/skqp/src/pathops/ |
SkOpSegment.cpp | 525 int step = start->step(end); local 526 SkOpSegment* other = this->isSimple(nextStart, &step); // advances nextStart 538 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 541 SkOpSpanBase* endNear = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev(); 545 SkASSERT((start->t() < endNear->t()) ^ (step < 0)); 630 int step = start->step(end); local 631 SkOpSegment* other = this->isSimple(nextStart, &step); // advances nextStart 643 *nextEnd = step > 0 ? (*nextStart)->upCast()->next() : (*nextStart)->prev() 726 int step = start->step(end); local 837 int step = start->step(end); local 862 int step = start->step(end); local 883 int step = start->step(end); local 1026 int step = *stepPtr; local [all...] |
/external/llvm/bindings/ocaml/target/ |
llvm_target.ml | 100 let rec step elem lst = 102 | Some target -> step (succ target) (target :: lst) 105 step (first ()) []
|
/external/lzma/CPP/7zip/UI/Common/ |
HashCalc.cpp | 296 for (UInt32 step = 0;; step++)
298 if ((step & 0xFF) == 0)
337 int step = 2;
local 340 step = -2;
349 dest += step;
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
format_conversion.h | 49 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); 73 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); 195 UnrollerL<0, FormatTraits<DstFormat>::numComps, 1>::step(lambda); 217 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); 241 UnrollerL<0, FormatTraits<SrcFormat>::numComps, 1>::step(lambda); 363 UnrollerL<0, FormatTraits<DstFormat>::numComps, 1>::step(lambda);
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
llvm_loop.cc | 37 llvm::Value* step, bool prevent_unrolling, 43 step_(step), 50 llvm::Value* end_index, llvm::Value* step, llvm::IRBuilder<>* ir_builder, 53 end_index, step, prevent_unrolling, 124 llvm::Value* step = step_; local 128 ir_builder->CreateAdd(indvar, step, "invar.inc",
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
BinaryDictOffdeviceUtils.java | 78 private String getStepDescription(final int step) { 79 switch (step) { 91 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) { 93 s.append(getStepDescription(step)); 110 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) { 111 switch (step) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
KeyChainTest.java | 94 private List<Step> mSteps; 131 Step step = mSteps.get(mCurrentStep); local 133 switch (step.task.getStatus()) { 135 step.task.execute(); 150 step.task.cancel(false); 179 mSteps.add(new Step(R.string.keychain_setup_desc, false, new SetupTestKeyStoreTask())); 180 mSteps.add(new Step(R.string.keychain_install_desc, true, new InstallCredentialsTask())); 181 mSteps.add(new Step(R.string.keychain_https_desc, false, new TestHttpsRequestTask())); 182 mSteps.add(new Step(R.string.keychain_reset_desc, true, new ClearCredentialsTask())) 198 final Step step = mSteps.get(mCurrentStep); local [all...] |
/external/dng_sdk/source/ |
dng_1d_table.cpp | 159 real64 step = (real64) kTableSize / 65535.0; local 175 fract += step;
|
/external/libchrome/base/trace_event/common/ |
trace_event_common.h | 529 // operation must use the same |name| and |id|. Each step can have its own [all...] |
/external/opencv/cv/src/ |
cvfloodfill.cpp | 95 icvFloodFill_8u_CnIR( uchar* pImage, int step, CvSize roi, CvPoint seed, 99 uchar* img = pImage + step * seed.y; 167 img = pImage + (YC + dir) * step; 227 icvFloodFill_32f_CnIR( int* pImage, int step, CvSize roi, CvPoint seed, 231 int* img = pImage + (step /= sizeof(pImage[0])) * seed.y; 299 img = pImage + (YC + dir) * step; 373 icvFloodFill_Grad_8u_CnIR( uchar* pImage, int step, uchar* pMask, int maskStep, 378 uchar* img = pImage + step*seed.y; 480 curstep = dir * step; 481 img = pImage + (YC + dir) * step; [all...] |