/external/gemmlowp/public/ |
D | gemmlowp.h | 31 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder, 51 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder, 72 template <typename Scalar, typename BitDepthParams, MapOrder LhsOrder, 73 MapOrder RhsOrder, MapOrder ResultOrder, typename GemmContextType>
|
D | map.h | 27 enum class MapOrder { ColMajor, RowMajor }; enum 31 template <typename tScalar, MapOrder tOrder> 35 static const MapOrder kOrder = tOrder; 47 stride_(kOrder == MapOrder::ColMajor ? rows : cols) {} in MatrixMap() 59 int rows_stride() const { return kOrder == MapOrder::ColMajor ? 1 : stride_; } in rows_stride() 60 int cols_stride() const { return kOrder == MapOrder::RowMajor ? 1 : stride_; } in cols_stride()
|
/external/gemmlowp/eight_bit_int_gemm/ |
D | eight_bit_int_gemm.cc | 84 static const MapOrder ResultOrder = in EightBitIntGemmImpl() 85 transpose_c ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl() 86 static const MapOrder LhsOrder = in EightBitIntGemmImpl() 87 transpose_a ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl() 88 static const MapOrder RhsOrder = in EightBitIntGemmImpl() 89 transpose_b ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmImpl() 119 static const MapOrder ResultOrder = in EightBitIntGemmInt32Impl() 120 transpose_c ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmInt32Impl() 121 static const MapOrder LhsOrder = in EightBitIntGemmInt32Impl() 122 transpose_a ? MapOrder::RowMajor : MapOrder::ColMajor; in EightBitIntGemmInt32Impl() [all …]
|
/external/gemmlowp/test/ |
D | test.cc | 129 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 169 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 206 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 241 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 248 const bool transpose_c = ResultOrder == MapOrder::RowMajor; in Gemm() 249 const bool transpose_a = LhsOrder == MapOrder::RowMajor; in Gemm() 250 const bool transpose_b = RhsOrder == MapOrder::RowMajor; in Gemm() 266 template <MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder> 283 const char* OrderName(MapOrder order) { in OrderName() 284 return order == MapOrder::ColMajor ? "ColMajor" : "RowMajor"; in OrderName() [all …]
|
D | benchmark_all_sizes.cc | 48 template <typename tScalar, MapOrder tOrder> 54 static const MapOrder Order = tOrder; 82 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize() 111 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_8bit() 112 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_8bit() 113 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark_8bit() 163 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_8bit_to_32bit() 164 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_8bit_to_32bit() 165 typedef Matrix<std::int32_t, MapOrder::ColMajor> ResultType; in benchmark_8bit_to_32bit()
|
D | benchmark.cc | 162 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark() 163 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark() 164 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark() 206 typedef Matrix<std::uint8_t, MapOrder::RowMajor> LhsType; in benchmark_gemm_sizes() 207 typedef Matrix<std::uint8_t, MapOrder::ColMajor> RhsType; in benchmark_gemm_sizes() 208 typedef Matrix<std::uint8_t, MapOrder::ColMajor> ResultType; in benchmark_gemm_sizes()
|
D | test.h | 46 template <typename tScalar, MapOrder tOrder> 52 static const MapOrder Order = tOrder; 80 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize()
|
/external/gemmlowp/internal/ |
D | dispatch_gemm_shape.h | 41 template <MapOrder Order> 43 static constexpr MapOrder Value = 44 Order == MapOrder::RowMajor ? MapOrder::ColMajor : MapOrder::RowMajor; 64 template <typename Scalar, MapOrder Order> 67 static constexpr MapOrder TransposedOrder = TransposeMapOrder<Order>::Value; 152 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder,
|
D | unpack.h | 40 MatrixMap<std::int32_t, MapOrder::ColMajor> Map() { in Map() 41 return MatrixMap<std::int32_t, MapOrder::ColMajor>( in Map() 46 MatrixMap<const std::int32_t, MapOrder::ColMajor> Map() const { in Map() 47 return MatrixMap<const std::int32_t, MapOrder::ColMajor>( in Map() 136 ScopedProfilingLabel label(ResultBlockType::kOrder == MapOrder::ColMajor in UnpackResult() 172 if (ResultBlockType::kOrder == MapOrder::RowMajor) { in UnpackResult() 180 MatrixMap<DstScalarType, MapOrder::ColMajor> dst_colmajor_map( in UnpackResult()
|
D | output_neon.h | 193 if (DstType::kOrder == MapOrder::ColMajor) { 213 if (DstType::kOrder == MapOrder::ColMajor) { 228 if (DstType::kOrder == MapOrder::ColMajor) { 263 DstType::kOrder == MapOrder::ColMajor ? src : Transpose(src); 276 if (DstType::kOrder == MapOrder::ColMajor) { 306 if (DstType::kOrder == MapOrder::ColMajor) { 340 if (DstType::kOrder == MapOrder::ColMajor) { 377 if (DstType::kOrder == MapOrder::ColMajor) { 432 if (DstType::kOrder == MapOrder::ColMajor) { 449 if (DstType::kOrder == MapOrder::RowMajor) { [all …]
|
D | single_thread_gemm.h | 63 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder, 64 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
|
D | multi_thread_gemm.h | 435 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder, 436 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset, 605 typename BitDepthParams, MapOrder LhsOrder, MapOrder RhsOrder, 606 MapOrder ResultOrder, typename LhsOffset, typename RhsOffset,
|
D | output_sse.h | 186 if (DstType::kOrder == MapOrder::ColMajor) { 201 if (DstType::kOrder == MapOrder::ColMajor) { 232 if (DstType::kOrder == MapOrder::ColMajor) { 265 if (DstType::kOrder == MapOrder::ColMajor) { 297 if (DstType::kOrder == MapOrder::ColMajor) { 329 if (DstType::kOrder == MapOrder::ColMajor) { 352 if (DstType::kOrder == MapOrder::ColMajor) { 405 if (DstType::kOrder == MapOrder::ColMajor) { 447 if (DstType::kOrder == MapOrder::ColMajor) {
|
D | output_msa.h | 248 if (DstType::kOrder == MapOrder::ColMajor) { 263 if (DstType::kOrder == MapOrder::ColMajor) { 294 if (DstType::kOrder == MapOrder::ColMajor) { 331 if (DstType::kOrder == MapOrder::ColMajor) { 363 if (DstType::kOrder == MapOrder::ColMajor) { 395 if (DstType::kOrder == MapOrder::ColMajor) { 418 if (DstType::kOrder == MapOrder::ColMajor) { 471 if (DstType::kOrder == MapOrder::ColMajor) { 529 if (DstType::kOrder == MapOrder::ColMajor) {
|
D | simd_wrappers_common_neon_sse.h | 26 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 28 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row, 40 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 42 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row, 55 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 57 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row, 71 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 73 const MatrixMap<SrcScalarType, MapOrder::ColMajor>& src, int row,
|
D | compute.h | 67 const MatrixMap<std::int32_t, MapOrder::ColMajor>& packed_result_block) { in MarkPackedResultBlockAsInitialized()
|
D | pack.h | 402 MatrixMapType::kOrder == MapOrder::RowMajor ? SideMapOrder::WidthMajor in PackLhs() 417 MatrixMapType::kOrder == MapOrder::ColMajor ? SideMapOrder::WidthMajor in PackRhs()
|
D | simd_wrappers.h | 293 MatrixMap<SrcScalarType, MapOrder::ColMajor>> { 295 using SrcObjectType = MatrixMap<SrcScalarType, MapOrder::ColMajor>;
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_matmul_op.cc | 41 static const gemmlowp::MapOrder ResultOrder = in GemmlowpMultiply() 42 !TransposeC ? gemmlowp::MapOrder::RowMajor : gemmlowp::MapOrder::ColMajor; in GemmlowpMultiply() 43 static const gemmlowp::MapOrder LhsOrder = in GemmlowpMultiply() 44 !TransposeA ? gemmlowp::MapOrder::RowMajor : gemmlowp::MapOrder::ColMajor; in GemmlowpMultiply() 45 static const gemmlowp::MapOrder RhsOrder = in GemmlowpMultiply() 46 !TransposeB ? gemmlowp::MapOrder::RowMajor : gemmlowp::MapOrder::ColMajor; in GemmlowpMultiply()
|
D | quantized_conv_ops.cc | 409 static const gemmlowp::MapOrder ResultOrder = in operator ()() 410 !transpose_c ? gemmlowp::MapOrder::RowMajor in operator ()() 411 : gemmlowp::MapOrder::ColMajor; in operator ()() 412 static const gemmlowp::MapOrder LhsOrder = in operator ()() 413 !transpose_a ? gemmlowp::MapOrder::RowMajor in operator ()() 414 : gemmlowp::MapOrder::ColMajor; in operator ()() 415 static const gemmlowp::MapOrder RhsOrder = in operator ()() 416 !transpose_b ? gemmlowp::MapOrder::RowMajor in operator ()() 417 : gemmlowp::MapOrder::ColMajor; in operator ()()
|
/external/gemmlowp/doc/ |
D | quantization_example.cc | 26 template <typename tScalar, gemmlowp::MapOrder tOrder> 42 template <gemmlowp::MapOrder tOrder> 114 template <gemmlowp::MapOrder tLhsOrder, gemmlowp::MapOrder tRhsOrder, 115 gemmlowp::MapOrder tResultOrder> 153 template <typename tScalar, gemmlowp::MapOrder tOrder> 181 template <typename tScalar, gemmlowp::MapOrder tOrder> 249 const auto kOrder = gemmlowp::MapOrder::ColMajor; in main()
|
D | public.md | 33 MapOrder LhsOrder, MapOrder RhsOrder, MapOrder ResultOrder,
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 1191 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in FullyConnected() 1193 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 1195 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 1291 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> weights_matrix( in FullyConnected() 1293 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 1295 gemmlowp::MatrixMap<int16, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 2436 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in Conv() 2438 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in Conv() 2440 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in Conv() 2622 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in ConvAsGemm() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 1210 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in FullyConnected() 1212 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 1214 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 1283 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> weights_matrix( in FullyConnected() 1285 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in FullyConnected() 1287 gemmlowp::MatrixMap<int16, gemmlowp::MapOrder::ColMajor> output_matrix( in FullyConnected() 2454 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in Conv() 2456 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in Conv() 2458 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in Conv() 3776 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> in LstmCell() [all …]
|
D | legacy_optimized_ops.h | 767 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::RowMajor> filter_matrix( in ConvAsGemm() 769 gemmlowp::MatrixMap<const uint8, gemmlowp::MapOrder::ColMajor> input_matrix( in ConvAsGemm() 771 gemmlowp::MatrixMap<uint8, gemmlowp::MapOrder::ColMajor> output_matrix( in ConvAsGemm()
|