├── .gitmodules ├── third_party ├── gpus │ ├── BUILD │ ├── cuda │ │ ├── BUILD │ │ └── platform.bzl.tpl │ └── crosstool │ │ └── BUILD ├── sycl │ ├── crosstool │ │ ├── BUILD │ │ └── BUILD.tpl │ ├── sycl │ │ ├── platform.bzl.tpl │ │ ├── build_defs.bzl.tpl │ │ └── BUILD │ └── BUILD ├── jpeg │ └── BUILD ├── eigen3 │ ├── Eigen │ │ ├── LU │ │ ├── QR │ │ ├── SVD │ │ ├── Core │ │ ├── Cholesky │ │ └── Eigenvalues │ └── unsupported │ │ └── Eigen │ │ ├── CXX11 │ │ ├── ThreadPool │ │ └── Tensor │ │ └── SpecialFunctions ├── BUILD ├── llvm │ └── BUILD ├── linenoise.BUILD ├── six.BUILD ├── werkzeug.BUILD ├── mkl │ ├── build_defs.bzl │ └── BUILD ├── hadoop │ └── BUILD ├── nanopb.BUILD ├── py │ └── numpy │ │ └── BUILD ├── farmhash.BUILD ├── png.BUILD ├── highwayhash.BUILD └── gmock.BUILD ├── tensorflow ├── tools │ ├── __init__.py │ ├── dist_test │ │ ├── __init__.py │ │ ├── scripts │ │ │ └── BUILD │ │ └── local │ │ │ └── Dockerfile │ ├── docker │ │ ├── __init__.py │ │ ├── notebooks │ │ │ ├── BUILD │ │ │ └── LICENSE │ │ ├── LICENSE │ │ ├── BUILD │ │ └── run_jupyter.sh │ ├── git │ │ ├── .gitignore │ │ └── BUILD │ ├── swig │ │ └── .gitignore │ ├── pip_package │ │ ├── README │ │ └── MANIFEST.in │ ├── proto_text │ │ └── placeholder.txt │ ├── tfprof │ │ ├── internal │ │ │ └── testdata │ │ │ │ ├── ckpt │ │ │ │ ├── run_meta │ │ │ │ └── tfprof_log │ │ ├── tfprof_log.proto │ │ └── tfprof_options.proto │ ├── ci_build │ │ ├── windows │ │ │ ├── cpu │ │ │ │ ├── pip │ │ │ │ │ └── run.bat │ │ │ │ └── bazel │ │ │ │ │ ├── run_libtensorflow.bat │ │ │ │ │ └── run_cc_test_windows.bat │ │ │ └── gpu │ │ │ │ ├── pip │ │ │ │ └── run.bat │ │ │ │ └── bazel │ │ │ │ └── run_cc_test_windows.bat │ │ ├── pep8 │ │ ├── Dockerfile.tensorboard │ │ ├── Dockerfile.cmake │ │ ├── gpu_build │ │ │ └── BUILD │ │ ├── Dockerfile.hadoop │ │ ├── Dockerfile.cpu │ │ ├── Dockerfile.debian.jessie.cpu │ │ ├── install │ │ │ └── .bazelrc │ │ └── Dockerfile.gpu │ └── gcs_test │ │ └── Dockerfile ├── docs_src │ ├── __init__.py │ ├── about │ │ └── leftnav_files │ ├── community │ │ └── leftnav_files │ ├── deploy │ │ └── leftnav_files │ ├── api_guides │ │ └── python │ │ │ ├── contrib.opt.md │ │ │ ├── histogram_ops.md │ │ │ ├── contrib.copy_graph.md │ │ │ ├── contrib.bayesflow.stochastic_graph.md │ │ │ ├── script_ops.md │ │ │ ├── contrib.crf.md │ │ │ ├── contrib.util.md │ │ │ ├── contrib.bayesflow.variational_inference.md │ │ │ ├── session_ops.md │ │ │ ├── functional_ops.md │ │ │ ├── check_ops.md │ │ │ ├── summary.md │ │ │ ├── contrib.ffmpeg.md │ │ │ └── string_ops.md │ ├── install │ │ ├── leftnav_files │ │ └── index.md │ ├── extras │ │ └── README.txt │ ├── extend │ │ └── leftnav_files │ ├── get_started │ │ └── leftnav_files │ ├── performance │ │ └── leftnav_files │ ├── tutorials │ │ └── leftnav_files │ └── programmers_guide │ │ └── leftnav_files ├── examples │ ├── __init__.py │ ├── android │ │ ├── __init__.py │ │ ├── jni │ │ │ └── __init__.py │ │ ├── sample_images │ │ │ ├── detect1.jpg │ │ │ ├── stylize1.jpg │ │ │ └── classify1.jpg │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ ├── tile.9.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_info.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_info.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_info.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_info.png │ │ │ ├── values-v14 │ │ │ │ └── styles.xml │ │ │ ├── values │ │ │ │ ├── attrs.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── values-v21 │ │ │ │ └── base-colors.xml │ │ │ └── values-v11 │ │ │ │ └── template-styles.xml │ │ └── assets │ │ │ └── BUILD │ ├── tutorials │ │ ├── __init__.py │ │ ├── word2vec │ │ │ ├── __init__.py │ │ │ └── BUILD │ │ ├── deepdream │ │ │ └── pilatus800.jpg │ │ ├── input_fn │ │ │ └── boston_predict.csv │ │ ├── layers │ │ │ └── BUILD │ │ ├── estimators │ │ │ └── BUILD │ │ └── monitors │ │ │ ├── iris_test.csv │ │ │ └── BUILD │ ├── image_retraining │ │ └── __init__.py │ ├── how_tos │ │ ├── reading_data │ │ │ └── __init__.py │ │ └── __init__.py │ ├── udacity │ │ ├── .gitignore │ │ └── Dockerfile │ ├── label_image │ │ ├── data │ │ │ └── grace_hopper.jpg │ │ └── BUILD │ ├── multibox_detector │ │ └── data │ │ │ └── surfers.jpg │ └── saved_model │ │ └── BUILD ├── python │ ├── lib │ │ ├── __init__.py │ │ ├── core │ │ │ └── __init__.py │ │ └── io │ │ │ └── __init__.py │ ├── ops │ │ ├── __init__.py │ │ ├── cloud │ │ │ └── __init__.py │ │ └── losses │ │ │ └── __init__.py │ ├── client │ │ └── __init__.py │ ├── layers │ │ └── __init__.py │ ├── summary │ │ ├── __init__.py │ │ ├── impl │ │ │ └── __init__.py │ │ └── README.md │ ├── training │ │ ├── __init__.py │ │ └── checkpoint_state.proto │ ├── user_ops │ │ └── __init__.py │ ├── util │ │ ├── __init__.py │ │ └── protobuf │ │ │ └── __init__.py │ ├── debug │ │ ├── cli │ │ │ └── __init__.py │ │ ├── lib │ │ │ └── __init__.py │ │ └── examples │ │ │ └── README.md │ ├── framework │ │ ├── __init__.py │ │ └── cpp_shape_inference.proto │ ├── kernel_tests │ │ └── __init__.py │ └── estimator │ │ └── inputs │ │ └── queues │ │ └── __init__.py ├── tensorboard │ ├── TAG │ ├── __init__.py │ ├── backend │ │ └── __init__.py │ ├── scripts │ │ └── __init__.py │ ├── .bowerrc │ ├── components │ │ ├── tf_scalar_dashboard │ │ │ └── demo │ │ │ │ └── data │ │ │ │ ├── logdir │ │ │ │ ├── scalars_run_run1_tag_bar_2Fsquare.json │ │ │ │ ├── scalars_run_run1_tag_foo_2Fsquare.json │ │ │ │ ├── scalars_run_run2_tag_bar_2Fsquare.json │ │ │ │ ├── scalars_run_run2_tag_foo_2Fsquare.json │ │ │ │ ├── runs.json │ │ │ │ ├── scalars_run_run1_tag_foo_2Fcos.json │ │ │ │ ├── scalars_run_run1_tag_foo_2Fsin.json │ │ │ │ ├── scalars_run_run2_tag_foo_2Fcos.json │ │ │ │ └── BUILD │ │ ├── tf_distribution_dashboard │ │ │ └── demo │ │ │ │ └── data │ │ │ │ ├── logdir │ │ │ │ ├── runs.json │ │ │ │ └── BUILD │ │ ├── tf_backend │ │ │ └── test │ │ │ │ └── data │ │ │ │ ├── example.json │ │ │ │ ├── scalars.json │ │ │ │ ├── images_run_run1_tag_im1.json │ │ │ │ ├── scalars_run_run1_tag_cross_entropy__281_29.json │ │ │ │ ├── audio_run_run1_tag_audio1.json │ │ │ │ ├── individualImage_index_0_tag_im1_run_run1.png │ │ │ │ ├── run_metadata_run_step99_tag_train.pbtxt │ │ │ │ ├── histograms_run_run1_tag_histo1.json │ │ │ │ └── runs.json │ │ ├── tf_audio_dashboard │ │ │ ├── test │ │ │ │ └── data │ │ │ │ │ └── runs.json │ │ │ └── demo │ │ │ │ └── data │ │ │ │ ├── audio_run_run1_tag_au1_2Faudio_2F0.json │ │ │ │ ├── audio_run_run2_tag_au2_2Faudio_2F0.json │ │ │ │ ├── runs.json │ │ │ │ ├── individualAudio_index_0_tag_au1_2Faudio_2F0_run_run1.wav │ │ │ │ ├── individualAudio_index_0_tag_au2_2Faudio_2F0_run_run2.wav │ │ │ │ └── BUILD │ │ ├── tf_imports │ │ │ ├── README.md │ │ │ ├── d3.html │ │ │ ├── lodash.html │ │ │ ├── graphlib.html │ │ │ └── plottable.html │ │ ├── tf_tensorboard │ │ │ └── test │ │ │ │ └── data │ │ │ │ ├── graph_run_run1.pbtxt │ │ │ │ ├── runs.json │ │ │ │ └── graph_run_run2.pbtxt │ │ ├── tf_imports_google │ │ │ ├── README.md │ │ │ ├── d3.html │ │ │ ├── dagre.html │ │ │ ├── graphlib.html │ │ │ ├── lodash.html │ │ │ └── plottable.html │ │ ├── vz_projector │ │ │ └── BUILD │ │ ├── BUILD │ │ ├── vz_line_chart │ │ │ └── demo │ │ │ │ └── BUILD │ │ ├── vz_sorting │ │ │ └── vz-sorting.html │ │ ├── vz_distribution_chart │ │ │ └── demo │ │ │ │ └── BUILD │ │ ├── tf_globals │ │ │ └── tf-globals.html │ │ └── tf_color_scale │ │ │ └── demo │ │ │ └── BUILD │ ├── demo │ │ └── data │ │ │ ├── scalars_run_run1_tag_bar_2Fsquare.json │ │ │ ├── scalars_run_run1_tag_foo_2Fsquare.json │ │ │ ├── scalars_run_run2_tag_bar_2Fsquare.json │ │ │ ├── scalars_run_run2_tag_foo_2Fsquare.json │ │ │ ├── graph_run_run1.pbtxt │ │ │ ├── images_run_run1_tag_im1_2Fimage_2F0.json │ │ │ ├── images_run_run1_tag_im2_2Fimage_2F0.json │ │ │ ├── images_run_run2_tag_im1_2Fimage_2F0.json │ │ │ ├── audio_run_run1_tag_au1_2Faudio_2F0.json │ │ │ ├── audio_run_run2_tag_au2_2Faudio_2F0.json │ │ │ ├── scalars_run_run1_tag_foo_2Fsin.json │ │ │ ├── scalars_run_run2_tag_foo_2Fcos.json │ │ │ ├── scalars_run_run1_tag_foo_2Fcos.json │ │ │ ├── individualAudio_index_0_tag_au1_2Faudio_2F0_run_run1.wav │ │ │ ├── individualAudio_index_0_tag_au2_2Faudio_2F0_run_run2.wav │ │ │ ├── individualImage_tag_im1_2Fimage_2F0_index_0_run_run1.png │ │ │ ├── individualImage_tag_im1_2Fimage_2F0_index_0_run_run2.png │ │ │ ├── individualImage_tag_im2_2Fimage_2F0_index_0_run_run1.png │ │ │ ├── graph_run_run2.pbtxt │ │ │ ├── runs.json │ │ │ ├── histograms_run_run2_tag_histo2.json │ │ │ ├── histograms_run_run1_tag_histo1.json │ │ │ ├── histograms_run_run2_tag_histo1.json │ │ │ └── scalars.json │ ├── wct.conf.json │ ├── CHANGES │ ├── plugins │ │ └── BUILD │ ├── tsconfig.json │ ├── lib │ │ ├── BUILD │ │ ├── css │ │ │ └── global.css │ │ └── python │ │ │ └── __init__.py │ ├── app │ │ ├── BUILD │ │ └── analytics.js │ └── typings.json ├── contrib │ ├── ndlstm │ │ └── __init__.py │ ├── specs │ │ └── __init__.py │ ├── training │ │ └── python │ │ │ ├── __init__.py │ │ │ └── training │ │ │ └── __init__.py │ ├── legacy_seq2seq │ │ └── python │ │ │ ├── __init__.py │ │ │ └── kernel_tests │ │ │ └── __init__.py │ ├── seq2seq │ │ ├── python │ │ │ ├── ops │ │ │ │ └── __init__.py │ │ │ └── kernel_tests │ │ │ │ └── __init__.py │ │ └── README.md │ ├── tfprof │ │ ├── python │ │ │ └── tools │ │ │ │ └── tfprof │ │ │ │ └── __init__.py │ │ └── BUILD │ ├── makefile │ │ ├── .gitignore │ │ └── Dockerfile │ ├── session_bundle │ │ └── testdata │ │ │ ├── half_plus_two_ckpt_v2 │ │ │ └── 00000123 │ │ │ │ ├── export.data-00000-of-00001 │ │ │ │ ├── export.index │ │ │ │ └── export.meta │ │ │ └── half_plus_two │ │ │ └── 00000123 │ │ │ ├── export.meta │ │ │ └── export-00000-of-00001 │ ├── cmake │ │ ├── patches │ │ │ ├── gemmlowp │ │ │ │ └── CMakeLists.txt │ │ │ ├── farmhash │ │ │ │ └── CMakeLists.txt │ │ │ └── gif │ │ │ │ └── unistd.h │ │ ├── external │ │ │ └── gemmlowp.cmake │ │ ├── tf_label_image_example.cmake │ │ ├── tf_core_direct_session.cmake │ │ └── tf_tutorials.cmake │ ├── learn │ │ └── python │ │ │ └── learn │ │ │ ├── datasets │ │ │ └── data │ │ │ │ ├── text_test.csv │ │ │ │ └── text_train.csv │ │ │ └── estimators │ │ │ └── g3doc │ │ │ └── svm.png │ ├── factorization │ │ ├── g3doc │ │ │ ├── gmm.png │ │ │ ├── wals.png │ │ │ ├── kmeans.png │ │ │ └── gmm.md │ │ └── examples │ │ │ └── BUILD │ ├── android │ │ ├── cmake │ │ │ └── src │ │ │ │ └── main │ │ │ │ ├── res │ │ │ │ └── values │ │ │ │ │ └── strings.xml │ │ │ │ └── AndroidManifest.xml │ │ └── jni │ │ │ └── version_script.lds │ ├── ffmpeg │ │ └── testdata │ │ │ ├── mono_10khz.ogg │ │ │ ├── mono_10khz.wav │ │ │ ├── mono_16khz.mp3 │ │ │ ├── stereo_48khz.mp3 │ │ │ ├── test_sound1.mp3 │ │ │ ├── mono_16khz_mp3.mp4 │ │ │ ├── mono_32khz_aac.mp4 │ │ │ ├── stereo_48khz_aac.mp4 │ │ │ └── stereo_48khz_mp3.mp4 │ ├── ios_examples │ │ ├── .gitignore │ │ ├── camera │ │ │ ├── squarePNG.png │ │ │ ├── data │ │ │ │ └── grace_hopper.jpg │ │ │ └── CameraExampleAppDelegate.h │ │ ├── simple │ │ │ ├── data │ │ │ │ └── grace_hopper.jpg │ │ │ └── AppDelegate.h │ │ └── benchmark │ │ │ ├── data │ │ │ └── grace_hopper.jpg │ │ │ └── AppDelegate.h │ ├── pi_examples │ │ ├── .gitignore │ │ └── label_image │ │ │ └── data │ │ │ └── grace_hopper.jpg │ ├── framework │ │ └── README.md │ ├── benchmark_tools │ │ ├── README.md │ │ └── gce │ │ │ └── README.md │ ├── linear_optimizer │ │ └── kernels │ │ │ └── g3doc │ │ │ ├── newton.png │ │ │ ├── mod_newton.png │ │ │ └── newton_compare_experiment.png │ ├── graph_editor │ │ └── README.md │ ├── opt │ │ └── README.md │ ├── labeled_tensor │ │ └── README.md │ ├── integrate │ │ └── README.md │ ├── input_pipeline │ │ └── kernels │ │ │ └── BUILD │ ├── nn │ │ └── BUILD │ ├── hvx │ │ └── hexagon_controller │ │ │ ├── Makefile │ │ │ └── src_dummy_data │ │ │ ├── inception_v3_graph_init.c │ │ │ ├── inception_v1_graph_init.c │ │ │ ├── inception_v3_dummy_float_data.c │ │ │ └── inception_v3_dummy_int_data.c │ └── grid_rnn │ │ └── python │ │ ├── __init__.py │ │ └── ops │ │ └── __init__.py ├── compiler │ ├── xla │ │ ├── README.md │ │ ├── .clang-format │ │ ├── service │ │ │ ├── llvm_ir │ │ │ │ └── README.md │ │ │ └── cpu │ │ │ │ └── build_defs.bzl │ │ └── port │ │ │ └── BUILD │ └── aot │ │ ├── tests │ │ ├── test_graph_tfadd_with_ckpt.config.pbtxt │ │ ├── test_graph_tfadd.config.pbtxt │ │ ├── test_graph_tfgather.config.pbtxt │ │ ├── test_graph_tfmatmul.config.pbtxt │ │ └── test_graph_tfmatmulandadd.config.pbtxt │ │ └── test_graph_tfadd.config.pbtxt ├── tf_exported_symbols.lds ├── cc │ └── saved_model │ │ ├── testdata │ │ ├── half_plus_two │ │ │ └── 00000123 │ │ │ │ ├── assets │ │ │ │ └── foo.txt │ │ │ │ ├── variables │ │ │ │ ├── variables.data-00000-of-00001 │ │ │ │ └── variables.index │ │ │ │ └── saved_model.pb │ │ └── half_plus_two_pbtxt │ │ │ └── 00000123 │ │ │ ├── assets │ │ │ └── foo.txt │ │ │ └── variables │ │ │ ├── variables.data-00000-of-00001 │ │ │ └── variables.index │ │ └── README.md ├── opensource_only │ └── eigen.threadpool ├── go │ ├── genop │ │ ├── .gitignore │ │ └── internal │ │ │ └── lib.go │ ├── op │ │ └── generate.go │ └── BUILD ├── java │ ├── config │ │ ├── exported_symbols.lds │ │ └── version_script.lds │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── tensorflow │ │ └── examples │ │ ├── .gitignore │ │ └── BUILD ├── core │ ├── lib │ │ ├── gif │ │ │ └── testdata │ │ │ │ ├── scan.gif │ │ │ │ └── optimized.gif │ │ ├── jpeg │ │ │ └── testdata │ │ │ │ ├── corrupt.jpg │ │ │ │ ├── bad_huffman.jpg │ │ │ │ ├── corrupt34_2.jpg │ │ │ │ ├── corrupt34_3.jpg │ │ │ │ ├── corrupt34_4.jpg │ │ │ │ ├── jpeg_merge_test1.jpg │ │ │ │ └── jpeg_merge_test1_cmyk.jpg │ │ ├── png │ │ │ └── testdata │ │ │ │ ├── lena_gray.png │ │ │ │ └── lena_rgba.png │ │ └── io │ │ │ └── table_format.txt │ ├── platform │ │ ├── cloud │ │ │ └── testdata │ │ │ │ ├── application_default_credentials.json │ │ │ │ └── service_account_public_key.txt │ │ ├── default │ │ │ ├── gpu │ │ │ │ └── BUILD │ │ │ └── build_config_root.bzl │ │ └── env_time.cc │ ├── kernels │ │ ├── cloud │ │ │ └── bigquery_table_partition.proto │ │ ├── slice_op_cpu_impl_1.cc │ │ ├── slice_op_cpu_impl_2.cc │ │ ├── slice_op_cpu_impl_3.cc │ │ ├── slice_op_cpu_impl_4.cc │ │ ├── slice_op_cpu_impl_5.cc │ │ ├── slice_op_cpu_impl_6.cc │ │ ├── slice_op_cpu_impl_7.cc │ │ ├── tile_ops_cpu_impl_1.cc │ │ ├── tile_ops_cpu_impl_2.cc │ │ ├── tile_ops_cpu_impl_3.cc │ │ ├── tile_ops_cpu_impl_4.cc │ │ ├── tile_ops_cpu_impl_5.cc │ │ ├── tile_ops_cpu_impl_6.cc │ │ ├── tile_ops_cpu_impl_7.cc │ │ ├── gather_nd_op_cpu_impl_0.cc │ │ ├── gather_nd_op_cpu_impl_1.cc │ │ ├── gather_nd_op_cpu_impl_2.cc │ │ ├── gather_nd_op_cpu_impl_3.cc │ │ ├── gather_nd_op_cpu_impl_4.cc │ │ ├── gather_nd_op_cpu_impl_5.cc │ │ ├── mirror_pad_op_cpu_impl_1.cc │ │ ├── mirror_pad_op_cpu_impl_2.cc │ │ ├── mirror_pad_op_cpu_impl_3.cc │ │ ├── mirror_pad_op_cpu_impl_4.cc │ │ ├── mirror_pad_op_cpu_impl_5.cc │ │ ├── scatter_nd_op_cpu_impl_1.cc │ │ ├── scatter_nd_op_cpu_impl_2.cc │ │ ├── scatter_nd_op_cpu_impl_3.cc │ │ ├── scatter_nd_op_cpu_impl_4.cc │ │ ├── tile_ops_gpu_impl_1.cu.cc │ │ ├── tile_ops_gpu_impl_2.cu.cc │ │ ├── tile_ops_gpu_impl_3.cu.cc │ │ ├── tile_ops_gpu_impl_4.cu.cc │ │ ├── tile_ops_gpu_impl_5.cu.cc │ │ ├── tile_ops_gpu_impl_6.cu.cc │ │ ├── tile_ops_gpu_impl_7.cu.cc │ │ ├── tile_ops_gpu_impl_8.cu.cc │ │ └── scatter_nd_op_cpu_impl_5.cc │ ├── framework │ │ ├── reader_base.proto │ │ ├── tensor_description.proto │ │ └── allocation_description.proto │ ├── distributed_runtime │ │ └── README.md │ ├── util │ │ └── example_proto_fast_parsing_test.proto │ └── protobuf │ │ ├── named_tensor.proto │ │ └── saved_model.proto ├── tf_version_script.lds └── .clang-format ├── .mention-bot ├── .gitignore ├── AUTHORS ├── models.BUILD ├── ADOPTERS.md ├── BUILD └── util └── python └── BUILD /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/gpus/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/gpus/cuda/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/docs_src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/ops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/TAG: -------------------------------------------------------------------------------- 1 | 46 2 | -------------------------------------------------------------------------------- /third_party/gpus/crosstool/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/contrib/ndlstm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/contrib/specs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/client/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/layers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/lib/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/lib/io/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/summary/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/training/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/user_ops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tools/dist_test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tools/docker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/sycl/crosstool/BUILD: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tensorflow/examples/android/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/examples/android/jni/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/debug/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/debug/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/kernel_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/ops/cloud/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/ops/losses/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/summary/impl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/util/protobuf/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/backend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tools/git/.gitignore: -------------------------------------------------------------------------------- 1 | gen 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/training/python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/examples/image_retraining/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tools/swig/.gitignore: -------------------------------------------------------------------------------- 1 | swig_path 2 | -------------------------------------------------------------------------------- /third_party/jpeg/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/legacy_seq2seq/python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/contrib/seq2seq/python/ops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/examples/how_tos/reading_data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/word2vec/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/python/estimator/inputs/queues/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tools/pip_package/README: -------------------------------------------------------------------------------- 1 | TensorFlow 2 | -------------------------------------------------------------------------------- /third_party/eigen3/Eigen/LU: -------------------------------------------------------------------------------- 1 | #include "Eigen/LU" 2 | -------------------------------------------------------------------------------- /third_party/eigen3/Eigen/QR: -------------------------------------------------------------------------------- 1 | #include "Eigen/QR" 2 | -------------------------------------------------------------------------------- /third_party/eigen3/Eigen/SVD: -------------------------------------------------------------------------------- 1 | #include "Eigen/SVD" 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/seq2seq/python/kernel_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/contrib/tfprof/python/tools/tfprof/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/contrib/training/python/training/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) # Apache 2.0 2 | -------------------------------------------------------------------------------- /third_party/eigen3/Eigen/Core: -------------------------------------------------------------------------------- 1 | #include "Eigen/Core" 2 | -------------------------------------------------------------------------------- /tensorflow/compiler/xla/README.md: -------------------------------------------------------------------------------- 1 | This is the home of XLA. 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/makefile/.gitignore: -------------------------------------------------------------------------------- 1 | gen/ 2 | downloads/ 3 | -------------------------------------------------------------------------------- /third_party/eigen3/Eigen/Cholesky: -------------------------------------------------------------------------------- 1 | #include "Eigen/Cholesky" 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/legacy_seq2seq/python/kernel_tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "components" 3 | } -------------------------------------------------------------------------------- /third_party/eigen3/Eigen/Eigenvalues: -------------------------------------------------------------------------------- 1 | #include "Eigen/Eigenvalues" 2 | -------------------------------------------------------------------------------- /tensorflow/docs_src/about/leftnav_files: -------------------------------------------------------------------------------- 1 | index.md 2 | bib.md 3 | uses.md 4 | -------------------------------------------------------------------------------- /tensorflow/examples/udacity/.gitignore: -------------------------------------------------------------------------------- 1 | notMNIST_large* 2 | notMNIST_small* 3 | -------------------------------------------------------------------------------- /tensorflow/docs_src/community/leftnav_files: -------------------------------------------------------------------------------- 1 | documentation.md 2 | style_guide.md 3 | -------------------------------------------------------------------------------- /tensorflow/docs_src/deploy/leftnav_files: -------------------------------------------------------------------------------- 1 | hadoop.md 2 | distributed.md 3 | tfserve.md 4 | -------------------------------------------------------------------------------- /tensorflow/tf_exported_symbols.lds: -------------------------------------------------------------------------------- 1 | *tensorflow* 2 | *perftools*gputools* 3 | *tf_* 4 | -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two/00000123/assets/foo.txt: -------------------------------------------------------------------------------- 1 | asset-file-contents -------------------------------------------------------------------------------- /tensorflow/opensource_only/eigen.threadpool: -------------------------------------------------------------------------------- 1 | #include "unsupported/Eigen/CXX11/ThreadPool" 2 | -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/assets/foo.txt: -------------------------------------------------------------------------------- 1 | asset-file-contents -------------------------------------------------------------------------------- /tensorflow/go/genop/.gitignore: -------------------------------------------------------------------------------- 1 | # .pb.go files generated by generate.sh 2 | internal/proto/* 3 | -------------------------------------------------------------------------------- /third_party/eigen3/unsupported/Eigen/CXX11/ThreadPool: -------------------------------------------------------------------------------- 1 | #include "unsupported/Eigen/CXX11/ThreadPool" 2 | -------------------------------------------------------------------------------- /third_party/eigen3/unsupported/Eigen/SpecialFunctions: -------------------------------------------------------------------------------- 1 | #include "unsupported/Eigen/SpecialFunctions" 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/session_bundle/testdata/half_plus_two_ckpt_v2/00000123/export.data-00000-of-00001: -------------------------------------------------------------------------------- 1 | ?@ -------------------------------------------------------------------------------- /tensorflow/java/config/exported_symbols.lds: -------------------------------------------------------------------------------- 1 | *Java_org_tensorflow_* 2 | *JNI_OnLoad 3 | *JNI_OnUnload 4 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/logdir: -------------------------------------------------------------------------------- 1 | {"logdir": "/foo/some/fake/logdir"} -------------------------------------------------------------------------------- /tensorflow/tools/proto_text/placeholder.txt: -------------------------------------------------------------------------------- 1 | Contents are unused. See gen_proto_functions.cc for details. 2 | -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two/00000123/variables/variables.data-00000-of-00001: -------------------------------------------------------------------------------- 1 | ?@@@ -------------------------------------------------------------------------------- /tensorflow/compiler/xla/.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: Google 2 | Language: Cpp 3 | PointerBindsToType: true 4 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_distribution_dashboard/demo/data/logdir: -------------------------------------------------------------------------------- 1 | {"logdir": "/foo/some/fake/logdir"} -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/variables/variables.data-00000-of-00001: -------------------------------------------------------------------------------- 1 | ?@@@ -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/patches/gemmlowp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.3) 2 | 3 | project(gemmlowp) -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": 3, 3 | "bar": "zoidberg" 4 | } 5 | -------------------------------------------------------------------------------- /tensorflow/contrib/learn/python/learn/datasets/data/text_test.csv: -------------------------------------------------------------------------------- 1 | 2,"Sergey Brin","Sergey Brin is the co-founder of Google." 2 | -------------------------------------------------------------------------------- /tensorflow/compiler/xla/service/llvm_ir/README.md: -------------------------------------------------------------------------------- 1 | Common utilites and abstractions for handling and emitting LLVM IR for XLA 2 | backends. 3 | -------------------------------------------------------------------------------- /tensorflow/core/lib/gif/testdata/scan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/gif/testdata/scan.gif -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.opt.md: -------------------------------------------------------------------------------- 1 | # Optimization (contrib) 2 | [TOC] 3 | 4 | opt: A module containing optimization routines. 5 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/histogram_ops.md: -------------------------------------------------------------------------------- 1 | # Histograms 2 | [TOC] 3 | 4 | ## Histograms 5 | 6 | * @{tf.histogram_fixed_width} 7 | -------------------------------------------------------------------------------- /tensorflow/docs_src/install/leftnav_files: -------------------------------------------------------------------------------- 1 | install_linux.md 2 | install_mac.md 3 | install_windows.md 4 | install_sources.md 5 | migration.md 6 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/test/data/runs.json: -------------------------------------------------------------------------------- 1 | {"run1": {"audio": ["foo", "bar"]}, "run2": {"audio": ["bar", "zod"]}} 2 | -------------------------------------------------------------------------------- /tensorflow/tf_version_script.lds: -------------------------------------------------------------------------------- 1 | tensorflow { 2 | global: 3 | *tensorflow*; 4 | *perftools*gputools*; 5 | local: 6 | *; 7 | }; 8 | -------------------------------------------------------------------------------- /tensorflow/tools/pip_package/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README 2 | recursive-include * *.py 3 | recursive-include * *.so 4 | recursive-include * *.csv 5 | -------------------------------------------------------------------------------- /tensorflow/contrib/factorization/g3doc/gmm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/factorization/g3doc/gmm.png -------------------------------------------------------------------------------- /tensorflow/contrib/factorization/g3doc/wals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/factorization/g3doc/wals.png -------------------------------------------------------------------------------- /tensorflow/core/lib/gif/testdata/optimized.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/gif/testdata/optimized.gif -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/corrupt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/corrupt.jpg -------------------------------------------------------------------------------- /tensorflow/core/lib/png/testdata/lena_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/png/testdata/lena_gray.png -------------------------------------------------------------------------------- /tensorflow/core/lib/png/testdata/lena_rgba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/png/testdata/lena_rgba.png -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run1_tag_bar_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run1_tag_foo_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run2_tag_bar_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run2_tag_foo_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 2.0], [20.0, 2, 8.0], [30.0, 3, 18.0], [40.0, 4, 32.0]] -------------------------------------------------------------------------------- /tensorflow/tools/tfprof/internal/testdata/ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tools/tfprof/internal/testdata/ckpt -------------------------------------------------------------------------------- /tensorflow/contrib/android/cmake/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | TensorFlowInference 3 | 4 | -------------------------------------------------------------------------------- /tensorflow/contrib/factorization/g3doc/kmeans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/factorization/g3doc/kmeans.png -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/mono_10khz.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/mono_10khz.ogg -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/mono_10khz.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/mono_10khz.wav -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/mono_16khz.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/mono_16khz.mp3 -------------------------------------------------------------------------------- /tensorflow/contrib/ios_examples/.gitignore: -------------------------------------------------------------------------------- 1 | project.xcworkspace 2 | xcuserdata 3 | imagenet_comp_graph_label_strings.txt 4 | tensorflow_inception_graph.pb 5 | -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/bad_huffman.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/bad_huffman.jpg -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/corrupt34_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/corrupt34_2.jpg -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/corrupt34_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/corrupt34_3.jpg -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/corrupt34_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/corrupt34_4.jpg -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports/README.md: -------------------------------------------------------------------------------- 1 | This file acts as import routers for third party javascript libraries, 2 | e.g. Plottable and D3. 3 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/windows/cpu/pip/run.bat: -------------------------------------------------------------------------------- 1 | c:\tools\msys64\usr\bin\bash -l %cd%/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh %* 2 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/windows/gpu/pip/run.bat: -------------------------------------------------------------------------------- 1 | c:\tools\msys64\usr\bin\bash -l %cd%/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh %* 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/stereo_48khz.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/stereo_48khz.mp3 -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/test_sound1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/test_sound1.mp3 -------------------------------------------------------------------------------- /tensorflow/contrib/ios_examples/camera/squarePNG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ios_examples/camera/squarePNG.png -------------------------------------------------------------------------------- /tensorflow/examples/how_tos/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | from __future__ import division 3 | from __future__ import print_function 4 | -------------------------------------------------------------------------------- /tensorflow/tools/tfprof/internal/testdata/run_meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tools/tfprof/internal/testdata/run_meta -------------------------------------------------------------------------------- /tensorflow/tools/tfprof/internal/testdata/tfprof_log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tools/tfprof/internal/testdata/tfprof_log -------------------------------------------------------------------------------- /tensorflow/.clang-format: -------------------------------------------------------------------------------- 1 | # Run manually to reformat a file: 2 | # clang-format -i --style=file 3 | BasedOnStyle: Google 4 | DerivePointerAlignment: false 5 | -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/mono_16khz_mp3.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/mono_16khz_mp3.mp4 -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/mono_32khz_aac.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/mono_32khz_aac.mp4 -------------------------------------------------------------------------------- /tensorflow/contrib/pi_examples/.gitignore: -------------------------------------------------------------------------------- 1 | tensorflow_inception_graph.pb 2 | imagenet_comp_graph_label_strings.txt 3 | tensorflow_inception_stripped.pb 4 | */gen/ 5 | -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/jpeg_merge_test1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/jpeg_merge_test1.jpg -------------------------------------------------------------------------------- /tensorflow/examples/android/sample_images/detect1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/sample_images/detect1.jpg -------------------------------------------------------------------------------- /tensorflow/examples/android/sample_images/stylize1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/sample_images/stylize1.jpg -------------------------------------------------------------------------------- /tensorflow/examples/label_image/data/grace_hopper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/label_image/data/grace_hopper.jpg -------------------------------------------------------------------------------- /tensorflow/examples/multibox_detector/data/surfers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/multibox_detector/data/surfers.jpg -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/deepdream/pilatus800.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/tutorials/deepdream/pilatus800.jpg -------------------------------------------------------------------------------- /tensorflow/tensorboard/wct.conf.json: -------------------------------------------------------------------------------- 1 | { 2 | "suites": [ 3 | "components/tf_*/test", 4 | "components/vz_*/test" 5 | ], 6 | "plugins": ["local"] 7 | } 8 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/windows/cpu/bazel/run_libtensorflow.bat: -------------------------------------------------------------------------------- 1 | c:\tools\msys64\usr\bin\bash -l %cd%/tensorflow/tools/ci_build/windows/libtensorflow_cpu.sh %* 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/stereo_48khz_aac.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/stereo_48khz_aac.mp4 -------------------------------------------------------------------------------- /tensorflow/contrib/ffmpeg/testdata/stereo_48khz_mp3.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ffmpeg/testdata/stereo_48khz_mp3.mp4 -------------------------------------------------------------------------------- /tensorflow/contrib/framework/README.md: -------------------------------------------------------------------------------- 1 | # TensorFlow contrib framework. 2 | 3 | Common TensorFlow utilities, mostly used by tf.contrib.layers and 4 | tf.contrib.losses. 5 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-hdpi/tile.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-hdpi/tile.9.png -------------------------------------------------------------------------------- /tensorflow/examples/android/sample_images/classify1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/sample_images/classify1.jpg -------------------------------------------------------------------------------- /tensorflow/java/src/main/java/org/tensorflow/examples/.gitignore: -------------------------------------------------------------------------------- 1 | # .class files generated when building examples using javac 2 | # as described in README.md 3 | *.class 4 | -------------------------------------------------------------------------------- /third_party/sycl/sycl/platform.bzl.tpl: -------------------------------------------------------------------------------- 1 | def sycl_library_path(name): 2 | return "lib/lib{}.so".format(name) 3 | 4 | def readlink_command(): 5 | return "readlink" 6 | -------------------------------------------------------------------------------- /tensorflow/contrib/benchmark_tools/README.md: -------------------------------------------------------------------------------- 1 | # Benchmarking Scripts 2 | 3 | This directory tree contains a set of scripts that are useful when benchmarking 4 | TensorFlow. 5 | -------------------------------------------------------------------------------- /tensorflow/core/lib/jpeg/testdata/jpeg_merge_test1_cmyk.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/core/lib/jpeg/testdata/jpeg_merge_test1_cmyk.jpg -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.copy_graph.md: -------------------------------------------------------------------------------- 1 | # Copying Graph Elements (contrib) 2 | [TOC] 3 | 4 | Functions for copying elements from one graph to another. 5 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/scalars.json: -------------------------------------------------------------------------------- 1 | {"run1": {"cross_entropy (1)": [[0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]]}} -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/windows/cpu/bazel/run_cc_test_windows.bat: -------------------------------------------------------------------------------- 1 | c:\tools\msys64\usr\bin\bash -l %cd%/tensorflow/tools/ci_build/windows/cpu/bazel/run_cc_test_windows.sh %* 2 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/windows/gpu/bazel/run_cc_test_windows.bat: -------------------------------------------------------------------------------- 1 | c:\tools\msys64\usr\bin\bash -l %cd%/tensorflow/tools/ci_build/windows/gpu/bazel/run_cc_test_windows.sh %* 2 | -------------------------------------------------------------------------------- /tensorflow/contrib/ios_examples/camera/data/grace_hopper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ios_examples/camera/data/grace_hopper.jpg -------------------------------------------------------------------------------- /tensorflow/contrib/ios_examples/simple/data/grace_hopper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ios_examples/simple/data/grace_hopper.jpg -------------------------------------------------------------------------------- /tensorflow/contrib/learn/python/learn/estimators/g3doc/svm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/learn/python/learn/estimators/g3doc/svm.png -------------------------------------------------------------------------------- /tensorflow/contrib/linear_optimizer/kernels/g3doc/newton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/linear_optimizer/kernels/g3doc/newton.png -------------------------------------------------------------------------------- /tensorflow/docs_src/extras/README.txt: -------------------------------------------------------------------------------- 1 | This directory holds extra files we'd like to be able 2 | to link to and serve from within tensorflow.org. 3 | They are excluded from versioning. -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/images_run_run1_tag_im1.json: -------------------------------------------------------------------------------- 1 | [{"wall_time": 0, "step": 0, "query": "index=0&tag=im1&run=run1", "width": 1, "height": 1}] 2 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/scalars_run_run1_tag_cross_entropy__281_29.json: -------------------------------------------------------------------------------- 1 | [[0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run1_tag_bar_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run1_tag_foo_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run2_tag_bar_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 1.0], [20.0, 2, 4.0], [30.0, 3, 9.0], [40.0, 4, 16.0]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run2_tag_foo_2Fsquare.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 2.0], [20.0, 2, 8.0], [30.0, 3, 18.0], [40.0, 4, 32.0]] -------------------------------------------------------------------------------- /tensorflow/contrib/ios_examples/benchmark/data/grace_hopper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/ios_examples/benchmark/data/grace_hopper.jpg -------------------------------------------------------------------------------- /tensorflow/contrib/linear_optimizer/kernels/g3doc/mod_newton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/linear_optimizer/kernels/g3doc/mod_newton.png -------------------------------------------------------------------------------- /tensorflow/contrib/pi_examples/label_image/data/grace_hopper.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/pi_examples/label_image/data/grace_hopper.jpg -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-hdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-hdpi/ic_action_info.png -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-mdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-mdpi/ic_action_info.png -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/audio_run_run1_tag_audio1.json: -------------------------------------------------------------------------------- 1 | [{"wall_time": 0, "step": 0, "query": "index=0&tag=audio1&run=run1", "content_type": "audio/wav"}] 2 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/graph_run_run1.pbtxt: -------------------------------------------------------------------------------- 1 | node { 2 | name: "a" 3 | op: "matmul" 4 | } 5 | node { 6 | name: "b" 7 | op: "matmul" 8 | input: "a:0" 9 | } 10 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-xhdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-xhdpi/ic_action_info.png -------------------------------------------------------------------------------- /tensorflow/examples/android/res/drawable-xxhdpi/ic_action_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/examples/android/res/drawable-xxhdpi/ic_action_info.png -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/images_run_run1_tag_im1_2Fimage_2F0.json: -------------------------------------------------------------------------------- 1 | [{"wall_time": 1459200389.088045, "width": 4, "height": 4, "step": 0, "query": "tag=im1%2Fimage%2F0&index=0&run=run1"}] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/images_run_run1_tag_im2_2Fimage_2F0.json: -------------------------------------------------------------------------------- 1 | [{"wall_time": 1459200389.093653, "width": 4, "height": 4, "step": 0, "query": "tag=im2%2Fimage%2F0&index=0&run=run1"}] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/images_run_run2_tag_im1_2Fimage_2F0.json: -------------------------------------------------------------------------------- 1 | [{"wall_time": 1459200389.117463, "width": 4, "height": 4, "step": 0, "query": "tag=im1%2Fimage%2F0&index=0&run=run2"}] -------------------------------------------------------------------------------- /tensorflow/docs_src/extend/leftnav_files: -------------------------------------------------------------------------------- 1 | architecture.md 2 | adding_an_op.md 3 | add_filesys.md 4 | language_bindings.md 5 | new_data_formats.md 6 | estimators.md 7 | tool_developers/index.md 8 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/audio_run_run1_tag_au1_2Faudio_2F0.json: -------------------------------------------------------------------------------- 1 | [{"query": "index=0&tag=au1%2Faudio%2F0&run=run1", "step": 0, "wall_time": 1461795049.203407, "content_type": "audio/wav"}] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/audio_run_run2_tag_au2_2Faudio_2F0.json: -------------------------------------------------------------------------------- 1 | [{"query": "index=0&tag=au2%2Faudio%2F0&run=run2", "step": 0, "wall_time": 1461795049.212815, "content_type": "audio/wav"}] -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb -------------------------------------------------------------------------------- /tensorflow/contrib/seq2seq/README.md: -------------------------------------------------------------------------------- 1 | # TensorFlow contrib seq2seq layers and losses 2 | 3 | ## Layers 4 | 5 | Information to be added. 6 | 7 | ## Losses 8 | 9 | Information to be added. 10 | -------------------------------------------------------------------------------- /tensorflow/python/debug/examples/README.md: -------------------------------------------------------------------------------- 1 | Hi, there! 2 | 3 | The documentation of **TensorFlow Debugger (tfdbg)** has moved to 4 | [this new location](../../../g3doc/how_tos/debugger/index.md). 5 | -------------------------------------------------------------------------------- /tensorflow/contrib/learn/python/learn/datasets/data/text_train.csv: -------------------------------------------------------------------------------- 1 | 1,"Google","Google is a company." 2 | 2,"Larry Page","Larry Page is the co-founder of Google." 3 | 3,"Time","Time is a news magazine." 4 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_distribution_dashboard/demo/data/runs.json: -------------------------------------------------------------------------------- 1 | { 2 | "run1": {"compressedHistograms": ["histo1"]}, 3 | "run2": {"compressedHistograms": ["histo2", "histo1"]} 4 | } 5 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run1_tag_foo_2Fsin.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 0.8414709568023682], [20.0, 2, 0.9092974066734314], [30.0, 3, 0.14112000167369843], [40.0, 4, -0.756802499294281]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run2_tag_foo_2Fcos.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 2.0], [10.0, 1, 1.0806045532226562], [20.0, 2, -0.832293689250946], [30.0, 3, -1.979984998703003], [40.0, 4, -1.3072872161865234]] -------------------------------------------------------------------------------- /tensorflow/contrib/session_bundle/testdata/half_plus_two/00000123/export.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/session_bundle/testdata/half_plus_two/00000123/export.meta -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_tensorboard/test/data/graph_run_run1.pbtxt: -------------------------------------------------------------------------------- 1 | node { 2 | name: "a" 3 | op: "matmul" 4 | } 5 | node { 6 | name: "b" 7 | op: "matmul" 8 | input: "a:0" 9 | } 10 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/scalars_run_run1_tag_foo_2Fcos.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 1.0], [10.0, 1, 0.5403022766113281], [20.0, 2, -0.416146844625473], [30.0, 3, -0.9899924993515015], [40.0, 4, -0.6536436080932617]] -------------------------------------------------------------------------------- /tensorflow/contrib/linear_optimizer/kernels/g3doc/newton_compare_experiment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/linear_optimizer/kernels/g3doc/newton_compare_experiment.png -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two/00000123/variables/variables.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/cc/saved_model/testdata/half_plus_two/00000123/variables/variables.index -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/audio_run_run1_tag_au1_2Faudio_2F0.json: -------------------------------------------------------------------------------- 1 | [{"query": "index=0&tag=au1%2Faudio%2F0&run=run1", "step": 0, "wall_time": 1461795049.203407, "content_type": "audio/wav"}] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/audio_run_run2_tag_au2_2Faudio_2F0.json: -------------------------------------------------------------------------------- 1 | [{"query": "index=0&tag=au2%2Faudio%2F0&run=run2", "step": 0, "wall_time": 1461795049.212815, "content_type": "audio/wav"}] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/runs.json: -------------------------------------------------------------------------------- 1 | { 2 | "run1": {"scalars": ["foo/sin", "foo/cos", "foo/square", "bar/square"]}, 3 | "run2": {"scalars": ["foo/cos", "foo/square", "bar/square"]} 4 | } -------------------------------------------------------------------------------- /tensorflow/contrib/session_bundle/testdata/half_plus_two/00000123/export-00000-of-00001: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/session_bundle/testdata/half_plus_two/00000123/export-00000-of-00001 -------------------------------------------------------------------------------- /tensorflow/contrib/session_bundle/testdata/half_plus_two_ckpt_v2/00000123/export.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/session_bundle/testdata/half_plus_two_ckpt_v2/00000123/export.index -------------------------------------------------------------------------------- /tensorflow/contrib/session_bundle/testdata/half_plus_two_ckpt_v2/00000123/export.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/contrib/session_bundle/testdata/half_plus_two_ckpt_v2/00000123/export.meta -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/runs.json: -------------------------------------------------------------------------------- 1 | { 2 | "run1": 3 | { 4 | "audio": ["au1/audio/0"] 5 | }, 6 | "run2": 7 | { 8 | "audio": ["au2/audio/0"] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/variables/variables.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/variables/variables.index -------------------------------------------------------------------------------- /tensorflow/java/config/version_script.lds: -------------------------------------------------------------------------------- 1 | VERS_1.0 { 2 | # Export JNI symbols. 3 | global: 4 | Java_*; 5 | JNI_OnLoad; 6 | JNI_OnUnload; 7 | 8 | # Hide everything else. 9 | local: 10 | *; 11 | }; 12 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/individualAudio_index_0_tag_au1_2Faudio_2F0_run_run1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/demo/data/individualAudio_index_0_tag_au1_2Faudio_2F0_run_run1.wav -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/individualAudio_index_0_tag_au2_2Faudio_2F0_run_run2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/demo/data/individualAudio_index_0_tag_au2_2Faudio_2F0_run_run2.wav -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/individualImage_tag_im1_2Fimage_2F0_index_0_run_run1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/demo/data/individualImage_tag_im1_2Fimage_2F0_index_0_run_run1.png -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/individualImage_tag_im1_2Fimage_2F0_index_0_run_run2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/demo/data/individualImage_tag_im1_2Fimage_2F0_index_0_run_run2.png -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/individualImage_tag_im2_2Fimage_2F0_index_0_run_run1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/demo/data/individualImage_tag_im2_2Fimage_2F0_index_0_run_run1.png -------------------------------------------------------------------------------- /third_party/llvm/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) 2 | 3 | py_binary( 4 | name = "expand_cmake_vars", 5 | srcs = ["expand_cmake_vars.py"], 6 | srcs_version = "PY2AND3", 7 | visibility = ["@llvm//:__subpackages__"], 8 | ) 9 | -------------------------------------------------------------------------------- /tensorflow/contrib/android/jni/version_script.lds: -------------------------------------------------------------------------------- 1 | VERS_1.0 { 2 | # Export JNI symbols. 3 | global: 4 | Java_*; 5 | JNI_OnLoad; 6 | JNI_OnUnload; 7 | 8 | # Hide everything else. 9 | local: 10 | *; 11 | }; 12 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports_google/README.md: -------------------------------------------------------------------------------- 1 | This file acts as import routers for third party javascript libraries, 2 | e.g. Plottable and D3 from `g3/third_party`; it exists to facilitate development 3 | inside google. 4 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run1_tag_foo_2Fcos.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 1.0], [10.0, 1, 0.5403022766113281], [20.0, 2, -0.416146844625473], [30.0, 3, -0.9899924993515015], [40.0, 4, -0.6536436080932617]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run1_tag_foo_2Fsin.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 0.0], [10.0, 1, 0.8414709568023682], [20.0, 2, 0.9092974066734314], [30.0, 3, 0.14112000167369843], [40.0, 4, -0.756802499294281]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/scalars_run_run2_tag_foo_2Fcos.json: -------------------------------------------------------------------------------- 1 | [[0.0, 0, 2.0], [10.0, 1, 1.0806045532226562], [20.0, 2, -0.832293689250946], [30.0, 3, -1.979984998703003], [40.0, 4, -1.3072872161865234]] -------------------------------------------------------------------------------- /tensorflow/docs_src/get_started/leftnav_files: -------------------------------------------------------------------------------- 1 | get_started.md 2 | mnist/beginners.md 3 | mnist/pros.md 4 | mnist/mechanics.md 5 | tflearn.md 6 | input_fn.md 7 | summaries_and_tensorboard.md 8 | embedding_viz.md 9 | graph_viz.md 10 | monitors.md 11 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/individualImage_index_0_tag_im1_run_run1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/components/tf_backend/test/data/individualImage_index_0_tag_im1_run_run1.png -------------------------------------------------------------------------------- /tensorflow/docs_src/performance/leftnav_files: -------------------------------------------------------------------------------- 1 | performance_guide.md 2 | xla/index.md 3 | xla/broadcasting.md 4 | xla/developing_new_backend.md 5 | xla/jit.md 6 | xla/operation_semantics.md 7 | xla/shapes.md 8 | xla/tfcompile.md 9 | quantization.md 10 | -------------------------------------------------------------------------------- /tensorflow/contrib/graph_editor/README.md: -------------------------------------------------------------------------------- 1 | # TensorFlow Graph Editor 2 | 3 | The TensorFlow Graph Editor library allows for modification of an existing 4 | tf.Graph instance in-place. 5 | 6 | The author's github username is [purpledog](https://github.com/purpledog). 7 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_tensorboard/test/data/runs.json: -------------------------------------------------------------------------------- 1 | {"run2": {"graph": true, "histograms": [], "scalars": [], "compressedHistograms": [], "images": []}, "run1": {"graph": true, "histograms": [], "scalars": [], "compressedHistograms": [], "images": []}} 2 | -------------------------------------------------------------------------------- /tensorflow/core/platform/cloud/testdata/application_default_credentials.json: -------------------------------------------------------------------------------- 1 | { 2 | "client_id": "fake-client-id.apps.googleusercontent.com", 3 | "client_secret": "fake-client-secret", 4 | "refresh_token": "fake-refresh-token", 5 | "type": "authorized_user" 6 | } 7 | -------------------------------------------------------------------------------- /tensorflow/docs_src/tutorials/leftnav_files: -------------------------------------------------------------------------------- 1 | mandelbrot.md 2 | pdes.md 3 | deep_cnn.md 4 | image_recognition.md 5 | image_retraining.md 6 | word2vec.md 7 | recurrent.md 8 | seq2seq.md 9 | layers.md 10 | linear.md 11 | wide.md 12 | wide_and_deep.md 13 | using_gpu.md 14 | -------------------------------------------------------------------------------- /tensorflow/compiler/aot/tests/test_graph_tfadd_with_ckpt.config.pbtxt: -------------------------------------------------------------------------------- 1 | # Text form of tensorflow.tfcompile.Config proto. 2 | feed { 3 | id { node_name: "x_hold" } 4 | shape { 5 | dim { size: 1 } 6 | } 7 | } 8 | fetch { 9 | id { node_name: "x_y_sum" } 10 | } 11 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/graph_run_run2.pbtxt: -------------------------------------------------------------------------------- 1 | node { 2 | name: "a" 3 | op: "matmul" 4 | } 5 | node { 6 | name: "b" 7 | op: "matmul" 8 | input: "a:0" 9 | } 10 | node { 11 | name: "c" 12 | op: "matmul" 13 | input: "a:0" 14 | input: "b:0" 15 | } 16 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/individualAudio_index_0_tag_au1_2Faudio_2F0_run_run1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/individualAudio_index_0_tag_au1_2Faudio_2F0_run_run1.wav -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/individualAudio_index_0_tag_au2_2Faudio_2F0_run_run2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YahooArchive/tensorflow/HEAD/tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/individualAudio_index_0_tag_au2_2Faudio_2F0_run_run2.wav -------------------------------------------------------------------------------- /tensorflow/docs_src/programmers_guide/leftnav_files: -------------------------------------------------------------------------------- 1 | reading_data.md 2 | threading_and_queues.md 3 | variable_scope.md 4 | version_semantics.md 5 | data_versions.md 6 | supervisor.md 7 | debugger.md 8 | tfdbg-tflearn.md 9 | meta_graph.md 10 | faq.md 11 | dims_types.md 12 | variables.md 13 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_tensorboard/test/data/graph_run_run2.pbtxt: -------------------------------------------------------------------------------- 1 | node { 2 | name: "a" 3 | op: "matmul" 4 | } 5 | node { 6 | name: "b" 7 | op: "matmul" 8 | input: "a:0" 9 | } 10 | node { 11 | name: "c" 12 | op: "matmul" 13 | input: "a:0" 14 | input: "b:0" 15 | } 16 | -------------------------------------------------------------------------------- /tensorflow/contrib/opt/README.md: -------------------------------------------------------------------------------- 1 | # Optimization package 2 | 3 | Contains the following experimental optimization functionality: 4 | 5 | * Support for controlling a TensorFlow session using external optimization 6 | algorithms. 7 | * L2-norm clipping of weights 8 | 9 | Maintainer: joshburkart 10 | -------------------------------------------------------------------------------- /third_party/linenoise.BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) # 2-clause BSD 2 | 3 | exports_files(["LICENSE"]) 4 | 5 | package( 6 | default_visibility = ["//visibility:public"], 7 | ) 8 | 9 | cc_library( 10 | name = "linenoise", 11 | srcs = ["linenoise.c"], 12 | hdrs = ["linenoise.h"], 13 | ) 14 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.bayesflow.stochastic_graph.md: -------------------------------------------------------------------------------- 1 | # BayesFlow Stochastic Graph (contrib) 2 | [TOC] 3 | 4 | Classes and helper functions for Stochastic Computation Graphs. 5 | 6 | ## Stochastic Computation Graph Helper Functions 7 | 8 | * @{tf.contrib.bayesflow.stochastic_graph.surrogate_loss} 9 | -------------------------------------------------------------------------------- /.mention-bot: -------------------------------------------------------------------------------- 1 | { 2 | "maxReviewers": 2, 3 | "numFilesToCheck": 10, 4 | "userBlacklist": ["tensorflower-gardener"], 5 | "requiredOrgs": ["tensorflow"], 6 | "skipAlreadyAssignedPR": true, 7 | "skipAlreadyMentionedPR": true, 8 | "skipTitle": "Branch", 9 | "delayed": true, 10 | "delayedUntil": "10m" 11 | } 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .ipynb_checkpoints 3 | node_modules 4 | /bazel-* 5 | /third_party/py/numpy/numpy_include 6 | /tools/bazel.rc 7 | /tools/python_bin_path.sh 8 | /tools/git/gen 9 | /util/python/python_include 10 | /util/python/python_lib 11 | /pip_test 12 | /_python_build 13 | *.pyc 14 | __pycache__ 15 | *.swp 16 | .vscode/ -------------------------------------------------------------------------------- /tensorflow/tensorboard/CHANGES: -------------------------------------------------------------------------------- 1 | --- 2 --- 2 | Begin tracking TensorBoard changes. 3 | 4 | --- 3 --- 5 | Change default # of scalar values to 1000 6 | Fix bug where TensorBoard discards all values after a restart. 7 | 8 | --- 4 --- 9 | Fix another case where TensorBoard discards values after a restart. 10 | Add a "toggle all runs" button. -------------------------------------------------------------------------------- /tensorflow/core/lib/io/table_format.txt: -------------------------------------------------------------------------------- 1 | File format 2 | =========== 3 | 4 | The table format is similar to the table format for the LevelDB 5 | open source key/value store, with the exception that our tables 6 | do not support "filter" meta blocks (Bloom Filters). See: 7 | 8 | https://github.com/google/leveldb/blob/master/doc/table_format.txt 9 | -------------------------------------------------------------------------------- /tensorflow/contrib/labeled_tensor/README.md: -------------------------------------------------------------------------------- 1 | # Labels for TensorFlow 2 | 3 | LabeledTensor is a library for adding semantically meaningful dimension and 4 | coordinate labels to tensors in Tensorflow. 5 | 6 | Maintainers: 7 | - Stephan Hoyer (shoyer@google.com, github.com/shoyer) 8 | - Eric Christiansen (ericmc@google.com, github.com/emchristiansen) 9 | -------------------------------------------------------------------------------- /tensorflow/compiler/aot/test_graph_tfadd.config.pbtxt: -------------------------------------------------------------------------------- 1 | # Text form of tensorflow.tfcompile.Config proto. 2 | feed { 3 | id { node_name: "x_const" } 4 | shape { 5 | dim { size: 1 } 6 | } 7 | } 8 | feed { 9 | id { node_name: "y_const" } 10 | shape { 11 | dim { size: 1 } 12 | } 13 | } 14 | fetch { 15 | id { node_name: "x_y_sum" } 16 | } 17 | -------------------------------------------------------------------------------- /tensorflow/contrib/android/cmake/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/pep8: -------------------------------------------------------------------------------- 1 | [pep8] 2 | 3 | # Skip errors and warnings 4 | # E111 indentation is not a multiple of four 5 | # E114 indentation is not a multiple of four (comment) 6 | ignore=E114,E111 7 | 8 | # Set maximum allowed line length (default: 79) 9 | max-line-length=80 10 | 11 | # Set the error format [default|pylint|] 12 | format=pylint -------------------------------------------------------------------------------- /tensorflow/compiler/aot/tests/test_graph_tfadd.config.pbtxt: -------------------------------------------------------------------------------- 1 | # Text form of tensorflow.tfcompile.Config proto. 2 | feed { 3 | id { node_name: "x_const" } 4 | shape { 5 | dim { size: 1 } 6 | } 7 | } 8 | feed { 9 | id { node_name: "y_const" } 10 | shape { 11 | dim { size: 1 } 12 | } 13 | } 14 | fetch { 15 | id { node_name: "x_y_sum" } 16 | } 17 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/plugins/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # A plugin system for TensorBoard 3 | 4 | package(default_visibility = ["//tensorflow:internal"]) 5 | 6 | licenses(["notice"]) # Apache 2.0 7 | 8 | exports_files(["LICENSE"]) 9 | 10 | py_library( 11 | name = "base_plugin", 12 | srcs = ["base_plugin.py"], 13 | srcs_version = "PY2AND3", 14 | ) 15 | -------------------------------------------------------------------------------- /tensorflow/compiler/aot/tests/test_graph_tfgather.config.pbtxt: -------------------------------------------------------------------------------- 1 | # Text form of tensorflow.tfcompile.Config proto. 2 | feed { 3 | id { node_name: "params" } 4 | shape { 5 | dim { size: 4 } 6 | } 7 | } 8 | feed { 9 | id { node_name: "indices" } 10 | shape { 11 | dim { size: 2 } 12 | } 13 | } 14 | fetch { 15 | id { node_name: "gather_output" } 16 | } 17 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/script_ops.md: -------------------------------------------------------------------------------- 1 | # Wraps python functions 2 | 3 | Note: Functions taking `Tensor` arguments can also take anything accepted by 4 | @{tf.convert_to_tensor}. 5 | 6 | [TOC] 7 | 8 | ## Script Language Operators 9 | 10 | TensorFlow provides allows you to wrap python/numpy functions as 11 | TensorFlow operators. 12 | 13 | * @{tf.py_func} 14 | -------------------------------------------------------------------------------- /third_party/six.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Six provides simple utilities for wrapping over differences between Python 2 3 | # and Python 3. 4 | 5 | licenses(["notice"]) # MIT 6 | 7 | exports_files(["LICENSE"]) 8 | 9 | py_library( 10 | name = "six", 11 | srcs = ["six.py"], 12 | srcs_version = "PY2AND3", 13 | visibility = ["//visibility:public"], 14 | ) 15 | -------------------------------------------------------------------------------- /tensorflow/docs_src/install/index.md: -------------------------------------------------------------------------------- 1 | # Installing TensorFlow 2 | 3 | We have installation instructions for the following platform: 4 | 5 | * [Linux](install_linux.md) 6 | * [Mac OS X](install_mac.md) 7 | * [Windows](install_windows.md) 8 | * [From source](install_sources.md) 9 | 10 | We also have help for [migrating from previous versions of TensorFlow to v1.0](migration.md). 11 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "noImplicitAny": false, 4 | "noEmitOnError": true, 5 | "target": "ES5", 6 | "module": "commonjs" 7 | }, 8 | "compileOnSave": false, 9 | "exclude": [ 10 | "node_modules", 11 | "typings/main.d.ts", 12 | "typings/main", 13 | "lib", 14 | "components/**/deps.d.ts" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /third_party/sycl/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | filegroup( 6 | name = "all_files", 7 | srcs = glob( 8 | ["**/*"], 9 | exclude = [ 10 | "**/METADATA", 11 | "**/OWNERS", 12 | ], 13 | ), 14 | visibility = ["//tensorflow:__subpackages__"], 15 | ) 16 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of TensorFlow authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as: 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | Google Inc. 10 | Yuan Tang terrytangyuan@gmail.com 11 | -------------------------------------------------------------------------------- /tensorflow/contrib/makefile/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | MAINTAINER Gunhan Gulsoy 4 | 5 | # Install make build dependencies for TensorFlow. 6 | RUN apt-get update 7 | RUN apt-get install -y \ 8 | autoconf \ 9 | automake \ 10 | curl \ 11 | g++ \ 12 | git \ 13 | libtool \ 14 | make \ 15 | python \ 16 | unzip \ 17 | zlib1g-dev 18 | -------------------------------------------------------------------------------- /third_party/gpus/cuda/platform.bzl.tpl: -------------------------------------------------------------------------------- 1 | CUDA_VERSION = "%{cuda_version}" 2 | CUDNN_VERSION = "%{cudnn_version}" 3 | PLATFORM = "%{platform}" 4 | 5 | def cuda_sdk_version(): 6 | return CUDA_VERSION 7 | 8 | def cudnn_sdk_version(): 9 | return CUDNN_VERSION 10 | 11 | def readlink_command(): 12 | if PLATFORM == "Darwin": 13 | return "greadlink" 14 | else: 15 | return "readlink" 16 | -------------------------------------------------------------------------------- /tensorflow/contrib/integrate/README.md: -------------------------------------------------------------------------------- 1 | # Integration and ODE solvers for TensorFlow 2 | 3 | TensorFlow equivalents to the routines provided by `scipy.integrate`. Currently 4 | contains a single function, `odeint`, for integrating ordinary differential 5 | equations. 6 | 7 | Maintainers: 8 | - Stephan Hoyer (shoyer@google.com, github.com/shoyer) 9 | - Marc Coram (mcoram@google.com, github.com/mcoram) 10 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.crf.md: -------------------------------------------------------------------------------- 1 | # CRF (contrib) 2 | 3 | Linear-chain CRF layer. 4 | 5 | * @{tf.contrib.crf.crf_sequence_score} 6 | * @{tf.contrib.crf.crf_log_norm} 7 | * @{tf.contrib.crf.crf_log_likelihood} 8 | * @{tf.contrib.crf.crf_unary_score} 9 | * @{tf.contrib.crf.crf_binary_score} 10 | * @{tf.contrib.crf.CrfForwardRnnCell} 11 | * @{tf.contrib.crf.viterbi_decode} 12 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/input_fn/boston_predict.csv: -------------------------------------------------------------------------------- 1 | CRIM,ZN,INDUS,NOX,RM,AGE,DIS,TAX,PTRATIO 2 | 0.03359,75.0,2.95,0.428,7.024,15.8,5.4011,252,18.3 3 | 5.09017,0.0,18.1,0.713,6.297,91.8,2.3682,666,20.2 4 | 0.1265,25.0,5.13,0.453,6.762,43.4,7.9809,284,19.7 5 | 0.05515,33.0,2.18,0.472,7.236,41.1,4.022,222,18.4 6 | 8.15174,0.0,18.1,0.7,5.39,98.9,1.7281,666,20.2 7 | 0.24522,0.0,9.9,0.544,5.782,71.7,4.0317,304,18.4 8 | -------------------------------------------------------------------------------- /tensorflow/compiler/aot/tests/test_graph_tfmatmul.config.pbtxt: -------------------------------------------------------------------------------- 1 | # Text form of tensorflow.tfcompile.Config proto. 2 | feed { 3 | id { node_name: "x_hold" } 4 | shape { 5 | dim { size: 2 } 6 | dim { size: 3 } 7 | } 8 | } 9 | feed { 10 | id { node_name: "y_hold" } 11 | shape { 12 | dim { size: 3 } 13 | dim { size: 2 } 14 | } 15 | } 16 | fetch { 17 | id { node_name: "x_y_prod" } 18 | } 19 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.util.md: -------------------------------------------------------------------------------- 1 | # Utilities (contrib) 2 | [TOC] 3 | 4 | Utilities for dealing with Tensors. 5 | 6 | ## Miscellaneous Utility Functions 7 | 8 | * @{tf.contrib.util.constant_value} 9 | * @{tf.contrib.util.make_tensor_proto} 10 | * @{tf.contrib.util.make_ndarray} 11 | * @{tf.contrib.util.ops_used_by_graph_def} 12 | * @{tf.contrib.util.stripped_op_list_for_graph} 13 | -------------------------------------------------------------------------------- /models.BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | filegroup( 6 | name = "model_files", 7 | srcs = glob( 8 | [ 9 | "**/*", 10 | ], 11 | exclude = [ 12 | "**/BUILD", 13 | "**/WORKSPACE", 14 | "**/LICENSE", 15 | "**/*.zip", 16 | ], 17 | ), 18 | ) 19 | -------------------------------------------------------------------------------- /tensorflow/contrib/benchmark_tools/gce/README.md: -------------------------------------------------------------------------------- 1 | # Distributed Tensorflow on Google Compute Engine 2 | 3 | The scripts in this directory automate the work to run distributed TensorFlow on 4 | a cluster of GCE instances. 5 | 6 | ## Pre-work 7 | 8 | Before getting started, while GPUs on GCE are in Alpha, you will need to get 9 | your project whitelisted in order to get access. These scripts will not work 10 | until then. 11 | -------------------------------------------------------------------------------- /tensorflow/tools/docker/notebooks/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:private"]) 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | exports_files(["LICENSE"]) 6 | 7 | filegroup( 8 | name = "all_files", 9 | srcs = glob( 10 | ["**/*"], 11 | exclude = [ 12 | "**/METADATA", 13 | "**/OWNERS", 14 | ], 15 | ), 16 | visibility = ["//tensorflow:__subpackages__"], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorflow/core/kernels/cloud/bigquery_table_partition.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | 5 | // This proto specifies a table partition in BigQuery. 6 | message BigQueryTablePartition { 7 | // [start_index, end_index] specify the boundaries of a partition. 8 | // If end_index is -1, every row starting from start_index is part of the 9 | // partition. 10 | int64 start_index = 1; 11 | int64 end_index = 2; 12 | }; 13 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/Dockerfile.tensorboard: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | MAINTAINER Jan Prach 4 | 5 | # Copy and run the install scripts. 6 | COPY install/*.sh /install/ 7 | RUN /install/install_bootstrap_deb_packages.sh 8 | RUN add-apt-repository -y ppa:openjdk-r/ppa && \ 9 | add-apt-repository -y ppa:george-edison55/cmake-3.x 10 | RUN /install/install_deb_packages.sh 11 | RUN /install/install_tensorboard_packages.sh 12 | -------------------------------------------------------------------------------- /third_party/werkzeug.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Werkzeug provides utilities for making WSGI applications 3 | 4 | licenses(["notice"]) # BSD 3-Clause 5 | 6 | exports_files(["LICENSE"]) 7 | 8 | # Note: this library includes test code. Consider creating a testonly target. 9 | py_library( 10 | name = "werkzeug", 11 | srcs = glob(["werkzeug/*.py"]), 12 | srcs_version = "PY2AND3", 13 | visibility = ["//visibility:public"], 14 | ) 15 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.bayesflow.variational_inference.md: -------------------------------------------------------------------------------- 1 | # BayesFlow Variational Inference (contrib) 2 | [TOC] 3 | 4 | Variational inference. 5 | 6 | ## Ops 7 | 8 | * @{tf.contrib.bayesflow.variational_inference.elbo} 9 | * @{tf.contrib.bayesflow.variational_inference.elbo_with_log_joint} 10 | * @{tf.contrib.bayesflow.variational_inference.ELBOForms} 11 | * @{tf.contrib.bayesflow.variational_inference.register_prior} 12 | -------------------------------------------------------------------------------- /third_party/eigen3/unsupported/Eigen/CXX11/Tensor: -------------------------------------------------------------------------------- 1 | #ifdef _WIN32 2 | #define sleep(seconds) Sleep(1000*seconds) 3 | #endif // _WIN32 4 | #include "unsupported/Eigen/CXX11/Tensor" 5 | 6 | #ifdef _WIN32 7 | // On Windows, Eigen will include Windows.h, which defines various 8 | // macros that conflict with TensorFlow symbols. Undefine them here to 9 | // prevent clashes. 10 | #undef DeleteFile 11 | #undef ERROR 12 | #undef LoadLibrary 13 | #endif // _WIN32 14 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/Dockerfile.cmake: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | MAINTAINER Shanqing Cai 4 | 5 | # Copy and run the install scripts. 6 | COPY install/*.sh /install/ 7 | RUN /install/install_bootstrap_deb_packages.sh 8 | RUN /install/install_deb_packages.sh 9 | 10 | RUN pip install --upgrade numpy 11 | 12 | # Install golang 13 | RUN add-apt-repository -y ppa:ubuntu-lxc/lxd-stable 14 | RUN apt-get update 15 | RUN apt-get install -y golang 16 | -------------------------------------------------------------------------------- /tensorflow/compiler/xla/service/cpu/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """build_defs for service/cpu.""" 2 | 3 | def runtime_copts(): 4 | """Returns copts used for CPU runtime libraries.""" 5 | return (["-DEIGEN_AVOID_STL_ARRAY"] + 6 | select({ 7 | "//tensorflow:android_arm": ["-mfpu=neon"], 8 | "//conditions:default": []}) + 9 | select({ 10 | "//tensorflow:android": ["-O2"], 11 | "//conditions:default": []})) 12 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/session_ops.md: -------------------------------------------------------------------------------- 1 | # Tensor Handle Operations 2 | 3 | Note: Functions taking `Tensor` arguments can also take anything accepted by 4 | @{tf.convert_to_tensor}. 5 | 6 | [TOC] 7 | 8 | ## Tensor Handle Operations 9 | 10 | TensorFlow provides several operators that allows the user to keep tensors 11 | "in-place" across run calls. 12 | 13 | * @{tf.get_session_handle} 14 | * @{tf.get_session_tensor} 15 | * @{tf.delete_session_tensor} 16 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_audio_dashboard/demo/data/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorflow:internal"]) 2 | 3 | load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles") 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | webfiles( 8 | name = "data", 9 | srcs = glob(["*"]), 10 | path = "/tf-audio-dashboard/demo/data", 11 | ) 12 | 13 | filegroup( 14 | name = "all_files", 15 | srcs = glob(["**"]), 16 | tags = ["notsan"], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_scalar_dashboard/demo/data/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorflow:internal"]) 2 | 3 | load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles") 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | webfiles( 8 | name = "data", 9 | srcs = glob(["*"]), 10 | path = "/tf-scalar-dashboard/demo/data", 11 | ) 12 | 13 | filegroup( 14 | name = "all_files", 15 | srcs = glob(["**"]), 16 | tags = ["notsan"], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/lib/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # BUILD rules for the static resources in TensorBoard. 3 | 4 | package(default_visibility = [ 5 | "//tensorflow:internal", 6 | ]) 7 | 8 | licenses(["notice"]) # Apache 2.0 9 | 10 | exports_files([ 11 | "LICENSE", 12 | ]) 13 | 14 | filegroup( 15 | name = "all_files", 16 | srcs = glob( 17 | [ 18 | "**/*", 19 | ], 20 | ), 21 | visibility = ["//tensorflow:__subpackages__"], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/functional_ops.md: -------------------------------------------------------------------------------- 1 | # Higher Order Functions 2 | 3 | Note: Functions taking `Tensor` arguments can also take anything accepted by 4 | @{tf.convert_to_tensor}. 5 | 6 | [TOC] 7 | 8 | Functional operations. 9 | 10 | ## Higher Order Operators 11 | 12 | TensorFlow provides several higher order operators to simplify the common 13 | map-reduce programming patterns. 14 | 15 | * @{tf.map_fn} 16 | * @{tf.foldl} 17 | * @{tf.foldr} 18 | * @{tf.scan} 19 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_distribution_dashboard/demo/data/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorflow:internal"]) 2 | 3 | load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles") 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | webfiles( 8 | name = "data", 9 | srcs = glob(["*"]), 10 | path = "/tf-distribution-dashboard/demo/data", 11 | ) 12 | 13 | filegroup( 14 | name = "all_files", 15 | srcs = glob(["**"]), 16 | tags = ["notsan"], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/runs.json: -------------------------------------------------------------------------------- 1 | {"run1": {"scalars": ["foo/sin", "foo/cos", "foo/square", "bar/square"], "run_metadata": [], "compressedHistograms": ["histo1"], "images": ["im1/image/0", "im2/image/0"], "histograms": ["histo1"], "graph": true, "audio": ["au1/audio/0"]}, "run2": {"scalars": ["foo/cos", "foo/square", "bar/square"], "run_metadata": [], "compressedHistograms": ["histo2", "histo1"], "images": ["im1/image/0"], "histograms": ["histo2", "histo1"], "graph": true, "audio": ["au2/audio/0"]}} -------------------------------------------------------------------------------- /third_party/mkl/build_defs.bzl: -------------------------------------------------------------------------------- 1 | # Macros for building MKL code. 2 | 3 | def if_mkl(if_true, if_false = []): 4 | """Shorthand for select()'ing on whether we're building with MKL. 5 | 6 | Returns a select statement which evaluates to if_true if we're building 7 | with MKL enabled. Otherwise, the select statement evaluates to if_false. 8 | 9 | """ 10 | return select({ 11 | "//third_party/mkl:using_mkl": if_true, 12 | "//conditions:default": if_false 13 | }) 14 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/histograms_run_run2_tag_histo2.json: -------------------------------------------------------------------------------- 1 | [[400.0, 40, [-0.8286852465281818, 2.0954239138728523, 20.0, 13.546880465642861, 24.14836803774091, [-0.7580548669750213, -0.38900200905253046, -0.06996543062044111, 0.07696197368248522, 0.19961953895336082, 0.2656936063469233, 0.29226296698161564, 0.5177616740489182, 0.7580548669750213, 0.917246389039776, 1.109868130738129, 1.220854943811942, 1.624957930213695, 2.1628190051144287], [2.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 1.0, 2.0, 3.0]]]] -------------------------------------------------------------------------------- /third_party/hadoop/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | exports_files(["LICENSE.txt"]) 6 | 7 | filegroup( 8 | name = "all_files", 9 | srcs = glob( 10 | ["**/*"], 11 | exclude = [ 12 | "**/METADATA", 13 | "**/OWNERS", 14 | ], 15 | ), 16 | visibility = ["//tensorflow:__subpackages__"], 17 | ) 18 | 19 | cc_library( 20 | name = "hdfs", 21 | hdrs = ["hdfs.h"], 22 | ) 23 | -------------------------------------------------------------------------------- /third_party/sycl/sycl/build_defs.bzl.tpl: -------------------------------------------------------------------------------- 1 | # Macros for building SYCL code. 2 | 3 | def if_sycl(if_true, if_false = []): 4 | """Shorthand for select()'ing on whether we're building with SYCL. 5 | 6 | Returns a select statement which evaluates to if_true if we're building 7 | with SYCL enabled. Otherwise, the select statement evaluates to if_false. 8 | 9 | """ 10 | return select({ 11 | "@local_config_sycl//sycl:using_sycl": if_true, 12 | "//conditions:default": if_false 13 | }) 14 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/app/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Build rules for building the HTML/JS necessary for TensorBoard. 3 | package(default_visibility = ["//tensorflow:internal"]) 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | exports_files(["LICENSE"]) 8 | 9 | filegroup( 10 | name = "all_files", 11 | srcs = glob( 12 | ["**/*"], 13 | exclude = [ 14 | "**/METADATA", 15 | "**/OWNERS", 16 | ], 17 | ), 18 | visibility = ["//tensorflow:__subpackages__"], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/vz_projector/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Package for the Embedding Projector component. 3 | package(default_visibility = ["//tensorflow:internal"]) 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | exports_files(["LICENSE"]) 8 | 9 | filegroup( 10 | name = "all_files", 11 | srcs = glob( 12 | ["**/*"], 13 | exclude = [ 14 | "**/METADATA", 15 | "**/OWNERS", 16 | ], 17 | ), 18 | visibility = ["//tensorflow:__subpackages__"], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorflow/core/platform/cloud/testdata/service_account_public_key.txt: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwrEZE6PWQYAy68mWPMuC 3 | 6KAD02Sb9Pv/FHWpGKe8MxxdDiz/spb2KIrWxxZolStHgDXAOoElbAv4GbRLJiiv 4 | El8k0gSP9YpIE56nSxfXxRIDH25NI3fhRIs5hSG+/p3lLV5NsdNrm1CYHnEbTY7O 5 | w7gpyxl0n+6q+ngguZTOGtBIMqVS4KIJlzTlJgeqvLFbtLP6uFc4OuGL6UZ+s4I7 6 | zSJVPBRxrFA+mOhBEPz/QjANBHBdIEhgh5VlmX/oRUK+D3zR/MnRTYtD8skiZSFM 7 | Uix1eWvKw/1wX0mieH1rUQbpIYdJTgFhROKuAJWVU7c+T6JHZwm8DqXaVz6oCJPl 8 | zwIDAQAB 9 | -----END PUBLIC KEY----- -------------------------------------------------------------------------------- /tensorflow/examples/udacity/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM gcr.io/tensorflow/tensorflow:latest 2 | MAINTAINER Vincent Vanhoucke 3 | 4 | # Pillow needs libjpeg by default as of 3.0. 5 | RUN apt-get update && apt-get install -y --no-install-recommends \ 6 | libjpeg8-dev \ 7 | && \ 8 | apt-get clean && \ 9 | rm -rf /var/lib/apt/lists/* 10 | 11 | RUN pip install scikit-learn pyreadline Pillow 12 | RUN rm -rf /notebooks/* 13 | ADD *.ipynb /notebooks/ 14 | WORKDIR /notebooks 15 | CMD ["/run_jupyter.sh"] 16 | -------------------------------------------------------------------------------- /tensorflow/core/framework/reader_base.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | option java_outer_classname = "ReaderBaseProtos"; 6 | option java_multiple_files = true; 7 | option java_package = "org.tensorflow.framework"; 8 | 9 | // For serializing and restoring the state of ReaderBase, see 10 | // reader_base.h for details. 11 | message ReaderBaseState { 12 | int64 work_started = 1; 13 | int64 work_finished = 2; 14 | int64 num_records_produced = 3; 15 | bytes current_work = 4; 16 | }; 17 | -------------------------------------------------------------------------------- /tensorflow/compiler/aot/tests/test_graph_tfmatmulandadd.config.pbtxt: -------------------------------------------------------------------------------- 1 | # Text form of tensorflow.tfcompile.Config proto. 2 | feed { 3 | id { node_name: "x_hold" } 4 | shape { 5 | dim { size: 2 } 6 | dim { size: 2 } 7 | } 8 | name: "x" 9 | } 10 | feed { 11 | id { node_name: "y_hold" } 12 | shape { 13 | dim { size: 2 } 14 | dim { size: 2 } 15 | } 16 | name: "y" 17 | } 18 | fetch { 19 | id { node_name: "x_y_prod" } 20 | name: "x_y_prod" 21 | } 22 | fetch { 23 | id { node_name: "x_y_sum" } 24 | name: "x_y_sum" 25 | } 26 | -------------------------------------------------------------------------------- /tensorflow/core/distributed_runtime/README.md: -------------------------------------------------------------------------------- 1 | # Distributed TensorFlow 2 | 3 | This directory contains the initial open-source implementation of the 4 | distributed TensorFlow runtime, using [gRPC](http://grpc.io) for inter-process 5 | communication. 6 | 7 | To learn how to use the distributed runtime to create a TensorFlow cluster, 8 | see the "Distributed TensorFlow" How To, which is available [in this 9 | repository](../../g3doc/how_tos/distributed/index.md), and will be available 10 | on the TensorFlow website after the next version is released. 11 | -------------------------------------------------------------------------------- /tensorflow/examples/android/assets/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | # It is necessary to use this filegroup rather than globbing the files in this 6 | # folder directly the examples/android:tensorflow_demo target due to the fact 7 | # that assets_dir is necessarily set to "" there (to allow using other 8 | # arbitrary targets as assets). 9 | filegroup( 10 | name = "asset_files", 11 | srcs = glob( 12 | ["**/*"], 13 | exclude = ["BUILD"], 14 | ), 15 | ) 16 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/run_metadata_run_step99_tag_train.pbtxt: -------------------------------------------------------------------------------- 1 | step_stats { 2 | dev_stats { 3 | device: "/job:localhost/replica:0/task:0/cpu:0" 4 | node_stats { 5 | node_name: "_SOURCE" 6 | all_start_micros: 1459365298611334 7 | op_start_rel_micros: 29 8 | op_end_rel_micros: 30 9 | all_end_rel_micros: 52 10 | memory { 11 | allocator_name: "cpu" 12 | } 13 | timeline_label: "_SOURCE = NoOp()" 14 | scheduled_micros: 1459365298611291 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tensorflow/python/framework/cpp_shape_inference.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | 6 | import "tensorflow/core/framework/types.proto"; 7 | import "tensorflow/core/framework/tensor_shape.proto"; 8 | 9 | message CppShapeInferenceResult { 10 | TensorShapeProto shape = 1; 11 | TensorShapeProto handle_shape = 2; 12 | DataType handle_dtype = 3; 13 | } 14 | 15 | message CppShapeInferenceInputsNeeded { 16 | repeated int32 input_tensors_needed = 1; 17 | repeated int32 input_tensors_as_shapes_needed = 2; 18 | } 19 | -------------------------------------------------------------------------------- /tensorflow/tools/dist_test/scripts/BUILD: -------------------------------------------------------------------------------- 1 | # Tools for running distributed benchmarks. 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | exports_files(["k8s_tensorflow.py"]) 6 | 7 | py_library( 8 | name = "k8s_tensorflow_lib", 9 | srcs = ["k8s_tensorflow_lib.py"], 10 | srcs_version = "PY2AND3", 11 | ) 12 | 13 | py_test( 14 | name = "k8s_tensorflow_test", 15 | srcs = ["k8s_tensorflow_test.py"], 16 | srcs_version = "PY2AND3", 17 | deps = [ 18 | ":k8s_tensorflow_lib", 19 | "//tensorflow/python:client_testlib", 20 | ], 21 | ) 22 | -------------------------------------------------------------------------------- /third_party/nanopb.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Nanopb, a tiny ANSI C protobuf implementation for use on embedded devices. 3 | 4 | licenses(["notice"]) # zlib license 5 | 6 | exports_files(["LICENSE.txt"]) 7 | 8 | cc_library( 9 | name = "nanopb", 10 | srcs = [ 11 | "pb_common.c", 12 | "pb_decode.c", 13 | "pb_encode.c", 14 | ], 15 | hdrs = [ 16 | "pb.h", 17 | "pb_common.h", 18 | "pb_decode.h", 19 | "pb_encode.h", 20 | ], 21 | includes = ["."], 22 | visibility = ["//visibility:public"], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorflow:internal"]) 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | exports_files(["LICENSE"]) 6 | 7 | filegroup( 8 | name = "all_files", 9 | srcs = glob( 10 | [ 11 | "tf_*/**/*", 12 | "vz_*/**/*", 13 | ], 14 | exclude = [ 15 | "**/tf_model_zoo/*", 16 | "**/METADATA", 17 | "**/OWNERS", 18 | ], 19 | ) + [ 20 | "BUILD", 21 | ], 22 | visibility = ["//tensorflow:__subpackages__"], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/gpu_build/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # TensorFlow is a computational framework, primarily for use in machine 3 | # learning applications. 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | sh_binary( 8 | name = "parallel_gpu_execute", 9 | srcs = ["parallel_gpu_execute.sh"], 10 | ) 11 | 12 | filegroup( 13 | name = "all_files", 14 | srcs = glob( 15 | ["**/*"], 16 | exclude = [ 17 | "**/METADATA", 18 | "**/OWNERS", 19 | ], 20 | ), 21 | visibility = ["//tensorflow:__subpackages__"], 22 | ) 23 | -------------------------------------------------------------------------------- /ADOPTERS.md: -------------------------------------------------------------------------------- 1 | # TensorFlow Adopters 2 | 3 | This page contains a list of people and organizations who are using TensorFlow. If you'd like to be included 4 | here, please send a pull request which modifies this file. 5 | 6 | We intend to use this list to contact you for surveys, and to find good candidates for invite-only events. 7 | We will also point to this list if we are asked who uses TensorFlow. 8 | 9 | We will not use any of the information here for promotions or to send other regular communications. You 10 | should subscribe to discuss@tensorflow.org for such announcements. 11 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /third_party/py/numpy/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["restricted"]) 2 | 3 | package(default_visibility = ["//visibility:public"]) 4 | 5 | py_library( 6 | name = "numpy", 7 | srcs = ["tf_numpy_dummy.py"], 8 | srcs_version = "PY2AND3", 9 | ) 10 | 11 | cc_library( 12 | name = "headers", 13 | hdrs = glob(["numpy_include/**/*.h"]), 14 | data = ["//util/python:python_checked"], 15 | includes = ["numpy_include"], 16 | ) 17 | 18 | genrule( 19 | name = "dummy", 20 | outs = ["tf_numpy_dummy.py"], 21 | cmd = "touch $@", 22 | visibility = ["//visibility:private"], 23 | ) 24 | -------------------------------------------------------------------------------- /third_party/sycl/sycl/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # A minimal BUILD file to make template files in this folder available. Without this BUILD file, 3 | # bazel returns errors when trying to access tpl files in this folder. 4 | 5 | package(default_visibility = ["//visibility:public"]) 6 | 7 | licenses(["notice"]) # Apache 2.0 8 | 9 | filegroup( 10 | name = "all_files", 11 | srcs = glob( 12 | ["**/*"], 13 | exclude = [ 14 | "**/METADATA", 15 | "**/OWNERS", 16 | ], 17 | ), 18 | visibility = ["//tensorflow:__subpackages__"], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorflow/contrib/tfprof/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) # Apache 2.0 2 | 3 | exports_files(["LICENSE"]) 4 | 5 | package(default_visibility = ["//tensorflow:__subpackages__"]) 6 | 7 | py_library( 8 | name = "tfprof", 9 | srcs = [ 10 | "__init__.py", 11 | ], 12 | srcs_version = "PY2AND3", 13 | visibility = ["//tensorflow:__subpackages__"], 14 | deps = [ 15 | "//tensorflow/contrib/tfprof/python/tools/tfprof:model_analyzer", 16 | "//tensorflow/contrib/tfprof/python/tools/tfprof:tfprof_logger", 17 | "//tensorflow/python:util", 18 | ], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorflow/core/platform/default/gpu/BUILD: -------------------------------------------------------------------------------- 1 | load( 2 | "//tensorflow:tensorflow.bzl", 3 | "tf_copts", 4 | "tf_cuda_library", 5 | ) 6 | 7 | tf_cuda_library( 8 | name = "cupti_wrapper", 9 | srcs = [ 10 | "cupti_wrapper.cc", 11 | ], 12 | hdrs = [ 13 | "cupti_wrapper.h", 14 | ], 15 | copts = tf_copts(), 16 | cuda_deps = [ 17 | "//tensorflow/core:stream_executor", 18 | "@local_config_cuda//cuda:cupti_headers", 19 | ], 20 | data = ["@local_config_cuda//cuda:cupti_dsos"], 21 | visibility = ["//visibility:public"], 22 | ) 23 | -------------------------------------------------------------------------------- /third_party/mkl/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["restricted"]) # MPL2, portions GPL v3, LGPL v3, BSD-like TODO 2 | 3 | config_setting( 4 | name = "using_mkl", 5 | values = { 6 | "define": "using_mkl=true", 7 | }, 8 | visibility = ["//visibility:public"], 9 | ) 10 | 11 | load( 12 | "//third_party/mkl:build_defs.bzl", 13 | "if_mkl", 14 | ) 15 | 16 | cc_library( 17 | name = "intel_binary_blob", 18 | srcs = if_mkl([ 19 | "libmklml_intel.so", 20 | "libiomp5.so", 21 | ]), 22 | includes = ["."], 23 | visibility = ["//visibility:public"], 24 | ) 25 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/histograms_run_run1_tag_histo1.json: -------------------------------------------------------------------------------- 1 | [[400.0, 40, [-0.3584790755077172, 3.0267252195784047, 20.0, 24.012225532303315, 48.29045006426564, [-0.35363819004775493, -0.29226296698161564, -0.19961953895336082, 0.3214892636797772, 0.5177616740489182, 0.56953784145381, 0.6264916255991911, 0.7580548669750213, 0.8338603536725235, 1.220854943811942, 1.3429404381931362, 1.47723448201245, 1.624957930213695, 1.7874537232350647, 1.9661990955585713, 2.379100905625872, 2.6170109961884593, 3.1665833053880363], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 2.0]]]] -------------------------------------------------------------------------------- /tensorflow/tensorboard/demo/data/histograms_run_run2_tag_histo1.json: -------------------------------------------------------------------------------- 1 | [[400.0, 40, [-2.599286228987632, 3.5098048900144323, 20.0, 10.792285491200078, 66.66796979177158, [-2.379100905625872, -1.9661990955585713, -1.624957930213695, -1.47723448201245, -1.109868130738129, -1.0089710279437536, -0.42790220995778355, -0.2195814928486969, 0.47069243095356195, 0.7580548669750213, 0.917246389039776, 1.3429404381931362, 1.624957930213695, 1.7874537232350647, 2.1628190051144287, 2.6170109961884593, 2.8787120958073054, 3.8315657995195243], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 2.0, 1.0, 1.0]]]] -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/check_ops.md: -------------------------------------------------------------------------------- 1 | # Asserts and boolean checks 2 | 3 | * @{tf.assert_negative} 4 | * @{tf.assert_positive} 5 | * @{tf.assert_proper_iterable} 6 | * @{tf.assert_non_negative} 7 | * @{tf.assert_non_positive} 8 | * @{tf.assert_equal} 9 | * @{tf.assert_integer} 10 | * @{tf.assert_less} 11 | * @{tf.assert_less_equal} 12 | * @{tf.assert_greater} 13 | * @{tf.assert_greater_equal} 14 | * @{tf.assert_rank} 15 | * @{tf.assert_rank_at_least} 16 | * @{tf.assert_type} 17 | * @{tf.is_non_decreasing} 18 | * @{tf.is_numeric_tensor} 19 | * @{tf.is_strictly_increasing} 20 | -------------------------------------------------------------------------------- /third_party/farmhash.BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) # MIT 2 | 3 | exports_files(["COPYING"]) 4 | 5 | config_setting( 6 | name = "windows", 7 | values = { 8 | "cpu": "x64_windows_msvc", 9 | }, 10 | ) 11 | 12 | cc_library( 13 | name = "farmhash", 14 | srcs = ["src/farmhash.cc"], 15 | hdrs = ["src/farmhash.h"], 16 | # Disable __builtin_expect support on Windows 17 | copts = select({ 18 | ":windows": ["/DFARMHASH_OPTIONAL_BUILTIN_EXPECT"], 19 | "//conditions:default": [], 20 | }), 21 | includes = ["src/."], 22 | visibility = ["//visibility:public"], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/histograms_run_run1_tag_histo1.json: -------------------------------------------------------------------------------- 1 | [[400.0, 40, [-0.3584790755077172, 3.0267252195784047, 20.0, 24.012225532303315, 48.29045006426564, [-0.35363819004775493, -0.29226296698161564, -0.19961953895336082, 0.3214892636797772, 0.5177616740489182, 0.56953784145381, 0.6264916255991911, 0.7580548669750213, 0.8338603536725235, 1.220854943811942, 1.3429404381931362, 1.47723448201245, 1.624957930213695, 1.7874537232350647, 1.9661990955585713, 2.379100905625872, 2.6170109961884593, 3.1665833053880363], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 2.0]]]] -------------------------------------------------------------------------------- /tensorflow/python/training/checkpoint_state.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | 6 | // Protocol buffer representing the checkpoint state. 7 | // 8 | // TODO(touts): Add other attributes as needed. 9 | message CheckpointState { 10 | // Path to the most-recent model checkpoint. 11 | string model_checkpoint_path = 1; 12 | 13 | // Paths to all not-yet-deleted model checkpoints, sorted from oldest to 14 | // newest. 15 | // Note that the value of model_checkpoint_path should be the last item in 16 | // this list. 17 | repeated string all_model_checkpoint_paths = 2; 18 | } 19 | -------------------------------------------------------------------------------- /tensorflow/tools/tfprof/tfprof_log.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | 3 | package tensorflow.tfprof; 4 | 5 | message OpLogEntry { 6 | // op name. 7 | optional string name = 1; 8 | // float_ops is filled by tfprof Python API when called. It requires the 9 | // op has RegisterStatistics defined. Currently, Conv2D, MatMul, etc, are 10 | // implemented. 11 | optional int64 float_ops = 2; 12 | // User can define extra op type information for an op. This allows the user 13 | // to select a group of ops precisely using op_type as a key. 14 | repeated string types = 3; 15 | } 16 | 17 | message OpLog { 18 | repeated OpLogEntry log_entries = 1; 19 | } -------------------------------------------------------------------------------- /tensorflow/contrib/factorization/g3doc/gmm.md: -------------------------------------------------------------------------------- 1 | # Gaussian Mixture Models 2 | 3 | Gaussian mixture models assume that the input is generated by a mixture of a 4 | finite number of Gaussian distributions with unknown parameters. 5 | 6 | ![gmm](gmm.png) 7 | 8 | Typically an EM (Expectation Maximization) algorithm is used to estimate these 9 | parameters, which include the mean, covariance and mixture ratios of the 10 | underlying components. 11 | 12 | We provide a distributed implementation for running the GMM algorithm. Options 13 | are provided to let the user decide on which parameters to learn. The learned 14 | covariance can be either full or diagonal. 15 | -------------------------------------------------------------------------------- /tensorflow/tools/docker/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2015 The TensorFlow Authors. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /tensorflow/contrib/factorization/examples/BUILD: -------------------------------------------------------------------------------- 1 | # Example TensorFlow models using factorization ops. 2 | 3 | licenses(["notice"]) # Apache 2.0 4 | 5 | exports_files(["LICENSE"]) 6 | 7 | package(default_visibility = ["//tensorflow:__subpackages__"]) 8 | 9 | load("//tensorflow:tensorflow.bzl", "tf_py_test") 10 | 11 | tf_py_test( 12 | name = "mnist", 13 | size = "medium", 14 | srcs = [ 15 | "mnist.py", 16 | ], 17 | additional_deps = [ 18 | "//tensorflow:tensorflow_py", 19 | "//tensorflow/examples/tutorials/mnist", 20 | "//tensorflow/examples/tutorials/mnist:input_data", 21 | ], 22 | tags = ["notsan"], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorflow/tools/docker/notebooks/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2015 The TensorFlow Authors. All rights reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/Dockerfile.hadoop: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | MAINTAINER Jonathan Hseu 4 | 5 | # Copy and run the install scripts. 6 | COPY install/*.sh /install/ 7 | RUN /install/install_bootstrap_deb_packages.sh 8 | RUN add-apt-repository -y ppa:openjdk-r/ppa && \ 9 | add-apt-repository -y ppa:george-edison55/cmake-3.x 10 | RUN /install/install_deb_packages.sh 11 | RUN /install/install_pip_packages.sh 12 | RUN /install/install_bazel.sh 13 | RUN /install/install_proto3.sh 14 | RUN /install/install_buildifier.sh 15 | RUN /install/install_hadoop.sh 16 | 17 | # Set up bazelrc. 18 | COPY install/.bazelrc /root/.bazelrc 19 | ENV BAZELRC /root/.bazelrc 20 | -------------------------------------------------------------------------------- /BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # TensorFlow is an open source software library for numerical computation using 3 | # data flow graphs. 4 | 5 | package( 6 | default_visibility = [ 7 | "//tensorflow:internal", 8 | "//tensorflow_models:__subpackages__", 9 | ], 10 | ) 11 | 12 | licenses(["notice"]) # Apache 2.0 13 | 14 | exports_files(["LICENSE"]) 15 | 16 | load( 17 | "//tensorflow:tensorflow.bzl", 18 | "cc_header_only_library", 19 | ) 20 | 21 | cc_header_only_library( 22 | name = "protobuf_headers", 23 | includes = ["external/protobuf/src"], 24 | visibility = ["//visibility:public"], 25 | deps = [ 26 | "@protobuf//:protobuf", 27 | ], 28 | ) 29 | -------------------------------------------------------------------------------- /tensorflow/core/util/example_proto_fast_parsing_test.proto: -------------------------------------------------------------------------------- 1 | // Protocol message for the fast Example parse unit test. 2 | syntax = "proto3"; 3 | 4 | import "tensorflow/core/example/feature.proto"; 5 | option cc_enable_arenas = true; 6 | 7 | package tensorflow; 8 | 9 | // This message is parallel to Example, but with additional fields to test 10 | // unknown fields handling in example_proto_fast_parsing_test.cc. 11 | message ExampleWithExtras { 12 | Features features = 1; 13 | 14 | string extra1 = 1337; 15 | int64 extra2 = 1338; 16 | fixed32 extra3 = 1339; 17 | fixed64 extra4 = 1340; 18 | double extra5 = 1341; 19 | repeated float extra6 = 1342; 20 | Features extra7 = 1343; 21 | }; 22 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/typings.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tensorflow-vis", 3 | "dependencies": {}, 4 | "globalDependencies": { 5 | "chai": "registry:dt/chai#3.4.0+20160317120654", 6 | "d3": "registry:dt/d3#0.0.0+20160514171929", 7 | "es6-promise": "registry:dt/es6-promise#0.0.0+20160423074304", 8 | "lodash": "registry:dt/lodash#3.10.0+20160330154726", 9 | "mocha": "registry:dt/mocha#2.2.5+20160317120654", 10 | "polymer": "registry:dt/polymer#1.1.6+20160922133320", 11 | "sinon": "registry:dt/sinon#1.16.0+20160517064723", 12 | "three": "registry:dt/three#0.0.0+20160802154944", 13 | "webcomponents.js": "registry:dt/webcomponents.js#0.6.0+20160728153134" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/summary.md: -------------------------------------------------------------------------------- 1 | # Summary Operations 2 | [TOC] 3 | 4 | Summaries provide a way to export condensed information about a model, which is 5 | then accessible in tools such as @{$summaries_and_tensorboard$TensorBoard}. 6 | 7 | ## Generation of Summaries 8 | 9 | ### Class for writing Summaries 10 | * @{tf.summary.FileWriter} 11 | * @{tf.summary.FileWriterCache} 12 | 13 | ### Summary Ops 14 | * @{tf.summary.tensor_summary} 15 | * @{tf.summary.scalar} 16 | * @{tf.summary.histogram} 17 | * @{tf.summary.audio} 18 | * @{tf.summary.image} 19 | * @{tf.summary.merge} 20 | * @{tf.summary.merge_all} 21 | 22 | ## Utilities 23 | * @{tf.summary.get_summary_description} 24 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/Dockerfile.cpu: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | MAINTAINER Jan Prach 4 | 5 | # Copy and run the install scripts. 6 | COPY install/*.sh /install/ 7 | RUN /install/install_bootstrap_deb_packages.sh 8 | RUN add-apt-repository -y ppa:openjdk-r/ppa && \ 9 | add-apt-repository -y ppa:george-edison55/cmake-3.x 10 | RUN /install/install_deb_packages.sh 11 | RUN /install/install_pip_packages.sh 12 | RUN /install/install_bazel.sh 13 | RUN /install/install_proto3.sh 14 | RUN /install/install_buildifier.sh 15 | RUN /install/install_auditwheel.sh 16 | RUN /install/install_golang.sh 17 | 18 | # Set up bazelrc. 19 | COPY install/.bazelrc /root/.bazelrc 20 | ENV BAZELRC /root/.bazelrc 21 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/Dockerfile.debian.jessie.cpu: -------------------------------------------------------------------------------- 1 | FROM debian:jessie 2 | 3 | MAINTAINER Jan Prach 4 | 5 | # Copy and run the install scripts. 6 | COPY install/*.sh /install/ 7 | RUN /install/install_bootstrap_deb_packages.sh 8 | RUN echo "deb http://http.debian.net/debian jessie-backports main" | tee -a /etc/apt/sources.list 9 | RUN /install/install_deb_packages.sh 10 | RUN /install/install_pip_packages.sh 11 | RUN /install/install_bazel.sh 12 | RUN /install/install_golang.sh 13 | 14 | # Fix a virtualenv install issue specific to Debian Jessie. 15 | RUN pip install --upgrade virtualenv 16 | 17 | # Set up bazelrc. 18 | COPY install/.bazelrc /root/.bazelrc 19 | ENV BAZELRC /root/.bazelrc 20 | -------------------------------------------------------------------------------- /tensorflow/tools/docker/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Various tools and rules related to the TensorFlow docker container. 3 | 4 | package(default_visibility = ["//visibility:private"]) 5 | 6 | licenses(["notice"]) # Apache 2.0 7 | 8 | exports_files(["LICENSE"]) 9 | 10 | py_binary( 11 | name = "simple_console", 12 | srcs = ["simple_console.py"], 13 | srcs_version = "PY2AND3", 14 | deps = ["//tensorflow:tensorflow_py"], 15 | ) 16 | 17 | filegroup( 18 | name = "all_files", 19 | srcs = glob( 20 | ["**/*"], 21 | exclude = [ 22 | "**/METADATA", 23 | "**/OWNERS", 24 | ], 25 | ), 26 | visibility = ["//tensorflow:__subpackages__"], 27 | ) 28 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/layers/BUILD: -------------------------------------------------------------------------------- 1 | # Example Estimator model 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | ) 6 | 7 | licenses(["notice"]) # Apache 2.0 8 | 9 | exports_files(["LICENSE"]) 10 | 11 | py_binary( 12 | name = "cnn_mnist", 13 | srcs = [ 14 | "cnn_mnist.py", 15 | ], 16 | srcs_version = "PY2AND3", 17 | deps = [ 18 | "//tensorflow:tensorflow_py", 19 | ], 20 | ) 21 | 22 | filegroup( 23 | name = "all_files", 24 | srcs = glob( 25 | ["**/*"], 26 | exclude = [ 27 | "**/METADATA", 28 | "**/OWNERS", 29 | ], 30 | ), 31 | visibility = ["//tensorflow:__subpackages__"], 32 | ) 33 | -------------------------------------------------------------------------------- /tensorflow/python/summary/README.md: -------------------------------------------------------------------------------- 1 | # TensorFlow Event Processing 2 | 3 | This folder contains classes useful for analyzing and visualizing TensorFlow 4 | events files. The code is primarily being developed to support TensorBoard, 5 | but it can be used by anyone who wishes to analyze or visualize TensorFlow 6 | events files. 7 | 8 | If you wish to load TensorFlow events, you should use an EventAccumulator 9 | (to load from a single events file) or an EventMultiplexer (to load from 10 | multiple events files). 11 | 12 | The API around these tools has not solidified, and we may make backwards- 13 | incompatible changes without warning. 14 | 15 | If you have questions or requests, please contact danmane@google.com 16 | -------------------------------------------------------------------------------- /tensorflow/tools/dist_test/local/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jpetazzo/dind 2 | 3 | MAINTAINER Shanqing Cai 4 | 5 | RUN apt-get update 6 | 7 | RUN apt-get install -y --no-install-recommends \ 8 | build-essential \ 9 | git \ 10 | software-properties-common 11 | 12 | # Install the latest golang 13 | RUN wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz 14 | RUN tar -C /usr/local -xzf go1.4.2.linux-amd64.tar.gz 15 | RUN rm -f go1.4.2.linux-amd64.tar.gz 16 | RUN echo 'PATH=/usr/local/go/bin:${PATH}' >> /root/.bashrc 17 | 18 | ADD start_local_k8s_cluster.sh /var/k8s/start_local_k8s_cluster.sh 19 | ADD ../scripts /var/k8s/dist_test/scripts 20 | ADD ../python /var/k8s/dist_test/python 21 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/word2vec/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # TensorFlow model for word2vec 3 | 4 | package(default_visibility = ["//tensorflow:internal"]) 5 | 6 | licenses(["notice"]) # Apache 2.0 7 | 8 | exports_files(["LICENSE"]) 9 | 10 | py_binary( 11 | name = "word2vec_basic", 12 | srcs = [ 13 | "word2vec_basic.py", 14 | ], 15 | srcs_version = "PY2AND3", 16 | deps = [ 17 | "//tensorflow:tensorflow_py", 18 | "//third_party/py/numpy", 19 | ], 20 | ) 21 | 22 | filegroup( 23 | name = "all_files", 24 | srcs = glob( 25 | ["**/*"], 26 | exclude = [ 27 | "**/METADATA", 28 | "**/OWNERS", 29 | ], 30 | ), 31 | ) 32 | -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/patches/farmhash/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.3) 2 | 3 | project(farmhash) 4 | 5 | set(FARMHASH_SRCS 6 | "src/farmhash.h" 7 | "src/farmhash.cc" 8 | ) 9 | 10 | set(FARMHASH_INCLUDES 11 | "src/farmhash.h" 12 | ) 13 | 14 | include_directories("${CMAKE_CURRENT_SOURCE_DIR}") 15 | 16 | add_library(farmhash ${FARMHASH_SRCS}) 17 | add_definitions(-DFARMHASH_NO_BUILTIN_EXPECT) 18 | 19 | install(TARGETS farmhash 20 | LIBRARY DESTINATION lib COMPONENT RuntimeLibraries 21 | ARCHIVE DESTINATION lib COMPONENT Development) 22 | 23 | foreach(FARMHASH_INCLUDE ${FARMHASH_INCLUDES}) 24 | install(FILES ${FARMHASH_INCLUDE} DESTINATION include COMPONENT Development) 25 | endforeach() 26 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_backend/test/data/runs.json: -------------------------------------------------------------------------------- 1 | { 2 | "run1": { 3 | "images": [ 4 | "im1" 5 | ], 6 | "audio": [ 7 | "audio1" 8 | ], 9 | "scalars": [ 10 | "cross_entropy (1)" 11 | ], 12 | "histograms": [ 13 | "histo1" 14 | ], 15 | "compressedHistograms": [ 16 | "histo1" 17 | ], 18 | "run_metadata": [ 19 | "step99" 20 | ], 21 | "graph": false 22 | }, 23 | "fake_run_no_data": { 24 | "images": ["im1", "im2"], 25 | "audio": ["audio1", "audio2"], 26 | "scalars": ["scalar2"], 27 | "histograms": ["histo1"], 28 | "compressedHistograms": ["histo1"], 29 | "run_metadata": ["step99"], 30 | "graph": true 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/estimators/BUILD: -------------------------------------------------------------------------------- 1 | # Example Estimator model 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | ) 6 | 7 | licenses(["notice"]) # Apache 2.0 8 | 9 | exports_files(["LICENSE"]) 10 | 11 | py_binary( 12 | name = "abalone", 13 | srcs = [ 14 | "abalone.py", 15 | ], 16 | srcs_version = "PY2AND3", 17 | deps = [ 18 | "//tensorflow:tensorflow_py", 19 | "//third_party/py/numpy", 20 | ], 21 | ) 22 | 23 | filegroup( 24 | name = "all_files", 25 | srcs = glob( 26 | ["**/*"], 27 | exclude = [ 28 | "**/METADATA", 29 | "**/OWNERS", 30 | ], 31 | ), 32 | visibility = ["//tensorflow:__subpackages__"], 33 | ) 34 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports/d3.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tensorflow/core/platform/default/build_config_root.bzl: -------------------------------------------------------------------------------- 1 | # Lower-level functionality for build config. 2 | # The functions in this file might be referred by tensorflow.bzl. They have to 3 | # be separate to avoid cyclic references. 4 | 5 | WITH_XLA_SUPPORT = False 6 | 7 | def tf_cuda_tests_tags(): 8 | return ["local"] 9 | 10 | def tf_sycl_tests_tags(): 11 | return ["local"] 12 | 13 | def tf_additional_plugin_deps(): 14 | deps = [] 15 | if WITH_XLA_SUPPORT: 16 | deps.append("//tensorflow/compiler/jit") 17 | return deps 18 | 19 | def tf_additional_xla_deps_py(): 20 | return [] 21 | 22 | def tf_additional_license_deps(): 23 | licenses = [] 24 | if WITH_XLA_SUPPORT: 25 | licenses.append("@llvm//:LICENSE.TXT") 26 | return licenses 27 | -------------------------------------------------------------------------------- /tensorflow/examples/tutorials/monitors/iris_test.csv: -------------------------------------------------------------------------------- 1 | 30,4,setosa,versicolor,virginica 2 | 5.9,3.0,4.2,1.5,1 3 | 6.9,3.1,5.4,2.1,2 4 | 5.1,3.3,1.7,0.5,0 5 | 6.0,3.4,4.5,1.6,1 6 | 5.5,2.5,4.0,1.3,1 7 | 6.2,2.9,4.3,1.3,1 8 | 5.5,4.2,1.4,0.2,0 9 | 6.3,2.8,5.1,1.5,2 10 | 5.6,3.0,4.1,1.3,1 11 | 6.7,2.5,5.8,1.8,2 12 | 7.1,3.0,5.9,2.1,2 13 | 4.3,3.0,1.1,0.1,0 14 | 5.6,2.8,4.9,2.0,2 15 | 5.5,2.3,4.0,1.3,1 16 | 6.0,2.2,4.0,1.0,1 17 | 5.1,3.5,1.4,0.2,0 18 | 5.7,2.6,3.5,1.0,1 19 | 4.8,3.4,1.9,0.2,0 20 | 5.1,3.4,1.5,0.2,0 21 | 5.7,2.5,5.0,2.0,2 22 | 5.4,3.4,1.7,0.2,0 23 | 5.6,3.0,4.5,1.5,1 24 | 6.3,2.9,5.6,1.8,2 25 | 6.3,2.5,4.9,1.5,1 26 | 5.8,2.7,3.9,1.2,1 27 | 6.1,3.0,4.6,1.4,1 28 | 5.2,4.1,1.5,0.1,0 29 | 6.7,3.1,4.7,1.5,1 30 | 6.7,3.3,5.7,2.5,2 31 | 6.4,2.9,4.3,1.3,1 32 | -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/patches/gif/unistd.h: -------------------------------------------------------------------------------- 1 | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports/lodash.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /third_party/sycl/crosstool/BUILD.tpl: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) # Apache 2.0 2 | 3 | package(default_visibility = ["//visibility:public"]) 4 | 5 | cc_toolchain_suite( 6 | name = "toolchain", 7 | toolchains = { 8 | "local|compiler": ":cc-compiler-local", 9 | }, 10 | ) 11 | 12 | cc_toolchain( 13 | name = "cc-compiler-local", 14 | all_files = ":empty", 15 | compiler_files = ":empty", 16 | cpu = "local", 17 | dwp_files = ":empty", 18 | dynamic_runtime_libs = [":empty"], 19 | linker_files = ":empty", 20 | objcopy_files = ":empty", 21 | static_runtime_libs = [":empty"], 22 | strip_files = ":empty", 23 | supports_param_files = 1, 24 | ) 25 | 26 | filegroup( 27 | name = "empty", 28 | srcs = [], 29 | ) 30 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/vz_line_chart/demo/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorflow:internal"]) 2 | 3 | load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles") 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | # bazel run //third_party/tensorflow/tensorboard/components/vz_line_chart/demo 8 | webfiles( 9 | name = "demo", 10 | srcs = ["index.html"], 11 | path = "/vz-line-chart/demo", 12 | deps = [ 13 | "//tensorflow/tensorboard/components/vz_line_chart", 14 | "@org_polymer_iron_demo_helpers", 15 | "@org_polymer_paper_styles", 16 | "@org_polymer_webcomponentsjs", 17 | ], 18 | ) 19 | 20 | filegroup( 21 | name = "all_files", 22 | srcs = glob(["**"]), 23 | tags = ["notsan"], 24 | ) 25 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/vz_sorting/vz-sorting.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/install/.bazelrc: -------------------------------------------------------------------------------- 1 | # Running bazel inside a `docker build` command causes trouble, cf: 2 | # https://github.com/bazelbuild/bazel/issues/134 3 | # The easiest solution is to set up a bazelrc file forcing --batch. 4 | startup --batch 5 | 6 | # Similarly, we need to workaround sandboxing issues: 7 | # https://github.com/bazelbuild/bazel/issues/418 8 | build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone 9 | test --spawn_strategy=standalone 10 | 11 | # Force bazel output to use colors (good for jenkins) and print useful errors. 12 | common --color=yes 13 | 14 | # Configure tests - increase timeout, print errors and timeout warnings 15 | test --verbose_failures --test_output=errors --test_verbose_timeout_warnings 16 | -------------------------------------------------------------------------------- /tensorflow/contrib/input_pipeline/kernels/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Contains kernels for the input pipeline. 3 | 4 | licenses(["notice"]) # Apache 2.0 5 | 6 | exports_files(["LICENSE"]) 7 | 8 | package(default_visibility = ["//tensorflow:__subpackages__"]) 9 | 10 | cc_library( 11 | name = "input_pipeline_kernels", 12 | srcs = ["input_pipeline_kernels.cc"], 13 | deps = [ 14 | "//:protobuf_headers", 15 | "//tensorflow/core:framework_headers_lib", 16 | "//third_party/eigen3", 17 | ], 18 | alwayslink = 1, 19 | ) 20 | 21 | filegroup( 22 | name = "all_files", 23 | srcs = glob( 24 | ["**/*"], 25 | exclude = [ 26 | "**/METADATA", 27 | "**/OWNERS", 28 | ], 29 | ), 30 | ) 31 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports_google/d3.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /util/python/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["restricted"]) 2 | 3 | package(default_visibility = ["//visibility:public"]) 4 | 5 | cc_library( 6 | name = "python_headers", 7 | hdrs = glob([ 8 | "python_include/**/*.h", 9 | ]), 10 | data = [":python_checked"], 11 | includes = ["python_include"], 12 | ) 13 | 14 | genrule( 15 | name = "python_check", 16 | srcs = [ 17 | "python_config.sh", 18 | "configure_files", 19 | ], 20 | outs = [ 21 | "python_checked", 22 | ], 23 | cmd = "OUTPUTDIR=\"$(@D)/\"; $(location :python_config.sh) --check && touch $$OUTPUTDIR/python_checked", 24 | local = 1, 25 | ) 26 | 27 | filegroup( 28 | name = "configure_files", 29 | data = glob([ 30 | "*", 31 | ]), 32 | ) 33 | -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/external/gemmlowp.cmake: -------------------------------------------------------------------------------- 1 | include (ExternalProject) 2 | 3 | set(gemmlowp_URL http://github.com/google/gemmlowp/archive/a6f29d8ac48d63293f845f2253eccbf86bc28321.tar.gz) 4 | set(gemmlowp_HASH SHA256=75d40ea8e68b0d1644f052fffe8f14a410b2a73d40ccb859a95c0578d194ec26) 5 | set(gemmlowp_BUILD ${CMAKE_CURRENT_BINARY_DIR}/gemmlowp/src/gemmlowp) 6 | set(gemmlowp_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/gemmlowp/src/gemmlowp) 7 | 8 | ExternalProject_Add(gemmlowp 9 | PREFIX gemmlowp 10 | URL ${gemmlowp_URL} 11 | URL_HASH ${gemmlowp_HASH} 12 | DOWNLOAD_DIR "${DOWNLOAD_LOCATION}" 13 | BUILD_IN_SOURCE 1 14 | PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/patches/gemmlowp/CMakeLists.txt ${gemmlowp_BUILD} 15 | INSTALL_COMMAND "") 16 | -------------------------------------------------------------------------------- /tensorflow/core/framework/tensor_description.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | option java_outer_classname = "TensorDescriptionProtos"; 6 | option java_multiple_files = true; 7 | option java_package = "org.tensorflow.framework"; 8 | 9 | import "tensorflow/core/framework/types.proto"; 10 | import "tensorflow/core/framework/tensor_shape.proto"; 11 | import "tensorflow/core/framework/allocation_description.proto"; 12 | 13 | message TensorDescription { 14 | // Data type of tensor elements 15 | DataType dtype = 1; 16 | 17 | // Shape of the tensor. 18 | TensorShapeProto shape = 2; 19 | 20 | // Information about the size and allocator used for the data 21 | AllocationDescription allocation_description = 4; 22 | }; 23 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports_google/dagre.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports_google/graphlib.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports_google/lodash.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/vz_distribution_chart/demo/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorflow:internal"]) 2 | 3 | load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles") 4 | 5 | licenses(["notice"]) # Apache 2.0 6 | 7 | # bazel run //third_party/tensorflow/tensorboard/components/vz_distribution_chart/demo 8 | webfiles( 9 | name = "demo", 10 | srcs = ["index.html"], 11 | path = "/vz-distribution-chart/demo", 12 | deps = [ 13 | "//tensorflow/tensorboard/components/vz_distribution_chart", 14 | "@org_polymer_iron_demo_helpers", 15 | "@org_polymer_paper_styles", 16 | "@org_polymer_webcomponentsjs", 17 | ], 18 | ) 19 | 20 | filegroup( 21 | name = "all_files", 22 | srcs = glob(["**"]), 23 | tags = ["notsan"], 24 | ) 25 | -------------------------------------------------------------------------------- /tensorflow/contrib/nn/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Contains deprecated ops to calculate cross entropy. 3 | 4 | licenses(["notice"]) # Apache 2.0 5 | 6 | exports_files(["LICENSE"]) 7 | 8 | package(default_visibility = ["//visibility:public"]) 9 | 10 | py_library( 11 | name = "nn_py", 12 | srcs = [ 13 | "__init__.py", 14 | "python/__init__.py", 15 | "python/ops/__init__.py", 16 | "python/ops/cross_entropy.py", 17 | ], 18 | srcs_version = "PY2AND3", 19 | visibility = ["//visibility:public"], 20 | deps = ["//tensorflow/python:nn"], 21 | ) 22 | 23 | filegroup( 24 | name = "all_files", 25 | srcs = glob( 26 | ["**/*"], 27 | exclude = [ 28 | "**/METADATA", 29 | "**/OWNERS", 30 | ], 31 | ), 32 | ) 33 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports/graphlib.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tensorflow/contrib/hvx/hexagon_controller/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | include glue/defines.min 16 | 17 | include target/make/android.min 18 | 19 | include $(RULES_MIN) 20 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/values-v21/base-colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/contrib.ffmpeg.md: -------------------------------------------------------------------------------- 1 | # FFmpeg (contrib) 2 | [TOC] 3 | 4 | ## Encoding and decoding audio using FFmpeg 5 | 6 | TensorFlow provides Ops to decode and encode audio files using the 7 | [FFmpeg](https://www.ffmpeg.org/) library. FFmpeg must be 8 | locally [installed](https://ffmpeg.org/download.html) for these Ops to succeed. 9 | 10 | Example: 11 | 12 | ```python 13 | from tensorflow.contrib import ffmpeg 14 | 15 | audio_binary = tf.read_file('song.mp3') 16 | waveform = ffmpeg.decode_audio( 17 | audio_binary, file_format='mp3', samples_per_second=44100, channel_count=2) 18 | uncompressed_binary = ffmpeg.encode_audio( 19 | waveform, file_format='wav', samples_per_second=44100) 20 | ``` 21 | 22 | * @{tf.contrib.ffmpeg.decode_audio} 23 | * @{tf.contrib.ffmpeg.encode_audio} 24 | -------------------------------------------------------------------------------- /tensorflow/docs_src/api_guides/python/string_ops.md: -------------------------------------------------------------------------------- 1 | # Strings 2 | 3 | Note: Functions taking `Tensor` arguments can also take anything accepted by 4 | @{tf.convert_to_tensor}. 5 | 6 | [TOC] 7 | 8 | ## Hashing 9 | 10 | String hashing ops take a string input tensor and map each element to an 11 | integer. 12 | 13 | * @{tf.string_to_hash_bucket_fast} 14 | * @{tf.string_to_hash_bucket_strong} 15 | * @{tf.string_to_hash_bucket} 16 | 17 | ## Joining 18 | 19 | String joining ops concatenate elements of input string tensors to produce a new 20 | string tensor. 21 | 22 | * @{tf.reduce_join} 23 | * @{tf.string_join} 24 | 25 | ## Splitting 26 | 27 | * @{tf.string_split} 28 | * @{tf.substr} 29 | 30 | ## Conversion 31 | 32 | * @{tf.as_string} 33 | * @{tf.encode_base64} 34 | * @{tf.decode_base64} 35 | -------------------------------------------------------------------------------- /tensorflow/go/op/generate.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The TensorFlow Authors. All Rights Reserved. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | //go:generate go generate ../genop 16 | //go:generate go run ../genop/main.go -outfile wrappers.go 17 | 18 | package op 19 | -------------------------------------------------------------------------------- /tensorflow/go/genop/internal/lib.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The TensorFlow Authors. All Rights Reserved. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package internal 16 | 17 | // #cgo LDFLAGS: -ltensorflow 18 | // #cgo CFLAGS: -I${SRCDIR}/../../../../ 19 | import "C" 20 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/app/analytics.js: -------------------------------------------------------------------------------- 1 | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | // Nothing to see here. vulcanize doesn't like empty files. 17 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_globals/tf-globals.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tensorflow/tools/ci_build/Dockerfile.gpu: -------------------------------------------------------------------------------- 1 | FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04 2 | 3 | MAINTAINER Jan Prach 4 | 5 | # Copy and run the install scripts. 6 | COPY install/*.sh /install/ 7 | RUN /install/install_bootstrap_deb_packages.sh 8 | RUN add-apt-repository -y ppa:openjdk-r/ppa && \ 9 | add-apt-repository -y ppa:george-edison55/cmake-3.x 10 | RUN /install/install_deb_packages.sh 11 | RUN /install/install_pip_packages.sh 12 | RUN /install/install_bazel.sh 13 | RUN /install/install_golang.sh 14 | 15 | # Set up bazelrc. 16 | COPY install/.bazelrc /root/.bazelrc 17 | ENV BAZELRC /root/.bazelrc 18 | ENV LD_LIBRARY_PATH /usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH 19 | 20 | # Configure the build for our CUDA configuration. 21 | ENV TF_NEED_CUDA 1 22 | ENV TF_CUDA_COMPUTE_CAPABILITIES 3.0 23 | -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/tf_label_image_example.cmake: -------------------------------------------------------------------------------- 1 | set(tf_label_image_example_srcs 2 | "${tensorflow_source_dir}/tensorflow/examples/label_image/main.cc" 3 | ) 4 | 5 | add_executable(tf_label_image_example 6 | ${tf_label_image_example_srcs} 7 | $ 8 | $ 9 | $ 10 | $ 11 | $ 12 | $ 13 | $ 14 | $ 15 | $<$:$> 16 | ) 17 | 18 | target_link_libraries(tf_label_image_example PUBLIC 19 | tf_protos_cc 20 | ${tf_core_gpu_kernels_lib} 21 | ${tensorflow_EXTERNAL_LIBRARIES} 22 | ) 23 | -------------------------------------------------------------------------------- /tensorflow/tools/gcs_test/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | MAINTAINER Shanqing Cai 4 | 5 | RUN apt-get update 6 | RUN apt-get install -y --no-install-recommends \ 7 | curl \ 8 | libcurl4-openssl-dev \ 9 | python \ 10 | python-numpy \ 11 | python-pip 12 | 13 | # Install Google Cloud SDK 14 | RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/install_google_cloud_sdk.bash 15 | RUN chmod +x install_google_cloud_sdk.bash 16 | RUN ./install_google_cloud_sdk.bash --disable-prompts --install-dir=/var/gcloud 17 | 18 | # Install TensorFlow pip from build context. 19 | COPY tensorflow-*.whl / 20 | RUN pip install /tensorflow-*.whl 21 | 22 | # Copy test files 23 | RUN mkdir -p /gcs-smoke/python 24 | COPY gcs_smoke_wrapper.sh /gcs-smoke/ 25 | COPY python/gcs_smoke.py /gcs-smoke/python/ 26 | -------------------------------------------------------------------------------- /tensorflow/contrib/hvx/hexagon_controller/src_dummy_data/inception_v3_graph_init.c: -------------------------------------------------------------------------------- 1 | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | void init_graph(int nn_id) {} 17 | -------------------------------------------------------------------------------- /tensorflow/tools/docker/run_jupyter.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright 2015 The TensorFlow Authors. All Rights Reserved. 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # ============================================================================== 16 | 17 | 18 | jupyter notebook "$@" 19 | -------------------------------------------------------------------------------- /tensorflow/contrib/hvx/hexagon_controller/src_dummy_data/inception_v1_graph_init.c: -------------------------------------------------------------------------------- 1 | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | void init_graph_v1(int nn_id) {} 17 | -------------------------------------------------------------------------------- /tensorflow/core/framework/allocation_description.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | option java_outer_classname = "AllocationDescriptionProtos"; 6 | option java_multiple_files = true; 7 | option java_package = "org.tensorflow.framework"; 8 | 9 | message AllocationDescription { 10 | // Total number of bytes requested 11 | int64 requested_bytes = 1; 12 | 13 | // Total number of bytes allocated if known 14 | int64 allocated_bytes = 2; 15 | 16 | // Name of the allocator used 17 | string allocator_name = 3; 18 | 19 | // Identifier of the allocated buffer if known 20 | int64 allocation_id = 4; 21 | 22 | // Set if this tensor only has one remaining reference 23 | bool has_single_reference = 5; 24 | 25 | // Address of the allocation. 26 | uint64 ptr = 6; 27 | }; 28 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | #cc4285f4 19 | 20 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports_google/plottable.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tensorflow/tools/git/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Contains script to generate tensorflow/core/util/version_info.cc 3 | # Also contains information about git repository deposited by configure 4 | # in gen/... 5 | package(default_visibility = ["//tensorflow:internal"]) 6 | 7 | licenses(["notice"]) # Apache 2.0 8 | 9 | exports_files( 10 | glob(["gen/*"]) + [ 11 | "gen_git_source.py", 12 | ], 13 | ) 14 | 15 | # ----------------------------------------------------------------------------- 16 | # Google-internal targets. These must be at the end for syncrepo. 17 | 18 | filegroup( 19 | name = "all_files", 20 | srcs = glob( 21 | ["**/*"], 22 | exclude = [ 23 | "**/METADATA", 24 | "**/OWNERS", 25 | ], 26 | ), 27 | visibility = ["//tensorflow:__subpackages__"], 28 | ) 29 | -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/tf_core_direct_session.cmake: -------------------------------------------------------------------------------- 1 | ######################################################## 2 | # tf_core_direct_session library 3 | ######################################################## 4 | file(GLOB tf_core_direct_session_srcs 5 | "${tensorflow_source_dir}/tensorflow/core/common_runtime/direct_session.cc" 6 | "${tensorflow_source_dir}/tensorflow/core/common_runtime/direct_session.h" 7 | ) 8 | 9 | file(GLOB_RECURSE tf_core_direct_session_test_srcs 10 | "${tensorflow_source_dir}/tensorflow/core/debug/*test*.h" 11 | "${tensorflow_source_dir}/tensorflow/core/debug/*test*.cc" 12 | ) 13 | 14 | list(REMOVE_ITEM tf_core_direct_session_srcs ${tf_core_direct_session_test_srcs}) 15 | 16 | add_library(tf_core_direct_session OBJECT ${tf_core_direct_session_srcs}) 17 | 18 | add_dependencies(tf_core_direct_session tf_core_cpu) -------------------------------------------------------------------------------- /tensorflow/contrib/cmake/tf_tutorials.cmake: -------------------------------------------------------------------------------- 1 | set(tf_tutorials_example_trainer_srcs 2 | "${tensorflow_source_dir}/tensorflow/cc/tutorials/example_trainer.cc" 3 | ) 4 | 5 | add_executable(tf_tutorials_example_trainer 6 | ${tf_tutorials_example_trainer_srcs} 7 | $ 8 | $ 9 | $ 10 | $ 11 | $ 12 | $ 13 | $ 14 | $ 15 | $<$:$> 16 | ) 17 | 18 | target_link_libraries(tf_tutorials_example_trainer PUBLIC 19 | tf_protos_cc 20 | ${tf_core_gpu_kernels_lib} 21 | ${tensorflow_EXTERNAL_LIBRARIES} 22 | ) 23 | -------------------------------------------------------------------------------- /tensorflow/core/protobuf/named_tensor.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | option java_outer_classname = "NamedTensorProtos"; 6 | option java_multiple_files = true; 7 | option java_package = "org.tensorflow.framework"; 8 | 9 | import "tensorflow/core/framework/tensor.proto"; 10 | 11 | // A pair of tensor name and tensor values. 12 | message NamedTensorProto { 13 | // Name of the tensor. 14 | string name = 1; 15 | 16 | // The client can populate a TensorProto using a tensorflow::Tensor`, or 17 | // directly using the protobuf field accessors. 18 | // 19 | // The client specifies whether the returned tensor values should be 20 | // filled tensor fields (float_val, int_val, etc.) or encoded in a 21 | // compact form in tensor.tensor_content. 22 | TensorProto tensor = 2; 23 | } 24 | -------------------------------------------------------------------------------- /tensorflow/core/protobuf/saved_model.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorflow; 4 | option cc_enable_arenas = true; 5 | option java_outer_classname = "SavedModelProtos"; 6 | option java_multiple_files = true; 7 | option java_package = "org.tensorflow.framework"; 8 | 9 | import "tensorflow/core/protobuf/meta_graph.proto"; 10 | 11 | // SavedModel is the high level serialization format for TensorFlow Models. 12 | // See [todo: doc links, similar to session_bundle] for more information. 13 | message SavedModel { 14 | // The schema version of the SavedModel instance. Used for versioning when 15 | // making future changes to the specification/implementation. Initial value 16 | // at release will be 1. 17 | int64 saved_model_schema_version = 1; 18 | 19 | // One or more MetaGraphs. 20 | repeated MetaGraphDef meta_graphs = 2; 21 | } 22 | -------------------------------------------------------------------------------- /tensorflow/examples/saved_model/BUILD: -------------------------------------------------------------------------------- 1 | # Description: SavedModel half plus two example. 2 | 3 | package( 4 | default_visibility = ["//tensorflow:internal"], 5 | features = [ 6 | "-layering_check", 7 | ], 8 | ) 9 | 10 | licenses(["notice"]) # Apache 2.0 11 | 12 | exports_files(["LICENSE"]) 13 | 14 | filegroup( 15 | name = "all_files", 16 | srcs = glob( 17 | ["**/*"], 18 | exclude = [ 19 | "**/METADATA", 20 | "**/OWNERS", 21 | "g3doc/sitemap.md", 22 | ], 23 | ), 24 | visibility = ["//visibility:public"], 25 | ) 26 | 27 | py_binary( 28 | name = "saved_model_half_plus_two", 29 | srcs = [ 30 | "saved_model_half_plus_two.py", 31 | ], 32 | srcs_version = "PY2AND3", 33 | deps = [ 34 | "//tensorflow:tensorflow_py", 35 | ], 36 | ) 37 | -------------------------------------------------------------------------------- /third_party/png.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # libpng is the official PNG reference library. 3 | 4 | licenses(["notice"]) # BSD/MIT-like license 5 | 6 | exports_files(["LICENSE"]) 7 | 8 | cc_library( 9 | name = "png", 10 | srcs = [ 11 | "png.c", 12 | "pngerror.c", 13 | "pngget.c", 14 | "pngmem.c", 15 | "pngpread.c", 16 | "pngread.c", 17 | "pngrio.c", 18 | "pngrtran.c", 19 | "pngrutil.c", 20 | "pngset.c", 21 | "pngtrans.c", 22 | "pngwio.c", 23 | "pngwrite.c", 24 | "pngwtran.c", 25 | "pngwutil.c", 26 | ], 27 | hdrs = [ 28 | "png.h", 29 | "pngconf.h", 30 | ], 31 | includes = ["."], 32 | linkopts = ["-lm"], 33 | visibility = ["//visibility:public"], 34 | deps = ["@zlib_archive//:zlib"], 35 | ) 36 | -------------------------------------------------------------------------------- /tensorflow/contrib/hvx/hexagon_controller/src_dummy_data/inception_v3_dummy_float_data.c: -------------------------------------------------------------------------------- 1 | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | float inception_dummy_float_data_299x299[299*299*3] = {}; 17 | -------------------------------------------------------------------------------- /tensorflow/tensorboard/components/tf_imports/plottable.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /third_party/highwayhash.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # SipHash and HighwayHash: cryptographically-strong pseudorandom functions 3 | 4 | licenses(["notice"]) # Apache 2.0 5 | 6 | exports_files(["LICENSE"]) 7 | 8 | cc_library( 9 | name = "sip_hash", 10 | srcs = ["highwayhash/sip_hash.cc"], 11 | hdrs = [ 12 | "highwayhash/sip_hash.h", 13 | "highwayhash/state_helpers.h", 14 | ], 15 | visibility = ["//visibility:public"], 16 | deps = [ 17 | ":arch_specific", 18 | ":compiler_specific", 19 | ], 20 | ) 21 | 22 | cc_library( 23 | name = "arch_specific", 24 | srcs = ["highwayhash/arch_specific.cc"], 25 | hdrs = ["highwayhash/arch_specific.h"], 26 | deps = [":compiler_specific"], 27 | ) 28 | 29 | cc_library( 30 | name = "compiler_specific", 31 | hdrs = ["highwayhash/compiler_specific.h"], 32 | ) 33 | -------------------------------------------------------------------------------- /tensorflow/compiler/xla/port/BUILD: -------------------------------------------------------------------------------- 1 | licenses(["notice"]) # Apache 2.0 2 | 3 | # Filegroup used to collect source files for dependency checking. 4 | filegroup( 5 | name = "c_srcs", 6 | data = glob([ 7 | "**/*.cc", 8 | "**/*.h", 9 | ]), 10 | visibility = ["//tensorflow/compiler/xla:internal"], 11 | ) 12 | 13 | cc_library( 14 | name = "initialize", 15 | hdrs = ["initialize.h"], 16 | visibility = [ 17 | "//tensorflow/compiler/xla:__subpackages__", 18 | ], 19 | ) 20 | 21 | # ----------------------------------------------------------------------------- 22 | 23 | filegroup( 24 | name = "all_files", 25 | srcs = glob( 26 | ["**/*"], 27 | exclude = [ 28 | "**/METADATA", 29 | "**/OWNERS", 30 | ], 31 | ), 32 | visibility = ["//tensorflow:__subpackages__"], 33 | ) 34 | -------------------------------------------------------------------------------- /tensorflow/examples/android/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 |