/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | cross_op.cc | 50 std::vector<int64> starts(in0_shape.dims(), 0); in Compile() local 60 starts.back() = 0; in Compile() 62 auto u1 = xla::Slice(in0, starts, limits, strides); in Compile() 63 auto v1 = xla::Slice(in1, starts, limits, strides); in Compile() 64 starts.back() = 1; in Compile() 66 auto u2 = xla::Slice(in0, starts, limits, strides); in Compile() 67 auto v2 = xla::Slice(in1, starts, limits, strides); in Compile() 68 starts.back() = 2; in Compile() 70 auto u3 = xla::Slice(in0, starts, limits, strides); in Compile() 71 auto v3 = xla::Slice(in1, starts, limits, strides); in Compile()
|
/external/tensorflow/tensorflow/core/ops/ |
D | ragged_math_ops.cc | 46 ShapeHandle starts = c->input(0); in RaggedRangeShapeFn() local 49 TF_RETURN_IF_ERROR(c->WithRankAtMost(starts, 1, &starts)); in RaggedRangeShapeFn() 55 if (c->Rank(starts) == 1) { in RaggedRangeShapeFn() 56 TF_RETURN_IF_ERROR(c->Merge(c->Dim(starts, 0), dim, &dim)); in RaggedRangeShapeFn() 69 } else if (c->Rank(starts) == 0 && c->Rank(limits) == 0 && in RaggedRangeShapeFn()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
D | MultiStartDifferentiableMultivariateRealOptimizer.java | 62 private int starts; field in MultiStartDifferentiableMultivariateRealOptimizer 79 final int starts, in MultiStartDifferentiableMultivariateRealOptimizer() argument 85 this.starts = starts; in MultiStartDifferentiableMultivariateRealOptimizer() 177 optima = new RealPointValuePair[starts]; in optimize() 183 for (int i = 0; i < starts; ++i) { in optimize() 220 starts); in optimize()
|
D | MultiStartMultivariateRealOptimizer.java | 59 private int starts; field in MultiStartMultivariateRealOptimizer 76 final int starts, in MultiStartMultivariateRealOptimizer() argument 81 this.starts = starts; in MultiStartMultivariateRealOptimizer() 167 optima = new RealPointValuePair[starts]; in optimize() 172 for (int i = 0; i < starts; ++i) { in optimize() 208 starts); in optimize()
|
D | MultiStartDifferentiableMultivariateVectorialOptimizer.java | 65 private int starts; field in MultiStartDifferentiableMultivariateVectorialOptimizer 83 final int starts, in MultiStartDifferentiableMultivariateVectorialOptimizer() argument 89 this.starts = starts; in MultiStartDifferentiableMultivariateVectorialOptimizer() 181 optima = new VectorialPointValuePair[starts]; in optimize() 187 for (int i = 0; i < starts; ++i) { in optimize() 230 starts); in optimize()
|
D | MultiStartUnivariateRealOptimizer.java | 60 private int starts; field in MultiStartUnivariateRealOptimizer 80 final int starts, in MultiStartUnivariateRealOptimizer() argument 84 this.starts = starts; in MultiStartUnivariateRealOptimizer() 231 optima = new double[starts]; in optimize() 232 optimaValues = new double[starts]; in optimize() 237 for (int i = 0; i < starts; ++i) { in optimize() 304 starts); in optimize()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | reference_util.h | 343 std::array<int64, 2> starts, in Slice2D() argument 346 CHECK_LE(starts[0], input.n1()); in Slice2D() 347 CHECK_LE(starts[1], input.n2()); in Slice2D() 353 CeilOfRatio(limits[0] - starts[0], strides[0]), in Slice2D() 354 CeilOfRatio(limits[1] - starts[1], strides[1])); in Slice2D() 358 input(starts[0] + i0 * strides[0], starts[1] + i1 * strides[1]); in Slice2D() 366 std::array<int64, 3> starts, in Slice3D() argument 369 CHECK_LE(starts[0], input.n1()); in Slice3D() 370 CHECK_LE(starts[1], input.n2()); in Slice3D() 371 CHECK_LE(starts[2], input.n3()); in Slice3D() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RaggedRange.pbtxt | 5 name: "starts" 6 description: "The starts of each range." 31 `result[i] = range(starts[i], limits[i], deltas[i])`. 35 ... starts=[2, 5, 8], limits=[3, 5, 12], deltas=1) 43 The input tensors `starts`, `limits`, and `deltas` may be scalars or vectors.
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_getitem.py | 152 starts = rt_input.row_splits[:-1] 171 if int(row_key) >= len(starts): 175 row = rt_input.values[starts[row_key]:limits[row_key]] 330 def _build_ragged_tensor_from_value_ranges(starts, limits, step, values): argument 365 value_indices = ragged_math_ops.range(starts, limits, step) 379 def _add_offset_to_ranges(offset, starts, limits): argument 395 return math_ops.minimum(starts + offset, limits) 398 return math_ops.maximum(limits + offset, starts)
|
D | ragged_math_ops.py | 42 def range(starts, limits=None, deltas=1, dtype=None, name=None): argument 89 starts, limits = 0, starts 91 with ops.name_scope(name, 'RaggedRange', [starts, limits, deltas]) as name: 92 starts = ops.convert_to_tensor(starts, dtype=dtype, name='starts') 98 starts, limits, deltas = _infer_matching_dtype( 99 [starts, limits, deltas], 102 result = gen_ragged_math_ops.ragged_range(starts, limits, deltas, name=name)
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | slicing.cc | 95 XlaOp x, absl::Span<const XlaOp> starts) { in PrependZerosInMajorDims() argument 101 for (int i = 0; i < starts.size(); ++i) { in PrependZerosInMajorDims() 102 padded_starts[n_dims - starts.size() + i] = starts[i]; in PrependZerosInMajorDims() 109 XlaOp DynamicSliceInMinorDims(XlaOp x, absl::Span<const XlaOp> starts, in DynamicSliceInMinorDims() argument 115 int64 n_minor_dims = starts.size(); in DynamicSliceInMinorDims() 122 TF_ASSIGN_OR_RETURN(auto padded_starts, PrependZerosInMajorDims(x, starts)); in DynamicSliceInMinorDims() 129 absl::Span<const XlaOp> starts) { in DynamicUpdateSliceInMinorDims() argument 132 TF_ASSIGN_OR_RETURN(auto padded_starts, PrependZerosInMajorDims(x, starts)); in DynamicUpdateSliceInMinorDims()
|
/external/perfetto/ui/src/tracks/thread_state/ |
D | frontend.ts | 66 for (let i = 0; i < data.starts.length; i++) { 67 const tStart = data.starts[i]; 100 const [startIndex, endIndex] = searchEq(data.starts, selection.ts); 102 const tStart = data.starts[startIndex]; 123 const index = search(data.starts, time); 124 const ts = index === -1 ? undefined : data.starts[index];
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | dynamic_ops_test.cc | 137 XlaOp starts; in RunR1() local 139 slice_starts[0], 0, "slice_starts", &builder, &starts); in RunR1() 142 DynamicSlice(input, absl::Span<const XlaOp>({starts}), slice_sizes); in RunR1() 163 std::vector<XlaOp> starts(2); in RunR2() local 167 slice_starts[i], i, "slice_starts", &builder, &starts[i]); in RunR2() 172 DynamicSlice(input, starts, slice_sizes); in RunR2() 198 std::vector<XlaOp> starts(3); in RunR3() local 202 slice_starts[i], i, "slice_starts", &builder, &starts[i]); in RunR3() 206 DynamicSlice(input, starts, slice_sizes); in RunR3() 420 XlaOp starts; in RunR1() local [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | scale_and_translate_op.cc | 69 &spans->starts, alloc_attr)); in ComputeSpansCore() 70 auto starts_vec = spans->starts.vec<int32>(); in ComputeSpansCore() 134 auto starts_vec = spans.starts.vec<int32>(); in ComputeGradSpansCore() 161 &grad_spans->starts, alloc_attr)); in ComputeGradSpansCore() 162 auto grad_starts_vec = grad_spans->starts.vec<int32>(); in ComputeGradSpansCore() 358 const_row_spans.starts.tensor<int32, 1>()); in Compute() 363 const_col_spans.starts.tensor<int32, 1>()); in Compute() 463 const_row_spans.starts.tensor<int32, 1>(); in Compute() 468 const_col_spans.starts.tensor<int32, 1>()); in Compute() 483 void GatherColumns(int span_size, const int32* starts, const float* weights, in GatherColumns() argument [all …]
|
D | ragged_range_op.cc | 65 const auto& starts = starts_in.flat<T>(); in Compute() local 77 T start = broadcast_starts ? starts(0) : starts(row); in Compute() 94 T value = broadcast_starts ? starts(0) : starts(row); in Compute()
|
/external/bcc/examples/lua/ |
D | tracepoint-offcputime.lua | 25 local starts = assert(bpf.map('hash', 128, ffi.typeof('uint32_t'), ffi.typeof('uint64_t'))) 34 starts[pid] = now 37 local from = starts[pid] 42 starts[pid] = nil
|
/external/grpc-grpc/test/core/profiling/ |
D | mark_timings.stp | 8 global starts, times, times_per_tag variable 11 starts[$arg1, tid()] = gettimeofday_ns(); 17 if (s = starts[tag, tid()]) { 19 delete starts[tag, tid()];
|
/external/harfbuzz_ng/src/ |
D | gen-indic-table.py | 187 starts = [] variable 208 offset += ends[-1] - starts[-1] 212 starts.append (start) 217 offset += ends[-1] - starts[-1] 229 pages = set ([u>>page_bits for u in starts+ends+list (singles.keys ())]) 235 for (start,end) in zip (starts, ends):
|
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 114 assertTrue(data.starts.length === data.ends.length); 115 assertTrue(data.starts.length === data.utids.length); 121 for (let i = 0; i < data.starts.length; i++) { 122 const tStart = data.starts[i]; 189 const tStart = data.starts[startIndex]; 284 for (let i = 0; i < data.starts.length; i++) { 285 const tStart = data.starts[i]; 310 const index = search(data.starts, time);
|
/external/perfetto/ui/src/tracks/process_scheduling/ |
D | frontend.ts | 109 assertTrue(data.starts.length === data.ends.length); 110 assertTrue(data.starts.length === data.utids.length); 114 for (let i = 0; i < data.starts.length; i++) { 115 const tStart = data.starts[i]; 191 const [i, j] = searchRange(data.starts, t, searchEq(data.cpus, cpu)); 192 if (i === j || i >= data.starts.length || t > data.ends[i]) {
|
/external/autotest/client/cros/ |
D | cros_logging.py | 72 starts = [] 77 starts.append(line_number) 79 if index < -len(starts): 81 elif index >= len(starts): 84 self._start_line = starts[index]
|
/external/perfetto/ui/src/tracks/chrome_slices/ |
D | frontend.ts | 81 for (let i = 0; i < data.starts.length; i++) { 82 const tStart = data.starts[i]; 118 for (let i = 0; i < data.starts.length; i++) { 119 const tStart = data.starts[i];
|
/external/ltp/pan/ |
D | ltp-pan.c | 173 int starts = -1; in main() local 259 starts = atoi(optarg); in main() 398 if (timed == 1 && starts == -1) { /* timed, infinite by default */ in main() 399 starts = -1; in main() 400 } else if (starts == -1) { in main() 402 starts = coll->cnt; in main() 404 starts = 1; in main() 406 } else if (starts == 0) { /* if the user specified infinite, set it */ in main() 407 starts = -1; in main() 409 if (starts < keep_active) in main() [all …]
|
/external/skqp/tools/lua/ |
D | paths.lua | 47 function string.starts(String,Start) function 68 if (string.starts(t.verb, "draw")) then 72 if (string.starts(t.verb, "clip")) then
|
/external/skia/tools/lua/ |
D | paths.lua | 47 function string.starts(String,Start) function 68 if (string.starts(t.verb, "draw")) then 72 if (string.starts(t.verb, "clip")) then
|