/external/tensorflow/tensorflow/compiler/tests/ |
D | segment_reduction_ops_test.py | 33 def UnsortedSegmentSum(self, data, indices, num_segments): argument 41 math_ops.unsorted_segment_sum(d, i, num_segments), 78 num_segments = 10 79 y = self.UnsortedSegmentSum(data, indices, num_segments) 94 num_segments = 4 95 y = self.UnsortedSegmentSum(data, indices, num_segments) 110 num_segments = 8 111 y = self.UnsortedSegmentSum(data, indices, num_segments) 127 num_segments = 6 128 y = self.UnsortedSegmentSum(data, indices, num_segments) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | segment_reduction_ops_test.py | 49 def _segmentReduce(self, indices, x, op1, op2=None, num_segments=None, argument 54 if num_segments is None: 55 num_segments = indices[-1] + 1 56 output = [None] * num_segments 276 num_segments = 12 293 indices, np_x, np_op1, np_op2, num_segments=num_segments, 295 s = tf_op(tf_x, segment_ids=indices, num_segments=num_segments) 305 num_segments = 12 312 num_segments, dtype=dtype) 314 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 …]
|
D | aflatin2.c | 129 limit = seg + axhints->num_segments; in af_latin2_metrics_init_widths() 751 axis->num_segments = 0; in af_latin2_hints_compute_segments() 905 AF_Segment segments_end = segments + axis->num_segments; in af_latin2_hints_compute_segments() 950 FT_UInt count = axis->num_segments; in af_latin2_hints_compute_segments() 991 AF_Segment segment_limit = segments + axis->num_segments; in af_latin2_hints_link_segments() 1093 AF_Segment segment_limit = segments + axis->num_segments; in af_latin2_hints_compute_edges()
|
D | afhints.h | 307 FT_Int num_segments; /* number of used segments */ member
|
D | aflatin.c | 200 limit = seg + axhints->num_segments; in af_latin_metrics_init_widths() 1501 axis->num_segments = 0; in af_latin_hints_compute_segments() 1766 axis->num_segments--; in af_latin_hints_compute_segments() 1853 AF_Segment segments_end = segments + axis->num_segments; in af_latin_hints_compute_segments() 1913 AF_Segment segment_limit = segments + axis->num_segments; in af_latin_hints_link_segments() 2063 AF_Segment segment_limit = segments + axis->num_segments; in af_latin_hints_compute_edges()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SparseSegmentSumWithNumSegments.pbtxt | 16 name: "num_segments" 25 has size `num_segments`. 42 c, tf.constant([0, 1]), tf.constant([0, 0]), num_segments=3) 50 num_segments=4))
|
D | api_def_SparseSegmentMeanWithNumSegments.pbtxt | 16 name: "num_segments" 25 `num_segments`.
|
D | api_def_UnsortedSegmentSum.pbtxt | 14 `num_segments`. 32 `num_segments` should equal the number of distinct segment IDs.
|
D | api_def_SparseSegmentSqrtNWithNumSegments.pbtxt | 16 name: "num_segments"
|
D | api_def_UnsortedSegmentProd.pbtxt | 14 has size `num_segments`.
|
D | api_def_UnsortedSegmentMin.pbtxt | 14 has size `num_segments`.
|
D | api_def_UnsortedSegmentMax.pbtxt | 14 has size `num_segments`.
|
/external/tensorflow/tensorflow/core/kernels/ |
D | segment_reduction_ops.cc | 368 void operator()(OpKernelContext* ctx, const Index num_segments, in operator ()() 385 OP_REQUIRES(ctx, FastBoundsCheck(j, num_segments), in operator ()() 388 " = ", j, " is out of range [0, ", num_segments, ")")); in operator ()() 436 const Tensor& num_segments) { in UnsortedSegmentReductionValidation() argument 438 context, op_kernel->IsLegacyScalar(num_segments.shape()), in UnsortedSegmentReductionValidation() 440 num_segments.shape().DebugString())); in UnsortedSegmentReductionValidation() 452 const Tensor& num_segments) { in UnsortedSegmentReductionDoValidation() argument 454 num_segments); in UnsortedSegmentReductionDoValidation() 471 const Tensor& num_segments = context->input(2); in Compute() local 473 num_segments)) { in Compute() [all …]
|
D | segment_reduction_ops_gpu.cu.cc | 171 void operator()(OpKernelContext* ctx, const Index num_segments, in operator ()() 198 input_outer_dim_size, input_inner_dim_size, num_segments, in operator ()()
|
D | segment_reduction_ops.h | 55 void operator()(OpKernelContext* ctx, const Index num_segments,
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | segment_reduction_ops.cc | 49 int64 num_segments; in Compile() local 50 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(2, &num_segments)); in Compile() 68 buffer_shape.InsertDim(0, num_segments); in Compile()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emission_utils.cc | 247 int num_segments = CeilOfRatio(bit_width, 32); in EmitShuffleDown() local 251 builder->getIntNTy(32 * num_segments)), in EmitShuffleDown() 252 llvm::VectorType::get(builder->getInt32Ty(), num_segments)); in EmitShuffleDown() 253 for (int i = 0; i < num_segments; ++i) { in EmitShuffleDown() 264 builder->CreateBitCast(x, builder->getIntNTy(32 * num_segments)), in EmitShuffleDown()
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_ops.py | 2558 def _unsorted_segment_N(data, segment_ids, num_segments): argument 2564 N = gen_math_ops.unsorted_segment_sum(ones_tensor, segment_ids, num_segments) 2567 broadcast_shape = [num_segments] + [1] * ndims_output 2573 def unsorted_segment_mean(data, segment_ids, num_segments, name=None): argument 2599 N = _unsorted_segment_N(data, segment_ids, num_segments) 2600 summed = gen_math_ops.unsorted_segment_sum(data, segment_ids, num_segments) 2605 def unsorted_segment_sqrt_n(data, segment_ids, num_segments, name=None): argument 2634 N = _unsorted_segment_N(data, segment_ids, num_segments) 2635 summed = gen_math_ops.unsorted_segment_sum(data, segment_ids, num_segments) 2641 num_segments=None): argument [all …]
|
/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/webp/src/enc/ |
D | quant_enc.c | 244 const int num_segments = enc->segment_hdr_.num_segments_; in SetupMatrices() local 245 for (i = 0; i < num_segments; ++i) { in SetupMatrices() 366 const int num_segments = (enc->segment_hdr_.num_segments_ < NUM_MB_SEGMENTS) in SimplifySegments() local 371 for (s1 = 1; s1 < num_segments; ++s1) { // find similar segments in SimplifySegments() 390 if (num_final_segments < num_segments) { // Remap in SimplifySegments() 395 for (i = num_final_segments; i < num_segments; ++i) { in SimplifySegments() 404 const int num_segments = enc->segment_hdr_.num_segments_; in VP8SetSegmentParams() local 410 for (i = 0; i < num_segments; ++i) { in VP8SetSegmentParams() 424 for (i = num_segments; i < NUM_MB_SEGMENTS; ++i) { in VP8SetSegmentParams() 451 if (num_segments > 1) SimplifySegments(enc); in VP8SetSegmentParams()
|
/external/tensorflow/tensorflow/contrib/signal/python/ops/ |
D | reconstruction_ops.py | 137 num_segments=output_subframes)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | embedding_ops.py | 559 num_segments = array_ops.shape(sp_values)[0] 562 num_segments=num_segments,
|