Home
last modified time | relevance | path

Searched refs:wanted_channels (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/examples/label_image/
Dbitmap_helpers_impl.h32 int wanted_channels, Settings* s) { in resize() argument
55 {1, wanted_height, wanted_width, wanted_channels}, quant); in resize()
83 auto output_number_of_pixels = wanted_height * wanted_width * wanted_channels; in resize()
Dbitmap_helpers.h31 int wanted_channels, Settings* s);
Dlabel_image.cc321 int wanted_channels = dims->data[3]; in RunInference() local
328 wanted_width, wanted_channels, settings); in RunInference()
333 wanted_width, wanted_channels, settings); in RunInference()
338 wanted_width, wanted_channels, settings); in RunInference()
/external/tensorflow/tensorflow/lite/examples/ios/simple/
DRunModelViewController.mm155 const int wanted_channels = 3;
158 assert(image_channels >= wanted_channels);
164 float* out_row = out + (y * wanted_width * wanted_channels);
168 float* out_pixel = out_row + (x * wanted_channels);
169 for (int c = 0; c < wanted_channels; ++c) {
/external/tensorflow/tensorflow/examples/label_image/
Dmain.cc140 const int wanted_channels = 3; in ReadTensorFromImageFile() local
144 DecodePng::Channels(wanted_channels)); in ReadTensorFromImageFile()
155 DecodeJpeg::Channels(wanted_channels)); in ReadTensorFromImageFile()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc91 const int wanted_channels = 3; in ReadTensorFromImageFile() local
95 DecodePng::Channels(wanted_channels)); in ReadTensorFromImageFile()
101 DecodeJpeg::Channels(wanted_channels)); in ReadTensorFromImageFile()
/external/python/cpython2/Modules/
Dossaudiodev.c491 int wanted_fmt, wanted_channels, wanted_rate, strict=0; in oss_setparameters() local
495 &wanted_fmt, &wanted_channels, &wanted_rate, in oss_setparameters()
510 channels = wanted_channels; in oss_setparameters()
514 if (strict && channels != wanted_channels) { in oss_setparameters()
518 wanted_channels, channels); in oss_setparameters()
/external/python/cpython3/Modules/
Dossaudiodev.c563 int wanted_fmt, wanted_channels, wanted_rate, strict=0; in oss_setparameters() local
570 &wanted_fmt, &wanted_channels, &wanted_rate, in oss_setparameters()
585 channels = wanted_channels; in oss_setparameters()
589 if (strict && channels != wanted_channels) { in oss_setparameters()
593 wanted_channels, channels); in oss_setparameters()