Home
last modified time | relevance | path

Searched refs:num_updates (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/
Dstats_accumulator_ops_test.py47 num_updates, partition, bucket_ids, grads, hessians = accumulator.flush(
49 num_updates, partition, bucket_ids, grads, hessians = sess.run(
50 [num_updates, partition, bucket_ids, grads, hessians])
53 self.assertEqual(num_updates, 2)
75 num_updates, partition, bucket_ids, grads, hessians = accumulator.flush(
77 num_updates, partition, bucket_ids, grads, hessians = sess.run(
78 [num_updates, partition, bucket_ids, grads, hessians])
81 self.assertEqual(num_updates, 2)
109 num_updates, partition, feature, grads, hessians = accumulator.flush(
111 num_updates, partition, feature, grads, hessians = sess.run(
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Ddropout_utils_test.cc330 std::vector<int32> num_updates = in TEST_F() local
334 current_weights.size(), 1, &current_weights, &num_updates); in TEST_F()
337 current_weights.size(), 1, &current_weights, &num_updates); in TEST_F()
343 std::vector<int32> num_updates = in TEST_F() local
348 current_weights.size(), 1, &current_weights, &num_updates); in TEST_F()
351 current_weights.size(), 1, &current_weights, &num_updates); in TEST_F()
375 std::vector<int32> num_updates = in TEST_F() local
379 current_weights.size(), 1, &current_weights, &num_updates); in TEST_F()
382 current_weights.size(), 1, &current_weights, &num_updates); in TEST_F()
388 std::vector<int32> num_updates = in TEST_F() local
[all …]
Ddropout_utils.cc112 std::vector<float>* current_weights, std::vector<int32>* num_updates) { in GetTreesWeightsForAddingTrees() argument
113 CHECK(num_updates->size() == current_weights->size()); in GetTreesWeightsForAddingTrees()
131 (*num_updates)[new_tree_index]++; in GetTreesWeightsForAddingTrees()
135 num_updates->push_back(1); in GetTreesWeightsForAddingTrees()
145 ++(*num_updates)[dropped]; in GetTreesWeightsForAddingTrees()
Ddropout_utils.h70 std::vector<int32>* num_updates);
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram_unittest.cc46 EXPECT_EQ(hist_->num_updates(), 0); in TestClean()
62 int num_updates = 0; in RunTest() local
69 num_updates = 0; in RunTest()
76 num_updates++; in RunTest()
77 EXPECT_EQ(hist_->num_updates(), num_updates); in RunTest()
Dhistogram.h47 int num_updates() const { return num_updates_; } in num_updates() function
Dagc.cc70 if (histogram_->num_updates() < kNumAnalysisFrames) { in GetRmsErrorDb()
/external/tensorflow/tensorflow/compiler/tests/
Dscatter_nd_op_test.py51 num_updates = indices.size // ixdim
57 flat_updates = updates.reshape((num_updates, slice_size))
83 num_updates = indices_shape[0]
94 indices = np.array(all_indices[:num_updates])
96 if num_updates > 1 and repeat_indices:
97 indices = indices[:num_updates // 2]
98 for _ in range(num_updates - num_updates // 2):
100 indices, [indices[np.random.randint(num_updates // 2)]], axis=0)
102 indices = _AsType(indices[:num_updates], itype)
104 updates_shape = (num_updates,)
/external/tensorflow/tensorflow/contrib/metrics/python/kernel_tests/
Dhistogram_ops_test.py79 num_updates=1)
89 num_updates=1)
104 num_updates=50)
117 num_updates=1000)
128 num_updates=100)
137 num_updates=10): argument
165 for _ in range(num_updates):
181 num_updates)
/external/tensorflow/tensorflow/contrib/boosted_trees/python/ops/
Dstats_accumulator_ops.py92 (stamp_token, num_updates, partition_ids, feature_ids, gradients,
97 saver.BaseSaverBuilder.SaveSpec(num_updates, slice_spec,
156 def deserialize(self, stamp_token, num_updates, partition_ids, feature_ids, argument
161 self._resource_handle, stamp_token, num_updates, partition_ids,
165 self._resource_handle, stamp_token, num_updates, partition_ids,
200 num_updates=restored_tensors[1],
/external/tensorflow/tensorflow/python/kernel_tests/
Dscatter_nd_ops_test.py56 num_updates = indices.size // ixdim
62 flat_updates = updates.reshape((num_updates, slice_size))
104 num_updates = indices_shape[0]
116 indices = np.array(all_indices[:num_updates])
118 if num_updates > 1 and repeat_indices:
119 indices = indices[:num_updates // 2]
120 for _ in range(num_updates - num_updates // 2):
122 indices, [indices[np.random.randint(num_updates // 2)]], axis=0)
124 indices = _AsType(indices[:num_updates], itype)
126 updates_shape = (num_updates,)
[all …]
/external/tensorflow/tensorflow/python/training/
Dmoving_averages.py315 def __init__(self, decay, num_updates=None, zero_debias=False, argument
339 self._num_updates = num_updates
413 num_updates = math_ops.cast(self._num_updates,
417 (1.0 + num_updates) / (10.0 + num_updates))
Dadadelta_test.py36 num_updates = 4 # number of ADADELTA steps to perform
98 update = [None] * num_updates
100 for step in range(num_updates):
Dmoving_averages_test.py210 ema = moving_averages.ExponentialMovingAverage(0.25, num_updates=1)
217 0.25, num_updates=1, zero_debias=True)
223 ema = moving_averages.ExponentialMovingAverage(0.25, num_updates=1)
230 0.25, num_updates=1, zero_debias=True)
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmoving_average_optimizer.py66 def __init__(self, opt, average_decay=0.9999, num_updates=None, argument
85 average_decay, num_updates=num_updates)
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dstats_accumulator_ops.cc112 const int64& num_updates() const { return num_updates_; } in num_updates() function in tensorflow::boosted_trees::__anon938006690111::StatsAccumulatorResource
226 accumulator_resource->set_num_updates(accumulator_resource->num_updates() + in AddToScalarAccumulator()
234 int64 num_updates = partition_ids_shape.dim_size(0); in AddToScalarAccumulator() local
236 for (int64 i = 0; i < num_updates; ++i) { in AddToScalarAccumulator()
270 accumulator_resource->set_num_updates(accumulator_resource->num_updates() + in AddToTensorAccumulator()
297 int64 num_updates = partition_ids_shape.dim_size(0); in AddToTensorAccumulator() local
299 for (int64 i = 0; i < num_updates; ++i) { in AddToTensorAccumulator()
576 num_updates_t->scalar<int64>()() = accumulator_resource->num_updates(); in Compute()
617 num_updates_t->scalar<int64>()() = accumulator_resource->num_updates(); in Compute()
706 num_updates_t->scalar<int64>()() = accumulator_resource->num_updates(); in Compute()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dscatter_nd_op.cc332 int64* slice_dim, Index* num_updates, in PrepareAndValidateInputs() argument
396 *num_updates = indices_shape.num_elements() / safe_slice_dim; in PrepareAndValidateInputs()
441 Index num_updates; in DoScatterNd() local
444 shape, indices, updates, &slice_dim, &num_updates, &slice_size)); in DoScatterNd()
448 auto updates_flat = updates.shaped<T, 2>({num_updates, slice_size}); in DoScatterNd()
Drange_sampler.cc191 int num_updates = std::min(static_cast<int>(values.size()), in Update() local
193 for (int i = 0; i < num_updates; i++) { in Update()
/external/tensorflow/tensorflow/contrib/boosted_trees/resources/
Ddecision_tree_ensemble_resource.h150 const int32 num_updates = decision_tree_ensemble_->tree_metadata(index) in SetTreeWeight() local
153 ->set_num_tree_weight_updates(num_updates + increment_num_updates); in SetTreeWeight()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.train.-exponential-moving-average.pbtxt7 …argspec: "args=[\'self\', \'decay\', \'num_updates\', \'zero_debias\', \'name\'], varargs=None, ke…
/external/webrtc/webrtc/modules/video_coding/
Dqm_select_unittest.cc48 void UpdateQmEncodedFrame(size_t* encoded_size, size_t num_updates);
54 int num_updates);
1263 size_t num_updates) { in UpdateQmEncodedFrame() argument
1264 for (size_t i = 0; i < num_updates; ++i) { in UpdateQmEncodedFrame()
1275 int num_updates) { in UpdateQmRateData() argument
1276 for (int i = 0; i < num_updates; ++i) { in UpdateQmRateData()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp600 auto num_updates = 0; in GetStorageUpdates() local
613 num_updates++; in GetStorageUpdates()
623 num_updates++; in GetStorageUpdates()
631 num_updates++; in GetStorageUpdates()
637 return num_updates; in GetStorageUpdates()