Jetson Inference
DNN Vision Library
tensorConvert.h File Reference

Go to the source code of this file.

Functions

cudaError_t cudaTensorMeanRGB (void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float3 &mean_value, cudaStream_t stream)
 
cudaError_t cudaTensorMeanBGR (void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float3 &mean_value, cudaStream_t stream)
 
cudaError_t cudaTensorNormRGB (void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, cudaStream_t stream)
 
cudaError_t cudaTensorNormBGR (void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, cudaStream_t stream)
 
cudaError_t cudaTensorNormMeanRGB (void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, const float3 &mean, const float3 &stdDev, cudaStream_t stream, size_t channelStride=0)
 
cudaError_t cudaTensorNormMeanBGR (void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, const float3 &mean, const float3 &stdDev, cudaStream_t stream, size_t channelStride=0)
 

Function Documentation

◆ cudaTensorMeanBGR()

cudaError_t cudaTensorMeanBGR ( void *  input,
imageFormat  format,
size_t  inputWidth,
size_t  inputHeight,
float *  output,
size_t  outputWidth,
size_t  outputHeight,
const float3 &  mean_value,
cudaStream_t  stream 
)

◆ cudaTensorMeanRGB()

cudaError_t cudaTensorMeanRGB ( void *  input,
imageFormat  format,
size_t  inputWidth,
size_t  inputHeight,
float *  output,
size_t  outputWidth,
size_t  outputHeight,
const float3 &  mean_value,
cudaStream_t  stream 
)

◆ cudaTensorNormBGR()

cudaError_t cudaTensorNormBGR ( void *  input,
imageFormat  format,
size_t  inputWidth,
size_t  inputHeight,
float *  output,
size_t  outputWidth,
size_t  outputHeight,
const float2 &  range,
cudaStream_t  stream 
)

◆ cudaTensorNormMeanBGR()

cudaError_t cudaTensorNormMeanBGR ( void *  input,
imageFormat  format,
size_t  inputWidth,
size_t  inputHeight,
float *  output,
size_t  outputWidth,
size_t  outputHeight,
const float2 &  range,
const float3 &  mean,
const float3 &  stdDev,
cudaStream_t  stream,
size_t  channelStride = 0 
)

◆ cudaTensorNormMeanRGB()

cudaError_t cudaTensorNormMeanRGB ( void *  input,
imageFormat  format,
size_t  inputWidth,
size_t  inputHeight,
float *  output,
size_t  outputWidth,
size_t  outputHeight,
const float2 &  range,
const float3 &  mean,
const float3 &  stdDev,
cudaStream_t  stream,
size_t  channelStride = 0 
)

◆ cudaTensorNormRGB()

cudaError_t cudaTensorNormRGB ( void *  input,
imageFormat  format,
size_t  inputWidth,
size_t  inputHeight,
float *  output,
size_t  outputWidth,
size_t  outputHeight,
const float2 &  range,
cudaStream_t  stream 
)