Home
last modified time | relevance | path

Searched refs:dim_map (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/tests/
Dtest_utils.py42 dim_map = {d: i for i, d in enumerate(data_format_src)}
43 transpose_dims = [dim_map[d] for d in data_format_dst]
63 dim_map = {d: i for i, d in enumerate(data_format_src)}
64 permuted_dims = [dims[dim_map[d]] for d in data_format_dst]
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc1306 absl::InlinedVector<int64, 8> dim_map; in AlignLayouts() local
1307 dim_map.reserve(simple_output_shape->rank()); in AlignLayouts()
1310 dim_map.push_back(i); in AlignLayouts()
1314 d = dim_map[d]; in AlignLayouts()