Commit Graph

98737 Commits

Author SHA1 Message Date
Illia Polosukhin
e7052457d5 Merge pull request #31 from terrytangyuan/master
Added option for number of cores to use
2015-12-13 14:30:26 -08:00
terrytangyuan
89990275b1 Added docstring for num_cores and log_device_replacement 2015-12-13 14:44:04 -05:00
terrytangyuan
20ce504252 Added option for number of cores to use 2015-12-13 11:39:32 -05:00
Illia Polosukhin
f02b884a9c Merge pull request #29 from terrytangyuan/patch-2
Added Codecov badge
2015-12-12 23:28:11 -08:00
Vijay Vasudevan
6936918ad8 TensorFlow: Merging changes from internal 2015-12-11 23:17:16 -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
8de955daff TensorFlow: Merging changes from internal 2015-12-11 17:21:51 -08:00
Yuan (Terry) Tang
f4d861a713 Added Codecov badge 2015-12-11 19:15:58 -06:00
Vijay Vasudevan
0cf264b756 TensorFlow: merge changes from internal
Change 110044026
	Wrap comment in build_pip_package.sh

Base CL: 110044081
2015-12-11 17:14:11 -08:00
Vijay Vasudevan
714618af19 TensorFlow: merge changes from internal
Change 110024345
	Removed the unary operator restriction on MaxPool so we can reuse it more flexibly in the future

Base CL: 110043747
2015-12-11 17:09:12 -08:00
Illia Polosukhin
bfb004beb8 added --with-cov flag to nose 2015-12-11 16:45:34 -08:00
Illia Polosukhin
3c5697a419 adding code coverage to travis 2015-12-11 16:32:10 -08:00
Illia Polosukhin
d4f99dac43 Fixing leftovers of pylint 2015-12-11 15:47:38 -08:00
Vijay Vasudevan
c12fb92f3e TensorFlow: Merging changes from internal 2015-12-11 14:23:35 -08:00
Vijay Vasudevan
a4cefca9f4 TensorFlow: fix undeclared header inclusions in two BUILD files
to fix build for bazel 0.1.2

Change-Id: I09c89610ac8afb02834458c69d0a56d7cbaf43d1
2015-12-11 14:09:09 -08:00
Vijay Vasudevan
7fb82f181a TensorFlow: merge changes from internal
Base CL: 110018194
2015-12-11 12:25:19 -08:00
arahuja
8cb5dbed00 Update input_data import statement
Change-Id: Id5bab85e89bf790f6c2128513bbc1411ca5c7fa9
2015-12-11 14:56:33 -05:00
Vijay Vasudevan
0a21a38d4e TensorFlow: merge changes from internal
Change 110010103
	Implementing SparseSplitOp.
	The op takes a sparse tensor (list, values and shape), split_dim and num_splits and produces a list of num_splits tensors where the shape of each tensor is the shape of the original tensor except split_dim = shape[split_dim +num_split - 1 / num_split]. in case if shape[split_dim] is not an integer multiple of num_split an extra one dimension get added to the slices starting from 0.
	For example if the input shape is a [2, 10] split_dim = 1, num_split = 3
	output shapes will be [[2, 4], [2, 4], [2, 2]].

	The Op register shape to [Unknown, dim] for indices tensors and [Unknown] for the values tensor because shape can't be inferred without evaluate input tensors.

Base CL: 110012853
2015-12-11 11:29:48 -08:00
Vijay Vasudevan
07288530f4 TensorFlow: Merging changes from internal 2015-12-11 10:55:05 -08:00
Vijay Vasudevan
bc624aa8d9 TensorFlow: merge changes from internal
Change 110004767
	Add Cast to list of supported ConstantValue ops, mainly useful for shape inference
Change 110002200
	Bug fix for b/24814668. The fix uses mdevin's CL/109324239, which adds support to clear control dependency and control flow contexts.

	Bug fix for b/25914830. We now clear the control related contexts for initial values of variables in adagrad.
Change 110000213
	Further (minor) improvements to print usage in docs and tutorials
Change 109975099
	Update `tensor_util.ConstantValue()` to return scalars when appropriate.

	The `ConstantValue()` implementations for `tf.size()` and `tf.rank()`
	were returning single-element numpy vectors, whereas the op
	implementations produce scalar outputs.
Change 109950165
	TensorBoard tag to 5

