Commit Graph

17 Commits

Author SHA1 Message Date
A. Unique TensorFlower
4ea0733c46 Allow callers to provide a shift value in tf.nn.moments().
Change: 123095477
2016-05-24 05:22:29 -07:00
Dan Mané
e5bcf54a1d Documented TensorBoard improvements that will make it into the 0.9.0 release.
Change: 122460440
2016-05-16 14:42:05 -07:00
Illia Polosukhin
5c9bc51857 Merge changes from github.
Change: 120185825
2016-04-18 19:03:29 -07:00
Eugene Brevdo
56f1d64998 Fix dependencies bugs
Change: 116925769
2016-03-11 11:41:23 -08:00
Vijay Vasudevan
fe056f0b5e Merge changes from github.
Change: 114882676
2016-02-17 12:56:41 -08:00
Geoffrey Irving
18297126c0 Fix tf.test for PEP-8 and document
tf.test now has appropriate snake case function names (get_temp_dir and
is_built_with_cuda) and has normal toplevel module documentation.

Also fix a bug in make_all.
Change: 114351269
2016-02-10 16:01:21 -08:00
Geoffrey Irving
3e33d444c6 Generalize tf.image.random_crop to dimension-independent tf.random_crop
The C++ 3-D-only RandomCrop op is now deprecated at GraphDef version 8, replaced
with a python tf.random_crop that works for any dimension.  This will allow
random_crop to be used for other purposes.

Unfortunately, tf.image.random_crop took 2 sizes rather than 3 for 3-D tensors.
The new tf.random_crop always takes n sizes for rank n tensors; pass 3 as the
last element if you want to not crop a last dimension of size 3.
Change: 114135451
2016-02-08 18:49:25 -08:00
Eugene Brevdo
fea55e1e05 Breaking change in TF RNN python api: Return the final state instead of the
list of states when calling tf.nn.rnn() and tf.nn.state_saving_rnn()

This is necessary for further cleanup of RNN state propagation code
(currently dynamic RNN calculations when passing sequence_length do not return
the proper final state, this is a necessary fix to make that fix efficient).
Change: 113203893
2016-01-27 23:06:38 -08:00
Vijay Vasudevan
c3c27f275f TensorFlow: ASSERT_OK and EXPECT_OK are also defined in other projects
that are built with TensorFlow (protobuf), so prefix our macros with
TF_ to make them project specific.
Change: 113197186
2016-01-27 14:01:22 -08:00
Manjunath Kudlur
c2722a1fc6 - Added optimizer_options field to GraphOptions, moved graph optmization
options there.
- Deprecated the existing skip_common_subexpression_elimination field.
Change: 113194182
2016-01-27 13:27:10 -08:00
Geoffrey Irving
5643775f26 Remove TensorShape::ShortDebugString in favor of TensorShape::DebugString
The two functions already have the same behavior.
Change: 112959229
2016-01-25 10:49:30 -08:00
Josh Levenberg
db7478e899 First step of moving files out of tensorflow/core/public/. Here
we copy the original files to their new location and make the public/
versions #include the new location.  Once all references are updated
to point to the new location, we can delete the originals in public/.
Change: 112622561
2016-01-20 17:20:08 -08:00
Geoffrey Irving
cbff45c03b Add GraphDef version 6 implementing scalar strictness, but don't use it
The kAllowLegacyScalars flag is now gone.  Instead, scalar strictness now
depends on the GraphDef version: we are lenient below 6 and strict with 6
and above.  The current GraphDef version is still 5; new graphs will not
yet use the new version by default.

Outside of PLATFORM_GOOGLE, this change has no effect since the code was
already scalar strict.

The TensorShapeUtils versions of IsLegacyScalar and IsLegacyVector are also
gone; users should now get them from OpKernel.

