37 template <
typename T1,
typename T2,
typename T3>
46 intermediate_type val =
static_cast<intermediate_type
>(src1[i]) - static_cast<intermediate_type>(src2[i]);
SimpleTensor< T3 > arithmetic_subtraction(const SimpleTensor< T1 > &src1, const SimpleTensor< T2 > &src2, DataType dst_data_type, ConvertPolicy convert_policy)
TensorShape shape() const override
Shape of the tensor.
This file contains all available output stages for GEMMLowp on OpenCL.
Simple tensor object that stores elements in a consecutive chunk of memory.
int num_elements() const override
Number of elements of the tensor.
DataType
Available data types.
ConvertPolicy
Policy to handle overflow.