HomeSort by relevance Sort by last modified time
    Searched refs:input_mean (Results 1 - 10 of 10) sorted by null

  /external/tensorflow/tensorflow/contrib/lite/examples/label_image/
label_image.h 29 float input_mean = 127.5f; member in struct:tflite::label_image::Settings
bitmap_helpers_impl.h 94 out[i] = (output[i] - s->input_mean) / s->input_std;
label_image.cc 222 << "--input_mean, -b: input mean\n"
245 {"input_mean", required_argument, 0, 'b'},
264 s.input_mean = strtod(optarg, NULL);
  /external/tensorflow/tensorflow/examples/label_image/
label_image.py 41 input_mean=0,
60 normalized = tf.divide(tf.subtract(resized, [input_mean]), [input_std])
82 input_mean = 0 variable
93 parser.add_argument("--input_mean", type=int, help="input mean")
109 if args.input_mean:
110 input_mean = args.input_mean variable
123 input_mean=input_mean, variable
main.cc 115 const int input_width, const float input_mean,
168 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}),
287 float input_mean = 0; local
300 Flag("input_mean", &input_mean, "scale pixel values to this mean"),
336 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean,
  /external/tensorflow/tensorflow/contrib/pi_examples/label_image/
label_image.cc 136 const int wanted_width, const float input_mean,
155 // range that the model expects (given by input_mean and input_std).
191 const float top_left((in_top_left_pixel[c] - input_mean) / input_std);
192 const float top_right((in_top_right_pixel[c] - input_mean) / input_std);
193 const float bottom_left((in_bottom_left_pixel[c] - input_mean) /
195 const float bottom_right((in_bottom_right_pixel[c] - input_mean) /
317 int32 input_mean = 128; local
330 Flag("input_mean", &input_mean, "scale pixel values to this mean"),
366 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean,
    [all...]
  /external/tensorflow/tensorflow/contrib/pi_examples/camera/
camera.cc 333 const int wanted_width, const float input_mean,
344 // range that the model expects (given by input_mean and input_std).
380 const float top_left((in_top_left_pixel[c] - input_mean) / input_std);
381 const float top_right((in_top_right_pixel[c] - input_mean) / input_std);
382 const float bottom_left((in_bottom_left_pixel[c] - input_mean) /
384 const float bottom_right((in_bottom_right_pixel[c] - input_mean) /
407 int32 input_mean = 128; local
420 Flag("input_mean", &input_mean, "transformed mean of input pixels"),
493 input_width, input_mean, input_std, &resized_tensors)
    [all...]
  /external/tensorflow/tensorflow/tools/gcs_test/python/
gcs_smoke.py 39 def create_examples(num_examples, input_mean):
42 inputs = np.random.randn(num_examples, 1) + input_mean
43 target = inputs - input_mean
  /external/tensorflow/tensorflow/examples/multibox_detector/
main.cc 73 const int input_width, const float input_mean,
116 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}),
338 int32 input_mean = 128; local
357 Flag("input_mean", &input_mean, "scale pixel values to this mean"),
401 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean,
  /external/tensorflow/tensorflow/examples/image_retraining/
retrain.py 641 input_depth, input_mean, input_std):
692 input_mean: Pixel value that should be zero in the image for the graph.
729 offset_image = tf.subtract(brightened_image, input_mean)
    [all...]

Completed in 113 milliseconds