Home
last modified time | relevance | path

Searched refs:num_steps (Results 1 – 25 of 39) sorted by relevance

12

/external/eigen/Eigen/src/Core/functors/
DNullaryFunctors.h45 linspaced_op_impl(const Scalar& low, const Scalar& high, Index num_steps) :
46 …w(low), m_high(high), m_size1(num_steps==1 ? 1 : num_steps-1), m_step(num_steps==1 ? Scalar() : (h…
92 linspaced_op_impl(const Scalar& low, const Scalar& high, Index num_steps) :
94 m_multiplier((high-low)/convert_index<Scalar>(num_steps<=1 ? 1 : num_steps-1)),
95 …m_divisor(convert_index<Scalar>((high>=low?num_steps:-num_steps)+(high-low))/((numext::abs(high-lo…
96 m_use_divisor(num_steps>1 && (numext::abs(high-low)+1)<num_steps)
131 linspaced_op(const Scalar& low, const Scalar& high, Index num_steps)
132 : impl((num_steps==1 ? high : low),high,num_steps)
/external/tensorflow/tensorflow/python/training/
Devaluation_test.py75 def _train_model(self, checkpoint_dir, num_steps): argument
99 hooks=[basic_session_run_hooks.StopAtStepHook(num_steps)]) as session:
104 if num_steps >= 300:
112 self._train_model(checkpoint_dir, num_steps=300)
138 self._train_model(checkpoint_dir, num_steps=300)
176 self._train_model(checkpoint_dir, num_steps=1)
204 self._train_model(checkpoint_dir, num_steps=1)
233 self._train_model(checkpoint_dir, num_steps=1)
Dbasic_session_run_hooks.py328 def __init__(self, num_steps=None, last_step=None, steps_per_run=1): argument
352 if num_steps is None and last_step is None:
354 if num_steps is not None and last_step is not None:
358 self._num_steps = num_steps
393 def __init__(self, num_steps=None, last_step=None): argument
412 if num_steps is None and last_step is None:
414 if num_steps is not None and last_step is not None:
416 self._num_steps = num_steps
/external/tensorflow/tensorflow/tools/graph_transforms/
Dround_weights.cc35 int32 num_steps; in RoundWeights() local
37 context.GetOneInt32Parameter("num_steps", 256, &num_steps)); in RoundWeights()
40 [num_steps](const NodeMatch& match, const std::set<string>& input_nodes, in RoundWeights()
92 const float bucket_width = (max - min) / num_steps; in RoundWeights()
/external/tensorflow/tensorflow/core/profiler/utils/
Dstep_intersection.cc139 ", num_steps: ", alignment.num_steps, "]"); in StringStepsAlignment()
154 uint32 num_steps) { in StringSrcToDstIndexMap() argument
157 for (auto i = 0; i < num_steps; i++) { in StringSrcToDstIndexMap()
213 perhost_alignment_[host_id].num_steps; in StepIntersection()
221 uint32 num_steps = min_end_chief_idx - max_begin_chief_idx; in StepIntersection() local
222 if (num_steps > max_steps) { in StepIntersection()
223 steps_dropped_ = num_steps - max_steps; in StepIntersection()
Dstep_intersection.h33 uint32 num_steps; // aligned for how many steps. member
Dstep_intersection_test.cc33 PerCoreStepInfo CreateOneTestStep(uint32 host_id, uint32 num_steps, in CreateOneTestStep() argument
42 if (host_id == 0 && step_idx == (num_steps - 1)) { in CreateOneTestStep()
/external/llvm-project/clang/utils/analyzer/
DSumTimerInfo.py26 num_steps = 0 variable
56 num_steps = num_steps + int(s[0]) variable
/external/llvm-project/debuginfo-tests/dexter/dex/dextIR/
DDextIR.py69 self.num_steps, '' if self.num_steps == 1 else 's')
73 def num_steps(self): member in DextIR
/external/tensorflow/tensorflow/python/keras/distribute/
Dmirrored_strategy_test.py131 num_steps = 7
134 for _ in range(num_steps):
138 self.assertEqual(optimizer.iterations.numpy(), num_epochs * num_steps)
/external/tensorflow/tensorflow/python/keras/layers/
Dlocal_test.py94 num_steps = 8
118 input_shape=(num_samples, num_steps, input_dim))
124 num_steps = 8
144 layer.build((num_samples, num_steps, input_dim))
148 np.ones((num_samples, num_steps, input_dim))))
161 layer.build((num_samples, num_steps, input_dim))
/external/tensorflow/tensorflow/core/grappler/clusters/
Dcluster.cc40 void Cluster::SetNumWarmupSteps(int num_steps) { in SetNumWarmupSteps() argument
42 num_steps); in SetNumWarmupSteps()
Dcluster.h73 void SetNumWarmupSteps(int num_steps);
/external/llvm-project/lldb/examples/python/
Dperformance.py339 self.num_steps = 5
348 if self.num_steps > 0:
350 self.num_steps = self.num_steps - 1
/external/tensorflow/tensorflow/python/keras/integration_test/
Dtpu_strategy_test.py187 num_steps = 7
190 for _ in range(num_steps):
194 self.assertEqual(optimizer.iterations.numpy(), num_epochs * num_steps)
/external/autotest/server/site_tests/firmware_ECThermal/
Dfirmware_ECThermal.py99 num_steps = len(self._thermal_setting[0]) - 3
102 ["\d+ K:\s+([0-9-]+) RPM"] * num_steps)
108 for i in xrange(num_steps + 1):
/external/tensorflow/tensorflow/python/ops/
Drnn_grad_test.py40 num_steps = 1
47 x = deterministic_random_uniform([num_steps, batch_size, input_size])
/external/tensorflow/tensorflow/python/eager/
Dremote_test.py243 num_steps = 3
244 for i in range(num_steps):
248 if i == num_steps - 1:
269 num_steps = 3
272 for _ in range(num_steps):
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.-stop-at-step-hook.pbtxt8 …argspec: "args=[\'self\', \'num_steps\', \'last_step\'], varargs=None, keywords=None, defaults=[\'…
Dtensorflow.train.-stop-at-step-hook.pbtxt8 …argspec: "args=[\'self\', \'num_steps\', \'last_step\'], varargs=None, keywords=None, defaults=[\'…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-stop-at-step-hook.pbtxt8 …argspec: "args=[\'self\', \'num_steps\', \'last_step\'], varargs=None, keywords=None, defaults=[\'…
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2_test.py1127 num_steps = 10
1128 num_steps_float = float(num_steps)
1186 for _ in range(num_steps):
1201 learning_rates = [starting_lr - (starting_lr - ending_lr) / num_steps * j
1202 for j in range(num_steps)]
1203 cumsum = [sum(learning_rates[0:j]) for j in range(num_steps)]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dlstm_full_test.cc236 const int num_steps = lstm_input_.size(); in VerifyGoldens() local
238 for (int i = 0; i < num_steps; ++i) { in VerifyGoldens()
/external/autotest/server/site_tests/firmware_Cr50DeviceState/
Dfirmware_Cr50DeviceState.py280 num_steps = len(self.steps)
290 step_errors = [ [] for i in range(num_steps) ]
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dcommon_errors.md54 num_steps = 10000
56 for i in range(num_steps):

12