Home
last modified time | relevance | path

Searched refs:OutType (Results 1 – 23 of 23) sorted by relevance

/external/gemmlowp/meta/
Dtransform_kernels.h70 template <typename InType, typename OutType, int kernel_size, int leftovers>
71 class Transform1DKernel<InType, OutType, Quantize, kernel_size, leftovers> {
74 OutType* output) { in Transform()
78 << ", " << std::string(typeid(OutType).name()) << ") -- " in Transform()
88 template <typename InType, typename OutType, int kernel_size, int leftovers>
89 class Transform1DKernel<InType, OutType, Dequantize, kernel_size, leftovers> {
92 OutType* output) { in Transform()
96 << ", " << std::string(typeid(OutType).name()) << ") -- " in Transform()
106 template <typename InType, typename OutType, int kernel_size, int leftovers>
107 class Transform1DKernel<InType, OutType, Requantize, kernel_size, leftovers> {
[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,
42 const FusedKernel& params, OutType* result) { in Multiply()
46 << typeid(OutType).name() << ")::Multiply() -- " << m << "x" << n in Multiply()
62 << typeid(OutType).name() << ") -- " << m << "x" << n << "x" << k in Debug()
83 template <typename InType, typename OutType, int m, int n, int k>
84 class MulKernel<InType, OutType, QuantizedStaticPreprocessedAsInt32, RowMajor,
91 const FusedKernel& params, OutType* result) { in Multiply()
95 << typeid(OutType).name() << ")::Multiply() -- " << m << "x" << n in Multiply()
111 << typeid(OutType).name() << ") -- " << m << "x" << n << "x" << k in Debug()
[all …]
Dbase.h50 typedef OutType_ OutType; typedef
66 OutType* result;
100 template <typename InType, typename OutType, typename Kernel,
106 OutType* result);
112 typedef OutType_ OutType; typedef
116 OutType* output;
122 template <typename InType, typename OutType, typename Kernel, int kernel_size,
127 OutType* output);
130 template <typename InType, typename OutType, typename Transform>
138 static OutType* OffsetOutput(const Transform& params, OutType* output,
Dsingle_thread_gemm.h49 typedef typename P::OutType OutType; in ExecuteDispatch3D() typedef
65 typedef Stream<typename P::OutType, m, n, 0, typename P::OutputStream> in ExecuteDispatch3D()
67 typedef Stream<typename P::OutType, m_leftovers, n, 0, 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()
82 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
171 reinterpret_cast<OutType*>(result_chunk)); in ExecuteDispatch3D()
180 reinterpret_cast<OutType*>(result_chunk)); in ExecuteDispatch3D()
203 reinterpret_cast<OutType*>(result_chunk)); in ExecuteDispatch3D()
[all …]
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()
Dmulti_thread_gemm.h48 StreamUtil<typename Params::OutType, typename Params::OutputStream>:: in PrepareGemmTask()
/external/tensorflow/tensorflow/core/kernels/
Dsearchsorted_op_gpu.cu.cc33 template <typename T, typename OutType>
37 OutType* __restrict__ outputs) { in UpperBoundKernel()
41 outputs[work_unit_id] = gpu_helper::upper_bound<T, OutType>( in UpperBoundKernel()
46 template <typename T, typename OutType>
50 OutType* __restrict__ outputs) { in LowerBoundKernel()
54 outputs[work_unit_id] = gpu_helper::lower_bound<T, OutType>( in LowerBoundKernel()
61 template <typename T, typename OutType>
62 struct UpperBoundFunctor<GPUDevice, T, OutType> {
67 typename TTypes<OutType, 1>::Tensor* output) { in Compute()
72 UpperBoundKernel<T, OutType>, config.block_count, in Compute()
[all …]
Dsearchsorted_op.cc33 template <typename T, typename OutType>
34 struct UpperBoundFunctor<CPUDevice, T, OutType> {
39 typename TTypes<OutType, 1>::Tensor* output) { in Compute()
43 OutType* output_ptr = output->data() + b * num_values; in Compute()
56 template <typename T, typename OutType>
57 struct LowerBoundFunctor<CPUDevice, T, OutType> {
62 typename TTypes<OutType, 1>::Tensor* output) { in Compute()
66 OutType* output_ptr = output->data() + b * num_values; in Compute()
80 template <typename Device, typename T, typename OutType>
111 auto output = output_t->template flat<OutType>(); in Compute()
[all …]
Dsearchsorted_op.h28 template <typename Device, typename T, typename OutType>
36 typename TTypes<OutType, 1>::Tensor* output);
39 template <typename Device, typename T, typename OutType>
47 typename TTypes<OutType, 1>::Tensor* output);
Dshape_ops.h39 template <typename OutType>
50 auto vec = out->vec<OutType>(); in Compute()
59 vec(i) = static_cast<OutType>(dim_size); in Compute()
66 template <typename OutType>
78 auto vec = out->vec<OutType>(); in Compute()
88 vec(j) = static_cast<OutType>(dim_size); in Compute()
112 template <typename OutType>
129 out->scalar<OutType>()() = static_cast<OutType>(size); in Compute()
Dsparse_cross_op.cc139 template <typename OutType>
149 const OutType& cross) const { in Update()
156 auto value_vec = values_out_->vec<OutType>(); in Update()
/external/libaom/libaom/test/
Dtransform_test_base.h40 template <typename OutType>
46 virtual void RunFwdTxfm(const int16_t *in, OutType *out, int stride) = 0;
48 virtual void RunInvTxfm(const OutType *out, uint8_t *dst, int stride) = 0;
58 OutType *test_temp_block = reinterpret_cast<OutType *>( in RunAccuracyCheck()
129 OutType *output_ref_block = reinterpret_cast<OutType *>( in RunCoeffCheck()
131 OutType *output_block = reinterpret_cast<OutType *>( in RunCoeffCheck()
178 OutType *trans_block = reinterpret_cast<OutType *>( in RunInvCoeffCheck()
224 OutType *output_ref_block = reinterpret_cast<OutType *>( in RunMemCheck()
226 OutType *output_block = reinterpret_cast<OutType *>( in RunMemCheck()
266 OutType *coeff = reinterpret_cast<OutType *>( in RunInvAccuracyCheck()
[all …]
/external/angle/src/libANGLE/
Dqueryconversions.h84 template <typename OutType>
85 OutType ConvertGLenum(GLenum param)
87 return static_cast<OutType>(param);
90 template <typename InType, typename OutType>
91 void ConvertGLenumValue(InType param, OutType *out)
93 *out = ConvertGLenum<OutType>(static_cast<GLenum>(param));
96 template <typename PackedEnumType, typename OutType>
97 void ConvertPackedEnum(PackedEnumType param, OutType *out)
99 *out = static_cast<OutType>(ToGLenum(param));
/external/tensorflow/tensorflow/core/util/
Dgpu_kernel_helper.h200 template <typename T, typename OutType = int32>
201 __device__ OutType upper_bound(const T* first, OutType count, T val) { in upper_bound()
204 OutType step = 0; in upper_bound()
220 template <typename T, typename OutType = int32>
221 __device__ OutType lower_bound(const T* first, OutType count, T val) { in lower_bound()
224 OutType step = 0; in lower_bound()
/external/tensorflow/tensorflow/lite/kernels/
Dshape.cc29 template <typename OutType>
30 void ExtractShape(const TfLiteTensor* input, OutType* output_data) { in ExtractShape()
/external/tensorflow/tensorflow/compiler/xla/python/
Dbfloat16.cc746 template <typename InType, typename OutType, typename Functor>
749 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype()}; in Types()
757 *reinterpret_cast<typename TypeDescriptor<OutType>::T*>(o) = Functor()(x); in Call()
764 template <typename InType, typename OutType, typename OutType2,
768 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype(), in Types()
778 std::tie(*reinterpret_cast<typename TypeDescriptor<OutType>::T*>(o0), in Call()
788 template <typename InType, typename OutType, typename Functor>
792 TypeDescriptor<OutType>::Dtype()}; in Types()
802 *reinterpret_cast<typename TypeDescriptor<OutType>::T*>(o) = in Call()
811 template <typename InType, typename InType2, typename OutType, typename Functor>
[all …]
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc492 template <typename InType, typename OutType, typename Functor>
501 *reinterpret_cast<OutType*>(o) = Functor()(x, y); in BinaryUFunc()
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dinvoke_helpers.h68 typedef typename apply<T>::type OutType; in operator() typedef
69 return static_cast<OutType>(obj); in operator()
/external/tensorflow/tensorflow/compiler/jit/
Dincrease_dynamism_for_auto_jit_pass.cc192 ops::Shape::OutType(DT_INT64)); in ComputeSliceSize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp1291 RecTy *OutType; in ParseOperation() local
1293 OutType = InEltType; in ParseOperation()
1300 OutType = RHSt->getType()->getListTy(); in ParseOperation()
1303 return (TernOpInit::get(TernOpInit::FOREACH, LHS, MHS, RHS, OutType)) in ParseOperation()
/external/tensorflow/tensorflow/cc/gradients/
Dnn_grad.cc375 scope, Shape(scope, op.input(0), Shape::OutType(DT_INT64)), in FractionalAvgPoolGradHelper()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner_test.cc492 auto attrs = ops::Shape::OutType(DT_INT64); in TEST_F()
612 auto attrs = ops::Size::OutType(DT_INT64); in TEST_F()