Home
last modified time | relevance | path

Searched refs:InType (Results 1 – 24 of 24) sorted by relevance

/external/gemmlowp/meta/
Dstreams.h47 template <typename InType>
48 class StreamUtil<InType, RowMajor> {
50 static const InType* Offset(const RowMajor& params, const InType* source, in Offset()
52 return reinterpret_cast<const InType*>( in Offset()
54 offset_stride * params.stride + offset_advance * sizeof(InType)); in Offset()
57 static InType* Offset(const RowMajor& params, InType* source, in Offset()
59 return reinterpret_cast<InType*>(reinterpret_cast<std::uint8_t*>(source) + in Offset()
61 offset_advance * sizeof(InType)); in Offset()
69 template <typename InType>
70 class StreamUtil<InType, RowMajorWithSum> {
[all …]
Dtransform_kernels.h70 template <typename InType, typename OutType, int kernel_size, int leftovers>
71 class Transform1DKernel<InType, OutType, Quantize, kernel_size, leftovers> {
73 static void Transform(const InType* in, const Quantize& params, in Transform()
77 std::cout << "Quantize::Transform(" << std::string(typeid(InType).name()) in Transform()
88 template <typename InType, typename OutType, int kernel_size, int leftovers>
89 class Transform1DKernel<InType, OutType, Dequantize, kernel_size, leftovers> {
91 static void Transform(const InType* in, const Dequantize& params, in Transform()
95 std::cout << "Dequantize::Transform(" << std::string(typeid(InType).name()) in Transform()
106 template <typename InType, typename OutType, int kernel_size, int leftovers>
107 class Transform1DKernel<InType, OutType, Requantize, kernel_size, leftovers> {
[all …]
Dbase.h49 typedef InType_ InType; typedef
64 const InType* lhs;
65 const InType* rhs;
76 template <typename InType, int lanes_count, int pack_size, int leftovers,
80 static void Pack(const InType* in, const StreamParams& params, InType* out);
91 template <typename InType, typename StreamType>
94 static const InType* Offset(const StreamType& params, const InType* source,
100 template <typename InType, typename OutType, typename Kernel,
104 static void Multiply(const InType* lhs, const InType* rhs,
111 typedef InType_ InType; typedef
[all …]
Dsingle_thread_gemm.h34 StreamUtil<typename P::InType, typename P::LeftStream>::Scratch( in EstimateScratchSize()
39 StreamUtil<typename P::InType, typename P::RightStream>::Scratch( in EstimateScratchSize()
48 typedef typename P::InType InType; in ExecuteDispatch3D() typedef
51 typedef Stream<typename P::InType, m, k, k_leftovers, in ExecuteDispatch3D()
54 typedef Stream<typename P::InType, m_leftovers, k, k_leftovers, in ExecuteDispatch3D()
58 typedef Stream<typename P::InType, n, k, k_leftovers, in ExecuteDispatch3D()
61 typedef Stream<typename P::InType, n_leftovers, k, k_leftovers, in ExecuteDispatch3D()
71 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
74 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
78 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
[all …]
Dquantized_mul_kernels.h35 template <typename InType, typename OutType, int m, int n, int k>
36 class MulKernel<InType, OutType, QuantizedStaticPreprocessed, RowMajor, m, n,
41 static void Multiply(const InType* lhs, const InType*, in Multiply() argument
45 std::cout << "MulQSPR(" << typeid(InType).name() << ", " in Multiply()
61 std::cout << "MulQSPR(" << typeid(InType).name() << ", " in Debug()
83 template <typename InType, typename OutType, int m, int n, int k>
84 class MulKernel<InType, OutType, QuantizedStaticPreprocessedAsInt32, RowMajor,
90 static void Multiply(const InType* lhs, const InType*, in Multiply() argument
94 std::cout << "MulQSPI32R(" << typeid(InType).name() << ", " in Multiply()
110 std::cout << "MulQSPI32R(" << typeid(InType).name() << ", " in Debug()
[all …]
Dmulti_thread_gemm.h39 StreamUtil<typename Params::InType, typename Params::LeftStream>::Offset( in PrepareGemmTask()
44 StreamUtil<typename Params::InType, typename Params::RightStream>::Offset( in PrepareGemmTask()
Dsingle_thread_transform.h33 Transform1DKernel<typename P::InType, typename P::OutType, in ExecuteDispatch1D()
Dmulti_thread_transform.h32 typedef Transform1DUtil<typename Params::InType, typename Params::OutType, in PrepareTransform1DTasks()
/external/armnn/src/backends/reference/workloads/
DElementwiseFunction.hpp18 using InType = typename Functor::first_argument_type; typedef
23 Decoder<InType>& inData0,
24 Decoder<InType>& inData1,
32 using InType = typename Functor::argument_type; typedef
36 Decoder<InType>& inData,
44 using InType = bool; typedef
49 Decoder<InType>& inData0,
50 Decoder<InType>& inData1,
58 using InType = bool; typedef
62 Decoder<InType>& inData,
DRefElementwiseUnaryWorkload.cpp56 std::unique_ptr<Decoder<InType>> input = MakeDecoder<InType>(inputInfo, inputs[0]->Map()); in Execute()
59 using AbsFunction = ElementwiseUnaryFunction<abs<InType>>; in Execute()
60 using CeilFunction = ElementwiseUnaryFunction<ceil<InType>>; in Execute()
61 using ExpFunction = ElementwiseUnaryFunction<exp<InType>>; in Execute()
62 using LogFunction = ElementwiseUnaryFunction<log<InType>>; in Execute()
63 using NegFunction = ElementwiseUnaryFunction<std::negate<InType>>; in Execute()
64 using RsqrtFunction = ElementwiseUnaryFunction<rsqrt<InType>>; in Execute()
65 using SinFunction = ElementwiseUnaryFunction<sin<InType>>; in Execute()
66 using SqrtFunction = ElementwiseUnaryFunction<sqrt<InType>>; in Execute()
DRefComparisonWorkload.cpp39 m_Input0 = MakeDecoder<InType>(inputInfo0); in PostAllocationConfigure()
40 m_Input1 = MakeDecoder<InType>(inputInfo1); in PostAllocationConfigure()
74 using EqualFunction = ElementwiseBinaryFunction<std::equal_to<InType>>; in Execute()
75 using GreaterFunction = ElementwiseBinaryFunction<std::greater<InType>>; in Execute()
76 using GreaterOrEqualFunction = ElementwiseBinaryFunction<std::greater_equal<InType>>; in Execute()
77 using LessFunction = ElementwiseBinaryFunction<std::less<InType>>; in Execute()
78 using LessOrEqualFunction = ElementwiseBinaryFunction<std::less_equal<InType>>; in Execute()
79 using NotEqualFunction = ElementwiseBinaryFunction<std::not_equal_to<InType>>; in Execute()
DElementwiseFunction.cpp26 Decoder<InType>& inData0, in ElementwiseBinaryFunction()
27 Decoder<InType>& inData1, in ElementwiseBinaryFunction()
36 Decoder<InType>& inData, in ElementwiseUnaryFunction()
46 Decoder<InType>& inData0, in LogicalBinaryFunction()
47 Decoder<InType>& inData1, in LogicalBinaryFunction()
56 Decoder<InType>& inData, in LogicalUnaryFunction()
DRefLogicalBinaryWorkload.cpp48 std::unique_ptr<Decoder<InType>> input0 = MakeDecoder<InType>(inputInfo0, inputs[0]->Map()); in Execute()
49 std::unique_ptr<Decoder<InType>> input1 = MakeDecoder<InType>(inputInfo1, inputs[1]->Map()); in Execute()
DRefComparisonWorkload.hpp29 using InType = float; typedef in armnn::RefComparisonWorkload
32 std::unique_ptr<Decoder<InType>> m_Input0;
33 std::unique_ptr<Decoder<InType>> m_Input1;
DRefElementwiseWorkload.cpp55 std::unique_ptr<Decoder<InType>> input0 = MakeDecoder<InType>(inputInfo0, inputs[0]->Map()); in Execute()
56 std::unique_ptr<Decoder<InType>> input1 = MakeDecoder<InType>(inputInfo1, inputs[1]->Map()); in Execute()
DRefLogicalUnaryWorkload.cpp46 std::unique_ptr<Decoder<InType>> input = MakeDecoder<InType>(inputInfo, inputs[0]->Map()); in Execute()
DRefElementwiseWorkload.hpp29 using InType = typename ElementwiseBinaryFunction<Functor>::InType; typedef in armnn::RefElementwiseWorkload
DRefLogicalBinaryWorkload.hpp27 using InType = bool; typedef in armnn::RefLogicalBinaryWorkload
DRefLogicalUnaryWorkload.hpp27 using InType = bool; typedef in armnn::RefLogicalUnaryWorkload
DRefElementwiseUnaryWorkload.hpp27 using InType = float; typedef in armnn::RefElementwiseUnaryWorkload
/external/XNNPACK/bench/
Dutils.h37 template<class InType, class OutType>
48 const size_t elementwise_size = sizeof(InType) + sizeof(OutType); in UnaryElementwiseParameters()
58 template<class InType, class OutType>
69 const size_t elementwise_size = 2 * sizeof(InType) + sizeof(OutType); in BinaryElementwiseParameters()
/external/angle/src/libANGLE/
Dqueryconversions.h90 template <typename InType, typename OutType>
91 void ConvertGLenumValue(InType param, OutType *out)
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc916 template <typename InType, typename OutType, typename Functor>
919 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype()}; in Types()
926 auto x = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i0); in Call()
934 template <typename InType, typename OutType, typename OutType2,
938 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype(), in Types()
947 auto x = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i0); in Call()
958 template <typename InType, typename OutType, typename Functor>
961 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<InType>::Dtype(), in Types()
970 auto x = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i0); in Call()
971 auto y = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i1); in Call()
[all …]
/external/armnn/src/backends/backendsCommon/test/layerTests/
DComparisonTestImpl.cpp26 typename InType = armnn::ResolveType<ArmnnInType>>
33 std::vector<InType> values0, in ComparisonTestImpl()
37 std::vector<InType> values1, in ComparisonTestImpl()
93 typename InType = armnn::ResolveType<ArmnnInType>>
100 std::vector<InType> values0, in ComparisonTestImpl()
102 std::vector<InType> values1, in ComparisonTestImpl()