Base CL: 110006867
2015-12-11 10:33:31 -08:00
Illia Polosukhin
36105b7591 Added more ignores to pylint 2015-12-11 09:16:44 -08:00
Illia Polosukhin
a64f3d7eae Merge branch 'master' of github.com:google/skflow 2015-12-11 09:15:54 -08:00
Illia Polosukhin
da88e3ff1c Fixes #27: Added alternative import for v0.6 TensorFlow (it's bug there though) 2015-12-11 09:15:31 -08:00
Mark Borgerding
7c5c20b2b7 fix for build failure (tools/python_bin_path.sh not found)
Change-Id: Ic259ae0e7b4a20627824d302f8a4936368d561dd
2015-12-11 07:33:33 -05:00
Vijay Vasudevan
65ea079c5b TensorFlow: Merging changes from internal 2015-12-10 17:32:31 -08:00
Vijay Vasudevan
d9cfc64a2d TensorFlow: merge changes from internal
Change 109945903
	Make unsorted_segment_sum detect negative indices

	Previously it crashed.  This fixes #466.

	Also improve the error message to say which index is problematic.
Change 109942557
	Fix the conv_grad_input with stride 2.
	+ We always call the Cudnn implementation even if we have an incompatible
	padding.

Base CL: 109948577
2015-12-10 16:42:22 -08:00
Vijay Vasudevan
127d0bd481 TensorFlow: Merging changes from internal 2015-12-10 16:14:20 -08:00
Vijay Vasudevan
475edf8e94 TensorFlow: upstream changes to git.
Changes:
    Fix wrong path in build_pip_package.sh; fixes #471
2015-12-10 15:10:51 -08:00
Vijay Vasudevan
6df34588d4 Merge from internal 2015-12-10 14:53:37 -08:00
Vijay Vasudevan
3116631f95 TensorFlow: Update protobuf submodule to 014b9012d32c6409bf2f4f13ff4608a2cbc7cb9a 2015-12-10 14:27:55 -08:00
Vijay Vasudevan
7bd4619e59 TensorFlow: Merge from internal 2015-12-10 12:15:05 -08:00
Vijay Vasudevan
5abead8c43 TensorFlow: upstream changes to git.
Change 109922312
	Update dockerfiles and instructions.

	This CL does two things:
	* updates dockerfiles to use 0.6.0
	* updates the instructions for the new tag format.
Change 109920508
	Fix broken cast_op_test
Change 109919316
	Enforce converting to int64 for SparseTensor indices and shape
Change 109916130
	Fix imagenet for Python 3

	It needed some binary file modes and an iteritems -> items.
Change 109912827
	Enable fast c++ implementation in protobuf's python interface.

Base CL: 109922840
2015-12-10 12:07:40 -08:00
Vijay Vasudevan
c3007947ca TensorFlow: Merge from internal. 2015-12-10 10:37:44 -08:00
Vijay Vasudevan
019c679140 TensorFlow: upstream changes to git.
Change 109910602
	TensorFlow: rename packages to their final whl names for linux.

Base CL: 109910643
2015-12-10 10:15:38 -08:00
Vijay Vasudevan
eeb4a439e9 TensorFlow: fix missing python3 print syntax in classify_image.py
Change-Id: Ibd5c68048f172785cf68272367d0f06fd62bc7de
2015-12-10 09:07:26 -08:00
Illia Polosukhin
cb9e0503e6 Merge pull request #26 from terrytangyuan/patch-1
Minor typo
2015-12-09 23:25:59 -08:00
Illia Polosukhin
864f3c722c Merge pull request #25 from terrytangyuan/example
Additional Example
2015-12-09 23:25:43 -08:00
Vijay Vasudevan
27259353e5 TensorFlow: Upstream changes from git.
Change 109849574
	Avoid some missing return warnings
Change 109837783
	Add invalid aggregation to error message.
Change 109835474
	Improves docstring of RegisterGradient decorator.

	Fixes a typo (input -> output) and uses lowercase name for neg in the provided example.
Change 109834486
	Update generated Op docs.
Change 109830497
	Fix per_image_whitening to handle edge case by preventing the sqrt() of a negative number which is possible due to numerical floating point issues. Unit test added.
	Fixes #411
Change 109824286
	Change TensorBoard/TAG to 4
Change 109824197
	Update tutorials and documentation usage of print to use print as function not statement.
	This way you can copy+paste code in a python3 context and it will still work.
