Home
last modified time | relevance | path

Searched refs:rt_nested_splits (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dragged_tensor_to_sparse_kernel.cc42 std::vector<ConstFlatSplits> rt_nested_splits; in Compute() local
43 rt_nested_splits.reserve(rt_nested_splits_len); in Compute()
45 rt_nested_splits.push_back(rt_nested_splits_in[i].flat<SPLITS_TYPE>()); in Compute()
51 ValidateInputs(rt_nested_splits, rt_dense_values_in)); in Compute()
64 (rt_nested_splits.back()(rt_nested_splits.back().size() - 1) * in Compute()
82 int max_final_pos = rt_nested_splits.back().size() - 1; in Compute()
87 while (IsCompleted(pos, dim, rt_nested_splits)) { in Compute()
94 int start = dim > 0 ? rt_nested_splits[dim - 1](pos[dim - 1]) : 0; in Compute()
99 const auto& final_splits = rt_nested_splits[rt_nested_splits_len - 1]; in Compute()
139 const auto& splits = rt_nested_splits[dim]; in Compute()
[all …]
Dragged_range_op.cc74 auto rt_nested_splits = rt_nested_splits_out->flat<SPLITS_TYPE>(); in Compute() local
75 rt_nested_splits(0) = 0; in Compute()
81 rt_nested_splits(row + 1) = in Compute()
82 rt_nested_splits(row) + RangeSize(start, limit, delta); in Compute()
84 SPLITS_TYPE nvals = rt_nested_splits(nrows); in Compute()
93 SPLITS_TYPE row_size = rt_nested_splits(row + 1) - rt_nested_splits(row); in Compute()
Dragged_tensor_to_sparse_kernel_test.cc40 const std::vector<std::vector<int64>>& rt_nested_splits, in BuildRaggedTensorToSparseGraph() argument
44 int64 num_splits = rt_nested_splits.size(); in BuildRaggedTensorToSparseGraph()
52 for (const auto& splits : rt_nested_splits) { in BuildRaggedTensorToSparseGraph()
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/ragged/
Dragged_range_tflite.cc97 SPLITS_TYPE* rt_nested_splits = in EvalT() local
99 rt_nested_splits[0] = 0; in EvalT()
109 rt_nested_splits[row + 1] = in EvalT()
110 rt_nested_splits[row] + RangeSize<T, SPLITS_TYPE>(start, limit, delta); in EvalT()
112 const SPLITS_TYPE nvals = rt_nested_splits[nrows]; in EvalT()
123 rt_nested_splits[row + 1] - rt_nested_splits[row]; in EvalT()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RaggedRange.pbtxt17 name: "rt_nested_splits"
30 `rt_nested_splits`, such that
34 (rt_nested_splits, rt_dense_values) = ragged_range(
36 result = tf.ragged.from_row_splits(rt_dense_values, rt_nested_splits)
Dapi_def_RaggedTensorToSparse.pbtxt5 name: "rt_nested_splits"
29 The ragged rank of the input RaggedTensor. `rt_nested_splits` should contain
38 input=ragged.from_nested_row_splits(rt_dense_values, rt_nested_splits)
Dapi_def_RaggedTensorToVariant.pbtxt5 name: "rt_nested_splits"
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_value.py76 rt_nested_splits = [self.row_splits]
79 rt_nested_splits.append(rt_values.row_splits)
81 return tuple(rt_nested_splits)
Dragged_conversion_ops.py166 rt_nested_splits=op.outputs[:-1],
Dragged_math_ops.py112 result.rt_dense_values, result.rt_nested_splits, validate=False)
Dragged_tensor.py1032 rt_nested_splits = [self.row_splits]
1035 rt_nested_splits.append(rt_values.row_splits)
1037 return tuple(rt_nested_splits)
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DRaggedTensorToVariant.pbtxt4 name: "rt_nested_splits"
44 name: "rt_nested_splits"
DRaggedTensorToSparse.pbtxt4 name: "rt_nested_splits"
38 name: "rt_nested_splits"
DRaggedRange.pbtxt16 name: "rt_nested_splits"
55 name: "rt_nested_splits"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DRaggedTensorToSparse.pbtxt4 name: "rt_nested_splits"
38 name: "rt_nested_splits"
DRaggedRange.pbtxt16 name: "rt_nested_splits"
55 name: "rt_nested_splits"
DRaggedTensorToVariant.pbtxt4 name: "rt_nested_splits"
/external/tensorflow/tensorflow/go/op/
Dwrappers.go28304 func RaggedTensorToSparse(scope *Scope, rt_nested_splits []tf.Output, rt_dense_values tf.Output) (s…
28311 tf.OutputList(rt_nested_splits), rt_dense_values,
28461 …, limits tf.Output, deltas tf.Output, optional ...RaggedRangeAttr) (rt_nested_splits tf.Output, rt…
42222 func RaggedTensorToVariant(scope *Scope, rt_nested_splits []tf.Output, rt_dense_values tf.Output, b…
42230 tf.OutputList(rt_nested_splits), rt_dense_values,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt3229 …argspec: "args=[\'rt_nested_splits\', \'rt_dense_values\', \'name\'], varargs=None, keywords=None,…
3237 …argspec: "args=[\'rt_nested_splits\', \'rt_dense_values\', \'batched_input\', \'name\'], varargs=N…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt3229 …argspec: "args=[\'rt_nested_splits\', \'rt_dense_values\', \'name\'], varargs=None, keywords=None,…
3237 …argspec: "args=[\'rt_nested_splits\', \'rt_dense_values\', \'batched_input\', \'name\'], varargs=N…
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_generated_ops.td10077 `rt_nested_splits`, such that
10081 (rt_nested_splits, rt_dense_values) = ragged_range(
10083 result = tf.ragged.from_row_splits(rt_dense_values, rt_nested_splits)
10100 Res<TF_I32OrI64Tensor, [{The `row_splits` for the returned `RaggedTensor`.}]>:$rt_nested_splits,
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt34936 name: "rt_nested_splits"
35020 name: "rt_nested_splits"
35125 name: "rt_nested_splits"
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt50590 name: "rt_nested_splits"
50617 name: "rt_nested_splits"