The GraphDef version history has been moved to core/public/version.h to
minimize the number of files that must be changed in future CLs.
Change: 111947842
2016-01-12 08:06:56 -08:00
Josh Levenberg
02dff6d0d8 Fix bug where attrs with values that are the empty list
were not being properly set via the Python API.
Change: 111635679
2016-01-07 18:37:54 -08:00
Vijay Vasudevan
10e62dc1e0 TensorFlow: merge changes from internal
Change 110055925
	Clean up interface for adjust_contrast and adjust_brightness.
	- Simplify kernel for adjust_contrast and remove all min/max and casts.
	- Change semantics of delta arg to adjust_brightness (always in [0,1)), and adjust users.
	- Add saturate_cast for casting images without over/underflow problems.
	- Add new numbers for adjust_contrast benchmark.

	This CL makes two changes to the public API:
	- It changes the semantics of the delta parameter of adjust_brightness, which was in the same range as the input image before, and now is always in [0,1).
	- It changes the semantics of adjust_contrast (the cc op), which wasn't hidden, but was shadowed by the python wrapper in image_ops. It's a little questionable whether this function was part of the public API. It definitely shouldn't have been. It is now hidden, although now it could be part of the public API, albeit with a different name.
Change 110054427
	update ci_build

	* add PYTHON_BIN_PATH and always run ./configure in ci_build
	* rename ci_build cache directory to bazel-ci_build-cache
	* sync ci_build/Dockerfile.cpu with docker/Dockerfile.devel
	* use "FROM nvidia/cuda:..." for gpu container
	* therefore no need of the tensorflow_extra_deps directory anymore
	* share install code between containers using  ./install/*.sh scripts
	* do not inherit (and override FROM clausule in dockerfiles anymore)
	* print bazel test errors to stderr
Change 110047126
	Update ops.pbtxt.
Change 110046428
	Simplify the example for the Fill op.

Base CL: 110056265
2015-12-11 23:03:16 -08:00
Vijay Vasudevan
2c3738db9c TensorFlow: Upstream changes to git.
Change 109730179
	Add support for selecting partition strategy in tf.nn.embedding_lookup and related ops, and allow unequally-sized shards to be used as input.
Change 109729548
	TensorFlow: add RELEASE.md notes for 0.6.0.
Change 109728185
	Make seq2seq_test non-flaky by setting python and numpy random seed.
Change 109725913
	Refactor slot creation in optimizers and moving averages to separate file
Change 109718024
	TensorFlow: reduce runtime of seq2seq_test from ~30s to ~18s.
Change 109712251
	More performance improvement for convnet on GPU.
	+ Switch forward convolution format to NCHW.
	+ Allocate scratch space for forward- and backward- convolutions.
	+ Users can use "TF_CUDNN_WORKSPACE_LIMIT_IN_MB" to configure the scratch space
	limit. The default limit in 1GB.
Change 109710898
	Added extract_sub_graph utility function

Base CL: 109731609
2015-12-08 14:55:13 -08:00
Vijay Vasudevan
ddd4aaf528 TensorFlow: upstream changes to git.
Change 109695551
	Update FAQ
Change 109694725
	Add a gradient for resize_bilinear op.
Change 109694505
	Don't mention variables module in docs

	variables.Variable should be tf.Variable.
Change 109658848
	Adding an option to create a new thread-pool for each session.
Change 109640570

	Take the snapshot of stream-executor.
	+ Expose an interface for scratch space allocation in the interface.

Change 109638559
	Let image_summary accept uint8 input

	This allows users to do their own normalization / scaling if the default
	(very weird) behavior of image_summary is undesired.

	This required a slight tweak to fake_input.cc to make polymorphically typed
	fake inputs infer if their type attr is not set but has a default.

	Unfortunately, adding a second valid type to image_summary *disables* automatic
	implicit conversion from np.float64 to tf.float32, so this change is slightly
	backwards incompatible.
Change 109636969
	Add serialization operations for SparseTensor.
Change 109636644
	Update generated Op docs.
Change 109634899
	TensorFlow: add a markdown file for producing release notes for our
	releases.  Seed with 0.5.0 with a boring but accurate description.
Change 109634502
	Let histogram_summary take any realnumbertype

	It used to take only floats, not it understands ints.
Change 109634434
	TensorFlow: update locations where we mention python 3 support, update
	them to current truth.
Change 109632108
	Move HSV <> RGB conversions, grayscale conversions, and adjust_* ops back to tensorflow
	- make GPU-capable version of RGBToHSV and HSVToRGB, allows only float input/output
	- change docs to reflect new size constraints
	- change HSV format to be [0,1] for all components
	- add automatic dtype conversion for all adjust_* and grayscale conversion ops
	- fix up docs
Change 109631077
	Improve optimizer exceptions

	1. grads_and_vars is now a tuple, so must be wrapped when passed to format.
	2. Use '%r' instead of '%s' for dtype formatting

Base CL: 109697989
2015-12-08 09:58:59 -08:00