Home
last modified time | relevance | path

Searched refs:wanted_width (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/examples/label_image/
Dbitmap_helpers_impl.h31 int image_channels, int wanted_height, int wanted_width, in resize() argument
55 {1, wanted_height, wanted_width, wanted_channels}, quant); in resize()
78 interpreter->typed_tensor<int>(1)[1] = wanted_width; in resize()
83 auto output_number_of_pixels = wanted_height * wanted_width * wanted_channels; in resize()
Dbitmap_helpers.h30 int image_channels, int wanted_height, int wanted_width,
Dlabel_image.cc320 int wanted_width = dims->data[2]; 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.mm153 const int wanted_width = 224;
164 float* out_row = out + (y * wanted_width * wanted_channels);
165 for (int x = 0; x < wanted_width; ++x) {
166 const int in_x = (x * image_width) / wanted_width;