Home
last modified time | relevance | path

Searched refs:indices_nd (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dgather_nd_op.h64 const int64 indices_nd = indices_shape.dim_size(indices_shape.dims() - 1); in DoGatherNd() local
97 for (Index i = indices_nd; i < total_nd; ++i) { in DoGatherNd()
132 switch (indices_nd) { in DoGatherNd()
153 indices_nd); in DoGatherNd()
163 gtl::ArraySlice<Index>(&indices_mat(bad_i, 0), indices_nd), ", "), in DoGatherNd()
/external/tensorflow/tensorflow/lite/kernels/
Dgather_nd.cc72 const int indices_nd = SizeOfDimension(indices, indices_rank - 1); in Prepare() local
81 if (indices_nd > params_rank) { in Prepare()
92 const int output_rank = indices_rank + params_rank - indices_nd - 1; in Prepare()
98 for (int i = indices_nd; i < params_rank; ++i) { in Prepare()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h1063 int indices_nd; member
1074 ret.indices_nd = indices_shape.Dims(indices_dims - 1); in GatherNdHelper()
1079 for (int i = ret.indices_nd; i < params_dims; ++i) { in GatherNdHelper()
1084 ret.dims_to_count = std::vector<int>(ret.indices_nd, 0); in GatherNdHelper()
1085 for (int i = 0; i < ret.indices_nd; ++i) { in GatherNdHelper()
1104 for (int j = 0; j < res.indices_nd; ++j) { in GatherNd()
1105 from_pos += indices_data[i * res.indices_nd + j] * res.dims_to_count[j]; in GatherNd()
1126 for (int j = 0; j < res.indices_nd; ++j) { in GatherNdString()
1127 from_pos += indices_data[i * res.indices_nd + j] * res.dims_to_count[j]; in GatherNdString()
1148 const int indices_nd = indices_shape.Dims(outer_dims); in ScatterNd() local
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc1452 const int indices_nd = in ProcessGatherNdOperator() local
1454 QCHECK_LE(indices_nd, input_shape.dimensions_count()); in ProcessGatherNdOperator()
1460 for (int dim = indices_nd; dim < input_shape.dimensions_count(); ++dim) { in ProcessGatherNdOperator()