Searched refs:MultidimensionalIndexToLinearIndex (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/ |
D | index_util_test.cc | 39 IndexUtil::MultidimensionalIndexToLinearIndex(vector_shape, {42})); in TEST() 52 EXPECT_EQ(0, IndexUtil::MultidimensionalIndexToLinearIndex(matrix_shape_01, in TEST() 54 EXPECT_EQ(199, IndexUtil::MultidimensionalIndexToLinearIndex(matrix_shape_01, in TEST() 56 EXPECT_EQ(53, IndexUtil::MultidimensionalIndexToLinearIndex(matrix_shape_01, in TEST() 68 EXPECT_EQ(0, IndexUtil::MultidimensionalIndexToLinearIndex(matrix_shape_10, in TEST() 70 EXPECT_EQ(199, IndexUtil::MultidimensionalIndexToLinearIndex(matrix_shape_10, in TEST() 72 EXPECT_EQ(65, IndexUtil::MultidimensionalIndexToLinearIndex(matrix_shape_10, in TEST() 85 EXPECT_EQ(1957, IndexUtil::MultidimensionalIndexToLinearIndex(shape_210, in TEST() 87 EXPECT_EQ(5277, IndexUtil::MultidimensionalIndexToLinearIndex(shape_210, in TEST() 98 EXPECT_EQ(1945, IndexUtil::MultidimensionalIndexToLinearIndex(shape_120, in TEST() [all …]
|
D | index_util.h | 38 static int64 MultidimensionalIndexToLinearIndex(
|
D | index_util.cc | 28 /* static */ int64 IndexUtil::MultidimensionalIndexToLinearIndex( in MultidimensionalIndexToLinearIndex() function in xla::IndexUtil
|
D | literal.h | 897 return data<NativeT>()[IndexUtil::MultidimensionalIndexToLinearIndex( in Get() 905 data<NativeT>()[IndexUtil::MultidimensionalIndexToLinearIndex( in Set() 1098 IndexUtil::MultidimensionalIndexToLinearIndex(shape(), indexes); in PopulateInternal()
|
D | literal.cc | 217 return IndexUtil::MultidimensionalIndexToLinearIndex(shape, multi_index); in CopySliceFromInternal() 272 const int64 src_linear_index = IndexUtil::MultidimensionalIndexToLinearIndex( in CopyElementFrom() 275 IndexUtil::MultidimensionalIndexToLinearIndex(shape(), dest_index); in CopyElementFrom() 380 dest[IndexUtil::MultidimensionalIndexToLinearIndex(dest_shape, index)] = in CopyElementsBetween() 381 src[IndexUtil::MultidimensionalIndexToLinearIndex(src_shape, index)]; in CopyElementsBetween() 636 int64 dest_index = IndexUtil::MultidimensionalIndexToLinearIndex( in Broadcast() 638 int64 source_index = IndexUtil::MultidimensionalIndexToLinearIndex( in Broadcast()
|
D | shape_util.cc | 1239 IndexUtil::MultidimensionalIndexToLinearIndex(input_shape_dim0_major, in ReshapeIsBitcast() 1247 if (IndexUtil::MultidimensionalIndexToLinearIndex(input_shape, in ReshapeIsBitcast() 1249 IndexUtil::MultidimensionalIndexToLinearIndex(output_shape, in ReshapeIsBitcast()
|
D | literal_comparison.cc | 530 IndexUtil::MultidimensionalIndexToLinearIndex( in CompareLiteralsSlow()
|
D | literal_test.cc | 1186 return IndexUtil::MultidimensionalIndexToLinearIndex(literal.shape(), in TEST_F() 1228 return IndexUtil::MultidimensionalIndexToLinearIndex(literal.shape(), in TEST_F()
|