/external/tensorflow/tensorflow/examples/label_image/ |
D | label_image.py | 41 input_mean=0, argument 60 normalized = tf.divide(tf.subtract(resized, [input_mean]), [input_std]) 82 input_mean = 0 variable 109 if args.input_mean: 110 input_mean = args.input_mean variable 123 input_mean=input_mean,
|
D | main.cc | 116 const int input_width, const float input_mean, in ReadTensorFromImageFile() argument 169 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile() 288 float input_mean = 0; in main() local 301 Flag("input_mean", &input_mean, "scale pixel values to this mean"), in main() 337 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
|
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/ |
D | label_image.cc | 136 const int wanted_width, const float input_mean, in ReadTensorFromImageFile() argument 191 const float top_left((in_top_left_pixel[c] - input_mean) / input_std); in ReadTensorFromImageFile() 192 const float top_right((in_top_right_pixel[c] - input_mean) / input_std); in ReadTensorFromImageFile() 193 const float bottom_left((in_bottom_left_pixel[c] - input_mean) / in ReadTensorFromImageFile() 195 const float bottom_right((in_bottom_right_pixel[c] - input_mean) / in ReadTensorFromImageFile() 317 int32 input_mean = 128; in main() local 330 Flag("input_mean", &input_mean, "scale pixel values to this mean"), in main() 366 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
|
/external/tensorflow/tensorflow/contrib/pi_examples/camera/ |
D | camera.cc | 333 const int wanted_width, const float input_mean, in TensorFromFrame() argument 380 const float top_left((in_top_left_pixel[c] - input_mean) / input_std); in TensorFromFrame() 381 const float top_right((in_top_right_pixel[c] - input_mean) / input_std); in TensorFromFrame() 382 const float bottom_left((in_bottom_left_pixel[c] - input_mean) / in TensorFromFrame() 384 const float bottom_right((in_bottom_right_pixel[c] - input_mean) / in TensorFromFrame() 407 int32 input_mean = 128; in main() local 420 Flag("input_mean", &input_mean, "transformed mean of input pixels"), in main() 493 input_width, input_mean, input_std, &resized_tensors); in main()
|
/external/tensorflow/tensorflow/examples/multibox_detector/ |
D | main.cc | 75 const int input_width, const float input_mean, in ReadTensorFromImageFile() argument 118 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile() 342 int32 input_mean = 128; in main() local 361 Flag("input_mean", &input_mean, "scale pixel values to this mean"), in main() 405 ReadTensorFromImageFile(image_path, input_height, input_width, input_mean, in main()
|
/external/tensorflow/tensorflow/tools/gcs_test/python/ |
D | gcs_smoke.py | 39 def create_examples(num_examples, input_mean): argument 42 inputs = np.random.randn(num_examples, 1) + input_mean 43 target = inputs - input_mean
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | label_image.h | 31 float input_mean = 127.5f; member
|
D | bitmap_helpers_impl.h | 87 out[i] = (output[i] - s->input_mean) / s->input_std; in resize()
|
D | label_image.cc | 306 s.input_mean = strtod(optarg, nullptr); in Main()
|
/external/tensorflow/tensorflow/lite/examples/python/ |
D | label_image.py | 71 input_data = (np.float32(input_data) - args.input_mean) / args.input_std
|
/external/tensorflow/tensorflow/lite/examples/ios/simple/ |
D | RunModelViewController.mm | 160 const float input_mean = 127.5f; 174 out_pixel[c] = (in_pixel[c] - input_mean) / input_std;
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | RunModelViewController.mm | 176 const float input_mean = 117.0f; 196 out_pixel[c] = (in_pixel[c] - input_mean) / input_std;
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | BenchmarkViewController.mm | 227 const float input_mean = 117.0f; 246 out_pixel[c] = (in_pixel[c] - input_mean) / input_std;
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
D | CameraExampleViewController.mm | 41 const float input_mean = 117.0f; 308 out_pixel[c] = (in_pixel[c] - input_mean) / input_std;
|
/external/tensorflow/tensorflow/lite/examples/ios/camera/ |
D | CameraExampleViewController.mm | 55 const float input_mean = 127.5f; 132 out_pixel[c] = (input_pixel[c] - input_mean) / input_std;
|