|
int | stoi (const std::string &str, std::size_t *pos=0, NumericBase base=NumericBase::BASE_10) |
| Convert string values to integer. More...
|
|
unsigned long | stoul (const std::string &str, std::size_t *pos=0, NumericBase base=NumericBase::BASE_10) |
| Convert string values to unsigned long. More...
|
|
template<typename T > |
std::string | to_string (T &&value) |
| Convert integer and float values to string. More...
|
|
template<typename... Ts> |
int | stof (Ts &&... args) |
| Convert string values to float. More...
|
|
std::string | to_string (bool value) |
|
template<typename T > |
T | nearbyint (T value) |
| Rounds the floating-point argument arg to an integer value in floating-point format, using the current rounding mode. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
T | round (T value) |
| Round floating-point value with half value rounding away from zero. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
T | trunc (T value) |
| Truncate floating-point value. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
T | copysign (T x, T y) |
| Composes a floating point value with the magnitude of x and the sign of y . More...
|
|
template<typename T , typename = typename std::enable_if < std::is_floating_point<T>::value >::type> |
T | fma (T x, T y, T z) |
| Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type. More...
|
|
template<typename... Ts> |
int | snprintf (char *s, std::size_t n, const char *fmt, Ts &&... args) |
| Loads the data from the given location, converts them to character string equivalents and writes the result to a character string buffer. More...
|
|
template<typename T > |
T | lowest () |
|
template<> |
bfloat16 | lowest< bfloat16 > () |
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value>::type> |
bool | isfinite (T value) |
|
bool | isfinite (half_float::half value) |
|
bool | isfinite (bfloat16 value) |
|
std::string arm_compute::support::cpp11::to_string |
( |
T && |
value | ) |
|
|
inline |
Convert integer and float values to string.
- Note
- This function acts as a convenience wrapper around std::to_string. The latter is missing in some Android toolchains.
- Parameters
-
[in] | value | Value to be converted to string. |
- Returns
- String representation of
value
.
Definition at line 162 of file StringSupport.h.
Referenced by GCLogits1DMaxKernel::configure(), GCScaleKernel::configure(), GCTransposeKernel::configure(), ClFloorKernel::configure(), CLIntegralImageHorKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), GCGEMMMatrixAccumulateBiasesKernel::configure(), CLMedian3x3Kernel::configure(), ClActivationKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CLTransposeKernel::configure(), CLStridedSliceKernel::configure(), ClHeightConcatenateKernel::configure(), ClPoolingKernel::configure(), ClWidthConcatenateKernel::configure(), CLScaleKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), CLWarpAffineKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), ClFillKernel::configure(), GCDepthwiseConvolutionLayer3x3Kernel::configure(), GCPixelWiseMultiplicationKernel::configure(), GCFillBorderKernel::configure(), GCGEMMMatrixAdditionKernel::configure(), GCNormalizationLayerKernel::configure(), GCPoolingLayerKernel::configure(), GCAbsoluteDifferenceKernel::configure(), GCNormalizePlanarYUVLayerKernel::configure(), CLDequantizationLayerKernel::configure(), GCArithmeticAdditionKernel::configure(), GCGEMMTranspose1xWKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), CLGaussianPyramidHorKernel::configure(), CLMinMaxLayerKernel::configure(), CLBitwiseKernel::configure(), CLDepthwiseConvolutionLayerReshapeWeightsKernel::configure(), CLReverseKernel::configure(), CLSelectKernel::configure(), GCActivationLayerKernel::configure(), GCBatchNormalizationLayerKernel::configure(), CLHistogramKernel::configure(), GCDepthConcatenateLayerKernel::configure(), GCDirectConvolutionLayerKernel< kernel_size >::configure(), CLChannelShuffleLayerKernel::configure(), ClPermuteKernel::configure(), CLMinMaxKernel::configure(), CLBatchToSpaceLayerKernel::configure(), CLDepthToSpaceLayerKernel::configure(), CLSpaceToDepthLayerKernel::configure(), CLComputeAllAnchorsKernel::configure(), GCLogits1DShiftExpSumKernel::configure(), CLFFTScaleKernel::configure(), CLNormalizationLayerKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLGatherKernel::configure(), CLSpaceToBatchLayerKernel::configure(), CLGradientKernel::configure(), GCDropoutLayerKernel::configure(), CLComparisonKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), CLTileKernel::configure(), GCGEMMMatrixMultiplyKernel::configure(), CLFFTDigitReverseKernel::configure(), CLQuantizationLayerKernel::configure(), CLReorgLayerKernel::configure(), CLHOGOrientationBinningKernel::configure(), CLInstanceNormalizationLayerKernel::configure(), ClCropKernel::configure(), CLMeanStdDevNormalizationKernel::configure(), CLSobel3x3Kernel::configure(), CLDerivativeKernel::configure(), CLColorConvertKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), CLRangeKernel::configure(), CLSobel5x5HorKernel::configure(), CLSobel7x7HorKernel::configure(), CLLogits1DMaxShiftExpSumKernel::configure(), GCGEMMInterleave4x4Kernel::configure(), CLPadLayerKernel::configure(), CLFFTRadixStageKernel::configure(), CLConvertFullyConnectedWeightsKernel::configure(), CLPriorBoxLayerKernel::configure(), CLReductionOperationKernel::configure(), GCTensorShiftKernel::configure(), CLL2NormalizeLayerKernel::configure(), CLBoundingBoxTransformKernel::configure(), CLMagnitudePhaseKernel::configure(), CLGEMMLowpMatrixMultiplyNativeKernel::configure(), CLIntegralImageVertKernel::configure(), CLFillBorderKernel::configure(), CLStackLayerKernel::configure(), CLFastCornersKernel::configure(), CLDepthConvertLayerKernel::configure(), CLDepthwiseConvolutionLayer3x3NCHWKernel::configure(), CLGEMMReshapeLHSMatrixKernel::configure(), CLArgMinMaxLayerKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleKernel::configure(), CLDepthwiseConvolutionLayer3x3NHWCKernel::configure(), GCWeightsReshapeKernel::configure(), CLROIPoolingLayerKernel::configure(), GCCol2ImKernel::configure(), GCIm2ColKernel::configure(), CLROIAlignLayerKernel::configure(), CLDeconvolutionReshapeOutputKernel::configure(), CLHarrisScoreKernel::configure(), CLWinogradInputTransformKernel::configure(), CLHOGDetectorKernel::configure(), CLBatchNormalizationLayerKernel::configure(), CLCol2ImKernel::configure(), CLFuseBatchNormalizationKernel::configure(), CLWinogradFilterTransformKernel::configure(), CLGEMMMatrixMultiplyNativeKernel::configure(), CLGEMMMatrixMultiplyKernel::configure(), CLGEMMLowpMatrixMultiplyReshapedKernel::configure(), CLGEMMLowpOffsetContributionKernel::configure(), CLWinogradOutputTransformKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLDirectConvolutionLayerKernel::configure(), CLGEMMLowpOffsetContributionOutputStageKernel::configure(), CLWeightsReshapeKernel::configure(), GCLogits1DNormKernel::configure(), CLIm2ColKernel::configure(), CLGEMMReshapeRHSMatrixKernel::configure(), CLHistogramBorderKernel::configure(), CLGaussianPyramidVertKernel::configure(), CLPixelWiseMultiplicationKernel::configure(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::configure(), CLGEMMLowpMatrixAReductionKernel::configure(), CLHOGBlockNormalizationKernel::configure(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::configure(), CLEdgeNonMaxSuppressionKernel::configure(), CLSeparableConvolutionHorKernel< matrix_size >::configure(), CLCopyToArrayKernel::configure(), CLSobel7x7VertKernel::configure(), CLSobel5x5VertKernel::configure(), CLLogits1DNormKernel::configure(), CLSeparableConvolutionVertKernel< matrix_size >::configure(), CLGEMMLowpMatrixBReductionKernel::configure(), CLEdgeTraceKernel::configure(), CLConvolutionRectangleKernel::configure(), RangeDataset< T >::iterator::description(), SingletonDataset< T >::iterator::description(), ContainerDataset< T >::iterator::description(), arm_compute::utils::get_typestring(), arm_compute::test::get_typestring(), arm_compute::test::join(), main(), OpenCLClock< output_timestamps >::measurements(), MaliCounter::measurements(), SchedulerClock< output_timestamps >::measurements(), DotGraphPrinter::print(), arm_compute::utils::run_example(), CLCompileContext::set_context(), Size2D::to_string(), CLTuningParams::to_string(), arm_compute::to_string(), and CLTuner::tune_kernel_dynamic().
std::string to_string(bool value)