Home
last modified time | relevance | path

Searched refs:Toutput (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_qmatmul_op.cc114 typename Toutput>
115 class MklDnnQuantizedMatMulOp : public MklDnnMatMulOpBase<Tweight, Toutput> {
140 : MklDnnMatMulOpBase<Tweight, Toutput>(context) { in MklDnnQuantizedMatMulOp()
223 MklDnnMatMulFwdPrimitive<float, Tinput, Tweight, Tbias, Toutput>* in Compute()
236 Toutput>::Get(matmul_fwd_dims, 0); in Compute()
244 Toutput* dst_data = in Compute()
245 reinterpret_cast<Toutput*>(dst_tensor->flat<Toutput>().data()); in Compute()
308 if (std::is_same<Toutput, quint8>::value || in Compute()
309 std::is_same<Toutput, qint8>::value) { in Compute()
319 if (std::is_same<Toutput, quint8>::value || in Compute()
[all …]
Dmkl_conv_ops.cc97 template <typename Tinput, typename Tfilter, typename Tbias, typename Toutput>
115 const Tbias* bias_data, const Toutput* dst_data, in Execute()
128 static_cast<void*>(const_cast<Toutput*>(dst_data)), *fwd_stream); in Execute()
139 static_cast<void*>(const_cast<Toutput*>(dst_data))); in Execute()
163 const Toutput* dst_data, std::shared_ptr<stream> fwd_stream) { in Execute()
225 {convFwdDims.dst_dims}, MklDnnType<Toutput>(), user_data_fmt)); in Setup()
320 template <typename Tinput, typename Tfilter, typename Tbias, typename Toutput>
323 static MklConvFwdPrimitive<Tinput, Tfilter, Tbias, Toutput>* Get( in Get()
325 MklConvFwdPrimitive<Tinput, Tfilter, Tbias, Toutput>* conv_fwd = nullptr; in Get()
330 new MklConvFwdPrimitive<Tinput, Tfilter, Tbias, Toutput>(convFwdDims); in Get()
[all …]
Dmkl_matmul_ops_common.h82 typename Toutput>
102 const Tbias* bias_data, Toutput* dst_data, in Execute()
188 MklDnnType<Toutput>(), in Setup()
291 typename Toutput>
294 static MklDnnMatMulFwdPrimitive<T, Tinput, Tweight, Tbias, Toutput>* Get( in Get()
296 MklDnnMatMulFwdPrimitive<T, Tinput, Tweight, Tbias, Toutput>* matmul_fwd = in Get()
302 new MklDnnMatMulFwdPrimitive<T, Tinput, Tweight, Tbias, Toutput>( in Get()
307 MklDnnMatMulFwdPrimitive<T, Tinput, Tweight, Tbias, Toutput>*>( in Get()
309 Toutput>::GetInstance() in Get()
313 new MklDnnMatMulFwdPrimitive<T, Tinput, Tweight, Tbias, Toutput>( in Get()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dquantized_add_op.cc44 template <class T, class Toutput>
49 Toutput* output) { in ScalarAddition()
50 const Toutput scalar_in_output_range = RequantizeInNewRange<T, Toutput>( in ScalarAddition()
53 const Toutput full_input_in_output_range = RequantizeInNewRange<T, Toutput>( in ScalarAddition()
158 template <class T, class Toutput>
162 Toutput* output) { in VectorAddition()
164 const Toutput x_in_output_range = RequantizeInNewRange<T, Toutput>( in VectorAddition()
166 const Toutput y_in_output_range = RequantizeInNewRange<T, Toutput>( in VectorAddition()
288 template <class T, class Toutput>
293 float output_min, float output_max, Toutput* output) { in VectorTensorAddition()
[all …]
Dquantized_mul_op.cc35 template <class T, class Toutput>
38 int32 scalar_input_offset, Toutput* output) { in ScalarMultiply()
112 template <class T, class Toutput>
115 Toutput* output) { in VectorMultiply()
188 template <class T, class Toutput>
192 Toutput* output) { in VectorTensorMultiply()
279 template <class T, class Toutput>
314 Toutput* z_data = z->flat<Toutput>().data(); in Compute()
319 ScalarMultiply<T, Toutput>(context, y_data, offset_y, y.NumElements(), in Compute()
322 ScalarMultiply<T, Toutput>(context, x_data, offset_x, x.NumElements(), in Compute()
[all …]
Dquantized_matmul_op.cc66 template <class T1, class T2, class Toutput>
125 Toutput* c_data = c->flat<Toutput>().data(); in Compute()
136 std::is_same<T2, quint8>() && std::is_same<Toutput, qint32>() && in Compute()
144 std::is_same<Toutput, qint32>() && (offset_c == 0) && in Compute()
171 ReferenceGemm<T1, T2, Toutput>( in Compute()
178 QuantizationRangeForMultiplication<T1, T2, Toutput>( in Compute()
Ddepthtospace_op.cc113 auto Toutput = outputs_tensor->tensor<T, kDims>(); in Compute() local
126 functor(context->eigen_device<Device>(), Tinput, block_size_, Toutput); in Compute()
136 functor(context->eigen_device<Device>(), Tinput, block_size_, Toutput); in Compute()
Dscatter_nd_op_cpu_impl.h114 typename TTypes<T, 2>::Tensor Toutput) {
143 auto input_chip = Toutput.template chip<0>(i);
166 typename TTypes<T, 2>::Tensor Toutput)
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DQuantizedMul.pbtxt29 type_attr: "Toutput"
66 name: "Toutput"
111 type_attr: "Toutput"
148 name: "Toutput"
193 type_attr: "Toutput"
230 name: "Toutput"
DQuantizedAdd.pbtxt29 type_attr: "Toutput"
66 name: "Toutput"
111 type_attr: "Toutput"
148 name: "Toutput"
193 type_attr: "Toutput"
230 name: "Toutput"
DQuantizedMatMul.pbtxt29 type_attr: "Toutput"
66 name: "Toutput"
140 type_attr: "Toutput"
177 name: "Toutput"
DQuantizedMatMulWithBiasAndRelu.pbtxt33 type_attr: "Toutput"
70 name: "Toutput"
DQuantizedMatMulWithBiasAndDequantize.pbtxt41 type_attr: "Toutput"
80 name: "Toutput"
DQuantizedMatMulWithBias.pbtxt33 type_attr: "Toutput"
80 name: "Toutput"
DQuantizedMatMulWithBiasAndReluAndRequantize.pbtxt41 type_attr: "Toutput"
88 name: "Toutput"
DQuantizedMatMulWithBiasAndRequantize.pbtxt41 type_attr: "Toutput"
88 name: "Toutput"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DQuantizedMul.pbtxt29 type_attr: "Toutput"
66 name: "Toutput"
111 type_attr: "Toutput"
148 name: "Toutput"
193 type_attr: "Toutput"
230 name: "Toutput"
DQuantizedAdd.pbtxt29 type_attr: "Toutput"
66 name: "Toutput"
111 type_attr: "Toutput"
148 name: "Toutput"
193 type_attr: "Toutput"
230 name: "Toutput"
DQuantizedMatMul.pbtxt29 type_attr: "Toutput"
66 name: "Toutput"
140 type_attr: "Toutput"
177 name: "Toutput"
DXlaRecvFromHost.pbtxt5 type_attr: "Toutput"
8 name: "Toutput"
DQuantizedMatMulWithBiasAndRelu.pbtxt33 type_attr: "Toutput"
70 name: "Toutput"
DQuantizedMatMulWithBiasAndDequantize.pbtxt41 type_attr: "Toutput"
80 name: "Toutput"
DQuantizedMatMulWithBias.pbtxt33 type_attr: "Toutput"
80 name: "Toutput"
DQuantizedMatMulWithBiasAndRequantize.pbtxt41 type_attr: "Toutput"
88 name: "Toutput"
DQuantizedMatMulWithBiasAndReluAndRequantize.pbtxt41 type_attr: "Toutput"
88 name: "Toutput"

12