/external/tensorflow/tensorflow/compiler/tests/ |
D | segment_reduction_ops_test.py | 34 def _segmentReduction(self, op, data, indices, num_segments): argument 41 return sess.run(op(d, i, num_segments), {d: data, i: indices}) 43 def _unsortedSegmentSum(self, data, indices, num_segments): argument 45 num_segments) 47 def _unsortedSegmentProd(self, data, indices, num_segments): argument 49 num_segments) 51 def _unsortedSegmentMin(self, data, indices, num_segments): argument 53 num_segments) 55 def _unsortedSegmentMax(self, data, indices, num_segments): argument 57 num_segments) [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_math_ops.py | 152 num_segments, argument 186 return unsorted_segment_op(data, segment_ids, num_segments, name) 189 [data, segment_ids, num_segments]) as name: 204 segment_ids.values, num_segments, name) 216 num_segments), 0) 245 def segment_sum(data, segment_ids, num_segments, name=None): argument 248 segment_ids, num_segments, name or 252 def segment_prod(data, segment_ids, num_segments, name=None): argument 255 segment_ids, num_segments, name or 259 def segment_min(data, segment_ids, num_segments, name=None): argument [all …]
|
D | segment_id_ops.py | 69 def segment_ids_to_row_splits(segment_ids, num_segments=None, name=None): argument 92 if num_segments is not None: 93 num_segments = ragged_util.convert_to_int_tensor(num_segments, 95 num_segments.shape.assert_has_rank(0) 99 minlength=num_segments, 100 maxlength=num_segments, 105 if num_segments is not None: 106 const_num_segments = tensor_util.constant_value(num_segments)
|
D | ragged_segment_op_test.py | 55 def expected_value(self, data, segment_ids, num_segments, combiner): argument 70 grouped = [[[] for _ in range(ncols)] for row in range(num_segments)] 108 num_segments = max(segment_ids) + 1 109 expected = self.expected_value(rt_as_list, segment_ids, num_segments, 112 segmented = segment_op(rt, segment_ids, num_segments) 144 num_segments = max(segment_ids) + 1 145 expected = self.expected_value(rt_as_list, segment_ids, num_segments, 148 segmented = segment_op(rt, segment_ids, num_segments)
|
D | ragged_segment_ids_to_row_splits_op_test.py | 54 num_segments = 7 56 splits = segment_id_ops.segment_ids_to_row_splits(segment_ids, num_segments)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | segment_reduction_ops_test.py | 50 def _segmentReduce(self, indices, x, op1, op2=None, num_segments=None, argument 55 if num_segments is None: 56 num_segments = indices[-1] + 1 57 output = [None] * num_segments 290 num_segments = 12 307 indices, np_x, np_op1, np_op2, num_segments=num_segments, 309 s = tf_op(tf_x, segment_ids=indices, num_segments=num_segments) 319 num_segments = 12 326 num_segments, dtype=dtype) 328 indices, np_x, np.add, op2=None, num_segments=num_segments) [all …]
|
/external/freetype/src/autofit/ |
D | afwarp.c | 79 FT_Int num_segments ) in af_warper_compute_line_best() argument 119 for ( nn = 0; nn < num_segments; nn++ ) in af_warper_compute_line_best() 173 FT_Int nn, num_points, num_segments; in af_warper_compute() local 200 num_segments = axis->num_segments; in af_warper_compute() 208 if ( num_segments < 1 ) in af_warper_compute() 225 for ( nn = 1; nn < num_segments; nn++ ) in af_warper_compute() 348 segments, num_segments ); in af_warper_compute()
|
D | afhints.c | 46 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) in af_axis_hints_new_segment() 54 else if ( axis->num_segments >= axis->max_segments ) in af_axis_hints_new_segment() 87 segment = axis->segments + axis->num_segments++; in af_axis_hints_new_segment() 249 AF_Segment limit = segments + axis->num_segments; in af_get_segment_index() 417 AF_Segment limit = segments + axis->num_segments; in af_glyph_hints_dump_segments() 426 if ( axis->num_segments ) in af_glyph_hints_dump_segments() 472 FT_Int* num_segments ) in af_glyph_hints_get_num_segments() argument 481 *num_segments = axis->num_segments; in af_glyph_hints_get_num_segments() 515 if ( idx < 0 || idx >= axis->num_segments ) in af_glyph_hints_get_segment_offset() 692 axis->num_segments = 0; in af_glyph_hints_done() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SparseSegmentSumWithNumSegments.pbtxt | 16 name: "num_segments" 25 has size `num_segments`. 43 c, tf.constant([0, 1]), tf.constant([0, 0]), num_segments=3) 51 num_segments=4))
|
D | api_def_UnsortedSegmentSum.pbtxt | 14 `num_segments`. 33 `num_segments` should equal the number of distinct segment IDs. 41 tf.unsorted_segment_sum(c, tf.constant([0, 1, 0]), num_segments=2)
|
D | api_def_SparseSegmentMeanWithNumSegments.pbtxt | 16 name: "num_segments" 25 `num_segments`.
|
D | api_def_UnsortedSegmentProd.pbtxt | 14 `num_segments`. 35 tf.unsorted_segment_prod(c, tf.constant([0, 1, 0]), num_segments=2)
|
D | api_def_UnsortedSegmentMin.pbtxt | 14 `num_segments`. 38 tf.unsorted_segment_min(c, tf.constant([0, 1, 0]), num_segments=2)
|
D | api_def_UnsortedSegmentMax.pbtxt | 14 `num_segments`. 45 tf.unsorted_segment_max(c, tf.constant([0, 1, 0]), num_segments=2)
|
/external/tensorflow/tensorflow/core/kernels/ |
D | segment_reduction_ops.cc | 372 void operator()(OpKernelContext* ctx, const Index num_segments, in operator ()() 389 OP_REQUIRES(ctx, FastBoundsCheck(j, num_segments), in operator ()() 392 " = ", j, " is out of range [0, ", num_segments, ")")); in operator ()() 440 const Tensor& num_segments) { in UnsortedSegmentReductionValidation() argument 442 context, op_kernel->IsLegacyScalar(num_segments.shape()), in UnsortedSegmentReductionValidation() 444 num_segments.shape().DebugString())); in UnsortedSegmentReductionValidation() 456 const Tensor& num_segments) { in UnsortedSegmentReductionDoValidation() argument 458 num_segments); in UnsortedSegmentReductionDoValidation() 475 const Tensor& num_segments = context->input(2); in Compute() local 477 num_segments)) { in Compute() [all …]
|
/external/u-boot/arch/arm/mach-rockchip/ |
D | make_fit_atf.py | 132 for i in range(uboot.num_segments()): 144 for i in range(bl31.num_segments()): 163 num = bl31.num_segments() 180 num = bl31.num_segments() 181 print 'Number of Segments : %d' % bl31.num_segments()
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_ops.py | 3208 def _unsorted_segment_N(data, segment_ids, num_segments): argument 3215 N = gen_math_ops.unsorted_segment_sum(ones_tensor, segment_ids, num_segments) 3218 broadcast_shape = [num_segments] + [1] * ndims_output 3228 def unsorted_segment_mean(data, segment_ids, num_segments, name=None): argument 3264 N = _unsorted_segment_N(data, segment_ids, num_segments) 3265 summed = gen_math_ops.unsorted_segment_sum(data, segment_ids, num_segments) 3274 def unsorted_segment_sqrt_n(data, segment_ids, num_segments, name=None): argument 3313 N = _unsorted_segment_N(data, segment_ids, num_segments) 3314 summed = gen_math_ops.unsorted_segment_sum(data, segment_ids, num_segments) 3321 num_segments=None): argument [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emission_utils.cc | 224 int num_segments = CeilOfRatio(bit_width, 32); in EmitFullWarpShuffleDown() local 228 builder->getIntNTy(32 * num_segments)), in EmitFullWarpShuffleDown() 229 llvm::VectorType::get(builder->getInt32Ty(), num_segments)); in EmitFullWarpShuffleDown() 230 for (int i = 0; i < num_segments; ++i) { in EmitFullWarpShuffleDown() 242 builder->CreateBitCast(x, builder->getIntNTy(32 * num_segments)), in EmitFullWarpShuffleDown()
|
/external/fonttools/Lib/fontTools/svgLib/path/ |
D | arc.py | 121 num_segments = int(ceil(fabs(self.theta_arc / (PI_OVER_TWO + 0.001)))) 122 for i in range(num_segments): 123 start_theta = self.theta1 + i * self.theta_arc / num_segments 124 end_theta = self.theta1 + (i + 1) * self.theta_arc / num_segments
|
/external/webrtc/webrtc/base/ |
D | versionparsing.cc | 47 int num_segments) { in CompareVersions() argument 48 for (int i = 0; i < num_segments; ++i) { in CompareVersions()
|
D | versionparsing.h | 31 int num_segments);
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | segment_reduction_ops.cc | 59 int64 num_segments; in Compile() local 60 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(2, &num_segments)); in Compile() 79 buffer_shape.InsertDim(0, num_segments); in Compile()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.sparse.pbtxt | 77 …argspec: "args=[\'data\', \'indices\', \'segment_ids\', \'num_segments\', \'name\'], varargs=None,… 81 …argspec: "args=[\'data\', \'indices\', \'segment_ids\', \'num_segments\', \'name\'], varargs=None,… 85 …argspec: "args=[\'data\', \'indices\', \'segment_ids\', \'num_segments\', \'name\'], varargs=None,…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.sparse.pbtxt | 97 …argspec: "args=[\'data\', \'indices\', \'segment_ids\', \'name\', \'num_segments\'], varargs=None,… 101 …argspec: "args=[\'data\', \'indices\', \'segment_ids\', \'name\', \'num_segments\'], varargs=None,… 105 …argspec: "args=[\'data\', \'indices\', \'segment_ids\', \'name\', \'num_segments\'], varargs=None,…
|
/external/webp/src/enc/ |
D | quant_enc.c | 245 const int num_segments = enc->segment_hdr_.num_segments_; in SetupMatrices() local 246 for (i = 0; i < num_segments; ++i) { in SetupMatrices() 367 const int num_segments = (enc->segment_hdr_.num_segments_ < NUM_MB_SEGMENTS) in SimplifySegments() local 372 for (s1 = 1; s1 < num_segments; ++s1) { // find similar segments in SimplifySegments() 391 if (num_final_segments < num_segments) { // Remap in SimplifySegments() 396 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments() 405 const int num_segments = enc->segment_hdr_.num_segments_; in VP8SetSegmentParams() local 411 for (i = 0; i < num_segments; ++i) { in VP8SetSegmentParams() 425 for (i = num_segments; i < NUM_MB_SEGMENTS; ++i) { in VP8SetSegmentParams() 452 if (num_segments > 1) SimplifySegments(enc); in VP8SetSegmentParams()
|