Change 109824020
	Fix another case where TensorBoard discards values after a restart.

	We also need to not discard on graph_def, since user code or SummaryWriter may add graph_defs at step 0 after every restart.
Change 109821924
	Defines Templates for variable sharing.

	A Template is a function that generates a sub-graph with the same variables each time it is called.

	Two different templates defined with the same underlying function also return different variables.
Change 109815801
	Don't instatiate the eigen expressions for additions and subtractions of
	boolean since they won't be called. This reduces the size of the binary a bit.
Change 109795730
	Allow casts to and from int8
Change 109791914
	Python 3 fix: filter has no len

	gradients.py calls len on the output of filter.  A call to tuple is needed in
	between.

	Not sure why this wasn't caught when we ran the Python 3 tests.  If I break it
	for Python 2 several tests break.
Change 109757009
	Fix minor grammatical errors in about.html

	The missing article needs no justification, I think.
	has -> have, because subjects are 'usability and functionality', not 'TensorFlow'.
	and also -> and, because 'also' is superfluous in this use.
Change 109756627
	TensorFlow: some doc updates to models/ files
Change 109743899
	TensorFlow: remove one more clang warning (class / struct inconsistency).
Change 109741933
	Document default for max_images in tf.image_summary

	It used to say max_images=None which hid the C++ defalut of 3.
	Now it says max_images=3.

	Fixes https://github.com/tensorflow/tensorflow/issues/441.

	It's unfortunate that an edit-distance-5 change produces such a large CL.
Change 109741569
	Update generated Op docs.
Change 109739599
	Renaming the Python variables in the layer weights of the fully connected
	MNIST model so that the variable and the TensorFlow names are different. This
	allows the documentation to be more explicit about the distinction between the
	weights and biases of different layers. Also, the documentation gets to
	describe the whether the TF name or the Python name is being used.

Base CL: 109851372
2015-12-09 17:40:18 -08:00
terrytangyuan
e118f9d929 Rename example and trailing spaces 2015-12-09 19:03:51 -06:00
Vijay Vasudevan
8242b4dd1b TensorFlow: some more python3 compatibility test fixes
Change-Id: I5678cbdfb45757e2218494f542c9b0a0d5cc16a4
2015-12-09 17:00:55 -08:00
Vijay Vasudevan
014ff10c4f TensorFlow: fix some last python3 compatibility issues for 0.6.0.
Change-Id: I3cd6c6e3f3c7755343213e4697c97a09f79fb947
2015-12-09 16:40:18 -08:00
Martin Wicke
3951b248d2 Fixed PY2AND3 label on op_def_registry.py
Change-Id: I68d35edbe3608b08f06476fdf5d5641c97e9f706
2015-12-09 14:51:40 -08:00
Vijay Vasudevan
e75bad3947 TensorFlow: Change TensorFlow version to 0.6.0.
Change-Id: Ic08e4095b6697676ee24dab6b2ec2abd06b0e2cf
2015-12-09 10:30:53 -08:00
Yuan (Terry) Tang
143d0035a5 Minor typo 2015-12-09 00:05:17 -06:00
terrytangyuan
d77efb9955 Added table of contents for examples 2015-12-09 00:02:22 -06:00
terrytangyuan
c7b3cba1ba Added copyright info 2015-12-08 23:51:05 -06:00
terrytangyuan
1261e5439c Added example of skflow with pipeline 2015-12-08 23:50:25 -06:00
Vijay Vasudevan
f88fb6f3a8 TensorFlow: Merge from internal 2015-12-08 16:12:44 -08:00
Vijay Vasudevan
5de9085673 TensorFlow: Upstream changes to git.
Change 109738410
	Don't crash if an attribute contains an invalid shape

	Using GetAttr to retrieve a TensorShape caused a process crash if the shape
	contained negative entries or was too large.  Instead, produce useful error
	messages (and Python exceptions).

	Fixes https://github.com/tensorflow/tensorflow/issues/449.
Change 109737915
	TensorFlow: fix build failures and some warnings when built with clang
	on OS X.
Change 109737559
	Fix bad paragraphing
Change 109735757
	Fix OSX installation instructions.
Change 109733797
	Adds buttons to toggle the display of all runs.

Base CL: 109739474
2015-12-08 16:11:23 -08:00
Vijay Vasudevan
20723e2b3d TensorFlow: Merge changes from internal 2015-12-08 15:42:44 -08:00