Home
last modified time | relevance | path

Searched refs:lhs_rows (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dbatch_matmul.h76 const int lhs_rows = extended_lhs_shape.Dims(3); in BatchMatMul() local
82 lhs_params.rows = lhs_rows; in BatchMatMul()
92 dst_params.rows = lhs_rows; in BatchMatMul()
106 lhs_rows * rhs_cols; in BatchMatMul()
167 const int lhs_rows = extended_lhs_shape.Dims(3); in BatchMatMul() local
174 const int woff_ext0 = lhs_ext0 == 0 ? 0 : lhs_rows; in BatchMatMul()
175 const int woff_ext1 = lhs_ext1 == 0 ? 0 : lhs_rows; in BatchMatMul()
176 const int woff_ext2 = lhs_ext2 == 0 ? 0 : lhs_rows; in BatchMatMul()
184 lhs_data, row_sums, num_weights_matrices * lhs_rows, accum_depth); in BatchMatMul()
192 lhs_params.rows = lhs_rows; in BatchMatMul()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dbatch_matmul.h76 const int lhs_rows = extended_lhs_shape.Dims(3); in BatchMatMul() local
91 lhs_rows * rhs_cols; in BatchMatMul()
93 for (int i = 0; i < lhs_rows; ++i) { in BatchMatMul()
99 int idx = lhs_rows * j + i; in BatchMatMul()
134 const int lhs_rows = extended_lhs_shape.Dims(3); in BatchMatMul() local
141 const int woff_ext0 = lhs_ext0 == 0 ? 0 : lhs_rows; in BatchMatMul()
142 const int woff_ext1 = lhs_ext1 == 0 ? 0 : lhs_rows; in BatchMatMul()
143 const int woff_ext2 = lhs_ext2 == 0 ? 0 : lhs_rows; in BatchMatMul()
151 lhs_data, row_sums, num_weights_matrices * lhs_rows, accum_depth); in BatchMatMul()
177 lhs_rows * rhs_cols; in BatchMatMul()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_single_threaded_matmul.cc36 tensorflow::int64 lhs_rows = m; in MatMul() local
39 std::swap(lhs_rows, lhs_cols); in MatMul()
48 const Eigen::TensorMap<Eigen::Tensor<const T, 2>, Alignment> A(lhs, lhs_rows, in MatMul()
Druntime_matmul.cc43 tensorflow::int64 lhs_rows = m; in MatMul() local
46 std::swap(lhs_rows, lhs_cols); in MatMul()
55 const Eigen::TensorMap<Eigen::Tensor<const T, 2>, Alignment> A(lhs, lhs_rows, in MatMul()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_batch_matmul_op.cc106 auto lhs_rows = lhs.dim_size(ndims_lhs - 2); in Compute() local
111 if (adj_x_) std::swap(lhs_rows, lhs_cols); in Compute()
119 out_shape.AddDim(lhs_rows); in Compute()
/external/llvm-project/mlir/test/Dialect/Linalg/
Dcodegen-strategy.mlir12 // CHECK-SAME: {lhs_columns = 8 : i32, lhs_rows = 2 : i32, rhs_columns = 4 : i32}
/external/llvm-project/mlir/integration_test/Dialect/Vector/CPU/
Dtest-matrix-multiply-row.mlir43 { lhs_rows = 2: i32, lhs_columns = 2: i32 , rhs_columns = 2: i32 }
Dtest-matrix-multiply-col.mlir43 { lhs_rows = 2: i32, lhs_columns = 2: i32 , rhs_columns = 2: i32 }
/external/llvm-project/mlir/include/mlir/Dialect/Vector/
DVectorOps.td2005 I32Attr:$lhs_rows, I32Attr:$lhs_columns, I32Attr:$rhs_columns)>,
2020 The ‘vector.matrix_multiply’ op treats `lhs` as matrix with <lhs_rows> rows
2033 { lhs_rows = 4: i32, lhs_columns = 16: i32 , rhs_columns = 3: i32 } :
2042 $_state.addAttribute("lhs_rows",$_builder.getI32IntegerAttr(lhsRows));
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMOps.td998 let arguments = (ins LLVM_Type:$lhs, LLVM_Type:$rhs, I32Attr:$lhs_rows,
1003 $lhs, $rhs, $lhs_rows, $lhs_columns,
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier_test.cc5600 int64 lhs_rows = (spec.lcd == 0) ? (spec.k + k_increase) : spec.m; in TEST_P() local
5602 Shape lhs_shape = ShapeUtil::MakeShape(F32, {lhs_rows, lhs_cols}); in TEST_P()
5605 /*from=*/10.0, /*to=*/10000.0, /*rows=*/lhs_rows, in TEST_P()
5670 int64 lhs_rows = (spec.lcd == 0) ? spec.k : spec.m; in TEST_P() local
5672 Shape lhs_shape = ShapeUtil::MakeShape(F32, {lhs_rows, lhs_cols}); in TEST_P()
5675 /*from=*/10.0, /*to=*/10000.0, /*rows=*/lhs_rows, in TEST_P()
/external/llvm-project/mlir/test/Target/
Dllvmir-intrinsics.mlir224 { lhs_rows = 4: i32, lhs_columns = 16: i32 , rhs_columns = 3: i32} :
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp313 adaptor.rhs(), matmulOp.lhs_rows(), matmulOp.lhs_columns(), in matchAndRewrite()
/external/llvm-project/mlir/test/Conversion/VectorToLLVM/
Dvector-to-llvm.mlir834 { lhs_rows = 4: i32, lhs_columns = 16: i32 , rhs_columns = 3: i32 } :
840 // CHECK-SAME: lhs_columns = 16 : i32, lhs_rows = 4 : i32, rhs_columns = 3 : i32
/external/llvm-project/mlir/test/Dialect/Vector/
Dvector-contract-transforms.mlir524 …:.*]] = vector.matrix_multiply %[[a3]], %[[b7]] {lhs_columns = 4 : i32, lhs_rows = 2 : i32, rhs_co…