Commit Graph

866 Commits

Author SHA1 Message Date
Eugene Brevdo
06b0813ddd Initial API for tf.contrib.distributions.
Change: 115725802
2016-02-29 10:47:08 -08:00
Vijay Vasudevan
52c73af0b0 TensorFlow: add 'make_ndarray' to contrib/util
Change: 115722090
2016-02-29 10:46:55 -08:00
A. Unique TensorFlower
ab48dbd4ac Fixing operator order in LRN docs to match code.
The implementation adds the bias to a temporary, that temporary is what is then the base with exponent beta. The implementation also agrees with the equation in Section 3.3 of the referenced Krizhevsky et. al. paper.
Change: 115721267
2016-02-29 10:46:44 -08:00
A. Unique TensorFlower
7552e9e561 Add build ruiles to CTC
Change: 115720167
2016-02-29 10:46:35 -08:00
Vijay Vasudevan
e9c1ccd421 TensorFlow: make EqualGraphDef ignore internal attributes (those that
starts with "_", which are not part of the public interface of ops and
can change.
Change: 115719866
2016-02-29 10:46:25 -08:00
Eugene Brevdo
1827f66ab8 Bugfix to dynamic_rnn: restore some shape information when possible during loop.
Change: 115717351
2016-02-29 10:46:13 -08:00
Zongheng Yang
1df80e82ac Minor: default-construct RunOptions and RunOutputs in vanilla Run().
Change: 115714930
2016-02-29 10:45:52 -08:00
Josh Levenberg
81f3078deb Delete deprecated core:kernel_lib target now that it is no
longer referenced.
Change: 115711086
2016-02-29 10:45:41 -08:00
A. Unique TensorFlower
6f74cd15a6 Refactor DirectoryWatcher to take in a path provider as input.
This will allow us to watchings things that aren't local files on disk, such as
GCS directories.
Change: 115708990
2016-02-29 10:45:22 -08:00
Eugene Brevdo
6390a06d80 Fix small dtype inference error in ctc loss op test.
Change: 115706184
2016-02-26 14:01:26 -08:00
Geoffrey Irving
8d7f58d44d Make sparse index error messages more informative
They now say what the index is and give the required bounds for out of bounds
errors.  Example (slightly paraphrased):

    Index 0 is out of bounds, foolish user.

vs.

    indices[0] = [0,128] is out of bounds: need 0 <= index < [64,10]
Change: 115705692
2016-02-26 14:01:16 -08:00
A. Unique TensorFlower
25a5fbcf64 Allow list of initializer nodes to run before freezing the graph.
Change: 115703618
2016-02-26 14:00:55 -08:00
Manjunath Kudlur
f417134a5a Copy protobuf header files and Eigen to the pip package.
Clarify the documentation on how to build using bazel.
Fixes .
Change: 115701645
2016-02-26 13:23:31 -08:00
A. Unique TensorFlower
96118731cb Adds RunWithOpts() that takes a per-step RunOptions and RunOutputs to
C++ Session API. Use it for optionally turning tracing on for a step and
returning profiling info collected via StepStats.

For DirectSession only.

Example usage:

      RunOptions run_options;
      run_options.set_trace_level(RunOptions::FULL_TRACE);
      RunOutputs run_outputs;
      ASSERT_TRUE(!run_outputs.has_step_stats());

      Status s = session->RunWithOpts(run_options, inputs, output_names,
                                      target_nodes, &outputs, &run_outputs);

      ASSERT_TRUE(run_outputs.has_step_stats());
Change: 115693287
2016-02-26 13:23:14 -08:00
A. Unique TensorFlower
c36725ad79 SDCA implementation changes in preparation for larger data-set scaling.
Change: 115686672
2016-02-26 13:23:03 -08:00
Eugene Brevdo
8509f88ade Add CTC (Connectionist Temporal Classification) Ops to TF contrib.
This includes:
* ctc_loss
* ctc_greedy_decoder
* ctc_beam_search_decoder
Change: 115683564
2016-02-26 13:22:52 -08:00
Eugene Brevdo
fdfbd3af7a Final fix to TestReporter (hopefully).
Change: 115675044
2016-02-26 13:22:28 -08:00
A. Unique TensorFlower
dff7bb7c73 Adds a number of loss functions and reduction utilities to calculate quantities such as L1 and L2 loss.
Change: 115671496
2016-02-26 13:22:17 -08:00
A. Unique TensorFlower
e0d5b85a16 Use gfile consistently.
Change: 115663554
2016-02-26 13:22:06 -08:00
Josh Levenberg
4f59a43219 Move core/common_runtime/gpu_device_context.h into
core:gpu_lib, out of the non-gpu core:core_cpu* targets.
Change: 115641392
2016-02-26 13:21:55 -08:00
Yuan Yu
5d01083d62 Add an argument to control memory swap for while loop gradient.
Change: 115637967
2016-02-26 13:21:45 -08:00
Eugene Brevdo
5c5b29adda mnist example now uses sparse_softmax_cross_entropy_with_logits.
Change: 115636069
2016-02-26 13:21:23 -08:00
Derek Murray
00986d48bb Initial version of the open-source distributed TensorFlow runtime.
This includes a gRPC server (grpc_tensorflow_server) that can serve as both
the master of a distributed TensorFlow computation, and an individual worker
in the computation. The GrpcSession class is included to allow client programs
(including Python clients) to interact with a server.

See tensorflow/core/distributed_runtime/README.md for usage instructions.

This change partially addresses issue .
Change: 115634191
2016-02-25 20:15:52 -08:00
Vijay Vasudevan
d27da251bc TensorFlow: fix GPU breakage (again)
Change: 115631502
2016-02-25 19:20:34 -08:00
Vijay Vasudevan
045e086764 Rollback of "Split TensorBoard gulpfile into per-task files.
Gulp task changes:
"compile.all" -> "compile"
"tslint-strict" -> "tslint"
"tslint-permissive" -> "tslint.permissive"
gulp watch will run tslint and compile in parallel rather than in sequence (faster)"
Change: 115630394
2016-02-25 19:05:11 -08:00
A. Unique TensorFlower
7dd05309b3 Reduce log output for each step in direct_session, added previously, from LOG(INFO) to VLOG(1).
Change: 115630069
2016-02-25 19:04:41 -08:00
Vijay Vasudevan
657d5fecbf Rollback of:
Make TensorBoard purging of orphaned or out-of-order events optional.
Now it is controlled by a flag.
Default behavior is the same.

Will be quite useful for debugging missing data type issues.
Change: 115627868
2016-02-25 18:22:08 -08:00
Vijay Vasudevan
9f7eb520c7 Missing entries due to moved files.
Change: 115626850
2016-02-25 18:10:39 -08:00
Dan Mané
d8fbe760f0 Make TensorBoard purging of orphaned or out-of-order events optional.
Now it is controlled by a flag.
Default behavior is the same.

Will be quite useful for debugging missing data type issues.
Change: 115623272
2016-02-25 18:10:15 -08:00
A. Unique TensorFlower
e8260f3433 Add a step_id field to the OpKernelContext indicating which step
triggered the Op execution. This will allow us to "charge" resource
usage to a specific step.
Change: 115622649
2016-02-25 18:10:04 -08:00
Dan Mané
ca69460901 Update TensorBoard readme with info on exporting data.
Change: 115619523
2016-02-25 18:09:53 -08:00
Jianmin Chen
b51ef0cd06 Rollback of: Add native depthwise_convolution op (forward pass).
The current depthwise_conv is very inefficient by calling slice() on each
input channel on input and filters, followed by a conv() on each input channel,
after which is a concat().
Change: 115617901
2016-02-25 18:09:42 -08:00
A. Unique TensorFlower
841656c9fd Change ReaderOp kernel to be async, by having it own a thread on which it
schedules callbacks to run.
Change: 115615528
2016-02-25 18:09:32 -08:00
Dan Mané
b62169037f Split TensorBoard gulpfile into per-task files.
Gulp task changes:
"compile.all" -> "compile"
"tslint-strict" -> "tslint"
"tslint-permissive" -> "tslint.permissive"
gulp watch will run tslint and compile in parallel rather than in sequence (faster)
Change: 115614194
2016-02-25 18:09:22 -08:00
Dan Mané
82fdff99d4 Update TensorBoard dependencies versions.
Remove some unnecessary devDependencies, e.g. accessibility_developer_tools and chai.
Change: 115613184
2016-02-25 18:09:12 -08:00
Xiaoqiang Zheng
01a6f5e504 Multiple layout support for pooling operations.
Change: 115611259
2016-02-25 18:09:01 -08:00
Derek Murray
cdd0f2eeef Fix compilation error in argv parsing code... whoops.
Change: 115610448
2016-02-25 15:25:10 -08:00
A. Unique TensorFlower
aeae4825b3 Add symbolic gradient functions for Conv2D and MaxPool
Change: 115608522
2016-02-25 15:24:58 -08:00
Vijay Vasudevan
03fed366e4 TensorFlow: conv_ops uses gpu_device_context, needs to depend on the lib.
Change: 115607974
2016-02-25 15:00:06 -08:00
Derek Murray
f3ead2df04 Correct handling of argv in test utility.
Change: 115607801
2016-02-25 14:59:54 -08:00
Vijay Vasudevan
c38bbf42e8 Rollback of "TestReporter is back in. Maybe also fixed the Android build."
Test fails.
Change: 115602477
2016-02-25 14:13:33 -08:00
Vijay Vasudevan
90cf3e2eea Rollback of: Add native depthwise_convolution op (forward pass).
The current depthwise_conv is very inefficient by calling slice() on each
input channel on input and filters, followed by a conv() on each input channel,
after which is a concat().
Change: 115601904
2016-02-25 14:13:22 -08:00
Vijay Vasudevan
a82f7e6b55 Make gpu_lib for non-cuda deps that we use in public kernels.
Change: 115598732
2016-02-25 13:45:59 -08:00
Sherry Moore
a5f3979004 Clarify comments for max_to_keep.
Change: 115598592
2016-02-25 13:45:46 -08:00
Manjunath Kudlur
be64da9454 Remove endl at the end of VLOG.
Change: 115594986
2016-02-25 13:19:40 -08:00
Josh Levenberg
eec5477ab6 Execute TODO to rename io.* to save_restore_tensor.*. This will
hopefully reduce confusion since io.* is not the implementation of the
".../kernels:io" build target.
Change: 115593814
2016-02-25 13:19:30 -08:00
Eugene Brevdo
ad3ef4c05b TestReporter is back in. Maybe also fixed the Android build.
Change: 115589642
2016-02-25 13:19:20 -08:00
Vijay Vasudevan
356bf7f466 TensorFlow: add missing header file to posix/test.cc
Change: 115589382
2016-02-25 12:13:32 -08:00
Jianmin Chen
7b47c8b4a3 Add native depthwise_convolution op (forward pass).
The current depthwise_conv is very inefficient by calling slice() on each
input channel on input and filters, followed by a conv() on each input channel,
after which is a concat().
Change: 115583330
2016-02-25 12:13:20 -08:00
Derek Murray
818644c2a9 Changed testing::SrcDir() to testing::TensorFlowSourceRoot() and fixed it.
Also fixed some compiler warnings.
Change: 115582482
2016-02-25 11:16:31 -08:00