/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_segment_op_test.py | 84 (ragged_math_ops.segment_sum, sum, [0, 0, 1, 1, 2, 2]), 85 (ragged_math_ops.segment_sum, sum, [0, 0, 0, 1, 1, 1]), 86 (ragged_math_ops.segment_sum, sum, [5, 4, 3, 2, 1, 0]), 87 (ragged_math_ops.segment_sum, sum, [0, 0, 0, 10, 10, 10]), 116 (ragged_math_ops.segment_sum, sum, [0, 0, 1, 1, 2, 2]), 117 (ragged_math_ops.segment_sum, sum, [0, 0, 0, 1, 1, 1]), 118 (ragged_math_ops.segment_sum, sum, [5, 4, 3, 2, 1, 0]), 119 (ragged_math_ops.segment_sum, sum, [0, 0, 0, 10, 10, 10]), 159 segmented1 = ragged_math_ops.segment_sum(rt, segment_ids1, 3) 167 segmented2 = ragged_math_ops.segment_sum(rt, segment_ids2, 3) [all …]
|
D | ragged_math_ops.py | 264 def segment_sum(data, segment_ids, num_segments, name=None): function 308 total = segment_sum(data, segment_ids, num_segments) 313 count = segment_sum(ones, segment_ids, num_segments) 324 total = segment_sum(data, segment_ids, num_segments) 329 count = segment_sum(ones, segment_ids, num_segments) 342 _set_ragged_segment_docstring(segment_sum, 'sum', 'summed')
|
D | ragged_dispatch.py | 505 (math_ops.unsorted_segment_sum, ragged_math_ops.segment_sum,
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_SegmentSum.pbtxt | 4 name: "math.segment_sum" 7 name: "segment_sum"
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | segment_sum.cc | 27 namespace segment_sum { namespace 129 static TfLiteRegistration r = {nullptr, nullptr, segment_sum::Prepare, in Register_SEGMENT_SUM() 130 segment_sum::Eval}; in Register_SEGMENT_SUM()
|
D | Android.bp | 142 "segment_sum.cc",
|
D | BUILD | 617 "segment_sum.cc",
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | segment_reduction_ops_test.py | 97 ops_list = [(np.add, None, math_ops.segment_sum), 105 complex_ops_list = [(np.add, None, math_ops.segment_sum), 138 math_ops.segment_sum(data=tf_x, segment_ids=indices) 147 s = math_ops.segment_sum(data=tf_x, segment_ids=indices) 159 result = math_ops.segment_sum(data=tf_x, segment_ids=indices).eval() 169 s = math_ops.segment_sum(data=tf_x, segment_ids=indices) 180 s = math_ops.segment_sum(data=tf_x, segment_ids=indices) 190 s = math_ops.segment_sum(data=tf_x, segment_ids=indices) 202 s = math_ops.segment_sum(data=tf_x, segment_ids=indices) 212 s = math_ops.segment_sum(data=tf_x, segment_ids=indices) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | embedding_ops.py | 544 embeddings = math_ops.segment_sum(embeddings, segment_ids, name=name) 546 embeddings = math_ops.segment_sum(embeddings, segment_ids) 547 weight_sum = math_ops.segment_sum(weights, segment_ids) 550 embeddings = math_ops.segment_sum(embeddings, segment_ids) 552 weight_sum = math_ops.segment_sum(weights_squared, segment_ids)
|
D | math_grad.py | 336 scaled_grad = math_ops.divide(grad, math_ops.segment_sum(ones, op.inputs[1])) 396 num_selected = math_ops.segment_sum( 437 num_zeros = gen_math_ops.segment_sum(
|
D | control_flow_ops_test.py | 271 dynamic_grads = math_ops.segment_sum(dynamic_grads.values, 279 static_grads = math_ops.segment_sum(static_grads.values,
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SparseSegmentSqrtN.pbtxt | 26 See `tf.sparse.segment_sum` for usage examples.
|
D | api_def_SparseSegmentMean.pbtxt | 24 See `tf.sparse.segment_sum` for usage examples.
|
D | api_def_SegmentSum.pbtxt | 37 tf.segment_sum(c, tf.constant([0, 0, 1]))
|
D | api_def_SparseSegmentSum.pbtxt | 51 tf.segment_sum(c, tf.constant([0, 0, 1]))
|
/external/tensorflow/tensorflow/security/advisory/ |
D | tfsa-2020-003.md | 12 …flow/blob/0e68f4d3295eb0281a517c3662f6698992b7b2cf/tensorflow/lite/kernels/segment_sum.cc#L39-L48):
|
D | tfsa-2020-002.md | 11 …flow/blob/0e68f4d3295eb0281a517c3662f6698992b7b2cf/tensorflow/lite/kernels/segment_sum.cc#L39-L44):
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.sparse.pbtxt | 92 name: "segment_sum"
|
D | tensorflow.math.pbtxt | 412 name: "segment_sum"
|
/external/tensorflow/tensorflow/python/distribute/ |
D | tpu_strategy_test.py | 710 segment_sum = math_ops.unsorted_segment_sum( 712 return sparse, segment_sum 760 segment_sum = math_ops.unsorted_segment_sum( 762 return {"sparse": sparse, "segment_sum": segment_sum}
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.sparse.pbtxt | 112 name: "segment_sum"
|
D | tensorflow.math.pbtxt | 412 name: "segment_sum"
|
D | tensorflow.pbtxt | 2064 name: "segment_sum"
|
/external/tensorflow/tensorflow/lite/ |
D | tflite_static.bp | 125 "kernels/segment_sum.cc",
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/ |
D | legalize-tf.mlir | 1975 // CHECK: "tfl.segment_sum"(%arg0, %arg1) : (tensor<3x3xf32>, tensor<i32>) -> tensor<*xf32> 1983 // CHECK: "tfl.segment_sum"
|