#include <tensor.h>
|
static void | fp16tofp32 (float *__restrict out, uint16_t in) |
|
static void | fp32tofp16 (uint16_t *__restrict out, float in) |
|
Definition at line 29 of file tensor.h.
movidius_ncs_lib::Tensor::Tensor |
( |
const std::pair< int, int > & |
net_dim, |
|
|
const std::vector< float > & |
mean, |
|
|
const float & |
scale |
|
) |
| |
void movidius_ncs_lib::Tensor::clearTensor |
( |
| ) |
|
void movidius_ncs_lib::Tensor::fp16tofp32 |
( |
float *__restrict |
out, |
|
|
uint16_t |
in |
|
) |
| |
|
static |
void movidius_ncs_lib::Tensor::fp32tofp16 |
( |
uint16_t *__restrict |
out, |
|
|
float |
in |
|
) |
| |
|
static |
int movidius_ncs_lib::Tensor::getImageHeight |
( |
| ) |
|
|
inline |
int movidius_ncs_lib::Tensor::getImageWidth |
( |
| ) |
|
|
inline |
void movidius_ncs_lib::Tensor::loadImageData |
( |
const cv::Mat & |
image | ) |
|
const uint16_t* movidius_ncs_lib::Tensor::raw |
( |
| ) |
const |
|
inline |
const size_t movidius_ncs_lib::Tensor::size |
( |
| ) |
const |
|
inline |
int movidius_ncs_lib::Tensor::image_height_ |
|
private |
int movidius_ncs_lib::Tensor::image_width_ |
|
private |
std::vector<float> movidius_ncs_lib::Tensor::mean_ |
|
private |
int movidius_ncs_lib::Tensor::net_height_ |
|
private |
int movidius_ncs_lib::Tensor::net_width_ |
|
private |
float movidius_ncs_lib::Tensor::scale_ |
|
private |
std::vector<uint16_t> movidius_ncs_lib::Tensor::tensor_ |
|
private |
The documentation for this class was generated from the following files: