Skip to content

Commit 03da611

Browse files
authored
Update ir_array.cc
1 parent 70960eb commit 03da611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/compiler/xla/service/llvm_ir/ir_array.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ IrArray::Index IrArray::Index::SourceIndexOfTranspose(
158158
tensorflow::gtl::ArraySlice<int64> dimension_mapping,
159159
llvm::IRBuilder<>* builder) const {
160160
std::vector<llvm::Value*> operand_multidim_index =
161-
Permute<std::vector, llvm::Value*>(dimension_mapping, multidim());
161+
Permute(dimension_mapping, multidim());
162162
if (linear() != nullptr &&
163163
ShapeUtil::TransposeIsBitcast(operand_shape, shape, dimension_mapping)) {
164164
return Index(operand_multidim_index, linear(), operand_shape);

0 commit comments

Comments
 (0)