- 15 12月, 2015 5 次提交
-
-
由 A. Unique TensorFlower 提交于
Change: 110191670
-
由 A. Unique TensorFlower 提交于
This allows one to retrieve QueueRunners corresponding to queues in a specific scope using tf.get_collection(tf.GraphKeys.QUEUE_RUNNERS, scope). Change: 110169009
-
由 A. Unique TensorFlower 提交于
Change: 110167188
-
由 A. Unique TensorFlower 提交于
Fix `gulp vulcanize`. To do this we remove bower_components folder and all components are now under `components` directory. This follows polymer conventions. Change: 110158503
-
由 Martin Wicke 提交于
Change: 110155285
-
- 12 12月, 2015 6 次提交
-
-
由 Vijay Vasudevan 提交于
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
-
由 Vijay Vasudevan 提交于
Change 110044026 Wrap comment in build_pip_package.sh Base CL: 110044081
-
由 Vijay Vasudevan 提交于
Change 110024345 Removed the unary operator restriction on MaxPool so we can reuse it more flexibly in the future Base CL: 110043747
-
由 Vijay Vasudevan 提交于
Base CL: 110018194
-
由 Vijay Vasudevan 提交于
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
-
由 Vijay Vasudevan 提交于
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
-
- 11 12月, 2015 5 次提交
-
-
由 Vijay Vasudevan 提交于
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
-
由 Vijay Vasudevan 提交于
Changes: Fix wrong path in build_pip_package.sh; fixes #471
-
由 Vijay Vasudevan 提交于
-
由 Vijay Vasudevan 提交于
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
-
由 Vijay Vasudevan 提交于
Change 109910602 TensorFlow: rename packages to their final whl names for linux. Base CL: 109910643
-
- 10 12月, 2015 1 次提交
-
-
由 Vijay Vasudevan 提交于
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
-
- 09 12月, 2015 4 次提交
-
-
由 Vijay Vasudevan 提交于
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
-
由 Vijay Vasudevan 提交于
with nvcc in debug mode.
-
由 Vijay Vasudevan 提交于
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
-
由 Vijay Vasudevan 提交于
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
-
- 08 12月, 2015 1 次提交
-
-
由 Vijay Vasudevan 提交于
Change 109628097 Fix gcc 4.8.1 compile Modified from patch by @assolini here: https://github.com/tensorflow/tensorflow/issues/405 Change 109624275 Make preview frame ImageReader global so that it does not get GC'd. This may fix an issue with connecting to the camera on some devices where the underlying Surface is prematurely cleaned up (http://stackoverflow.com/questions/33437961/android-camera-2-api-bufferqueue-has-been-abandoned). Change 109620599 - improved test a little to make it easier to understand as it serves as an example for users Change 109614953 TensorFlow: update tutorials/howtos to point to correct location of files, show python example in addition to bazel. Change 109612732 TensorFlow: move reading_data into examples, change data dir to /tmp/data. Validated that they all run, but these probably need a selftest at some point. Change 109608695 Apply 'gate_gradients' only when there is more than one real gradients. Change 109605014 There are 3 obvious places to start using TensorFlow. 2/3 of the starting points do not have a link to the installation instructions. Change 109604287 Make the `tf.reshape` shape function more restrictive. Previously, it did not raise a construction-time error if the input shape and the new shape were incompatible; now it detects this and raises a `ValueError`. Change 109603375 TensorFlow: Move word2vec_basic.py from g3doc/ to examples/ There are no additional libraries this uses, so nothing else needs to be done Change 109601289 TensorBoard tag 3 Change 109600908 Decrease number of scalar values stored by TensorBoard. 10k is more than displays nicely. Change 109599464 Fix "smart restart" functionality in TensorBoard (it throws away dead data) After restarts, a file_version event is created that always has step 0. We need to ignore this. Change 109597667 Switch to using /dev/urandom for TensorFlow randomness. Using /dev/random leads to slowdown when running in an environment with poor access to an entropy source (such as some VMs). /dev/urandom has more predictable performance, and we don't require cryptographically secure random number generation, so a PRNG is good enough. Also removes the use of the RNG in DirectSession construction. This was being used to generate a session handle, which is not necessary (since a DirectSession owns its devices, we don't need a unique handle to key the OpSegment objects registered with the various devices). This addresses bugs that have been reported on the mailing list and Stack Overflow. Change 109596906 Add an is_unsigned property to dtype Change 109596830 Remove unnecessary fill in clip_by_value Change 109591880 Remove Android demo's libpthread.so dummy file (required by protobuf) from repo and generate it at compile-time. This makes the Android demo more portable, as the generated file will now always be the correct archictecture for linking. Change 109589028 Isolating out the RTTI part of TensorFlow and add non-RTTI backups for Android. This saves about 400KB of the compiled library, when compiling the Android tensorflow target with -fno-rtti. Change 109589018 Internal reworking of LSTMCell. Change 109588229 Allow bool-valued tensors to be persisted. Change 109577175 TensorBoard host defaults to 0.0.0.0 Change 109551438 TensorFlow: move mnist g3doc tutorials into tensorflow/examples. Update examples to point to the correct location. Adds tests to make sure they don't regress, do some lint cleanup. Base CL: 109630240
-
- 07 12月, 2015 4 次提交
-
-
由 Vijay Vasudevan 提交于
TensorFlow: update left nav bar Base CL: 109547821
-
由 Vijay Vasudevan 提交于
Change 109544196 Clean up the introductory text of the tutorial. Base CL: 109546821
-
由 Vijay Vasudevan 提交于
Change 109540764 TensorFlow: some edits to image_recognition tutorial. Base CL: 109540774
-
由 Vijay Vasudevan 提交于
Change 109537918 TensorFlow pip setup: wheel >= 0.26 for python3 pip install Change 109505848 Fix distortion default value to 1.0 in fixed_unigram_candidate_sampler. This means we default to the actual provided unigram distribution, instead of to the uniform (as it is currently). Change 109470494 Bugfix in gradients calculation when the ys rely on each other. Change 109467619 Fix CIFAR-10 model to train on all the training data instead of just 80% of it. Fixes #396. Change 109467557 Replaced checkpoint file with binary GraphDef. Change 109467433 Updates to C++ tutorial section. Change 109465269 TensorFlow: update documentation for tutorials to not assume use of bazel (when possible). Change 109462916 A tutorial for image recognition to coincide with the release of the latest Inception image classification model. Change 109462342 Clear control dependencies in variable_scope.get_variable() when creating ops for the initializer. Add tests of various error conditions. Change 109461981 Various performance improvements in low-level node execution code paths. Speeds up ptb_word_lm on my desktop with a Titan X from 3638 words per second to 3751 words per second (3.1% speedup). Changes include: o Avoided many strcmp operations per node execution and extra touches of cache lines in executor.cc, by making all the various IsMerge, IsSwitch, IsSend, etc. operations instead be based on an internal enum value that is pre-computed at Node construction time, rather than doing string comparisons against node->type_string(). We were doing about 6 such comparisons per executed node. o Removed mutex_lock in executor.cc in ExecutorState::Process. The lock was not needed and the comment about the iterations array being potentially resized is not true (the iterations arrays are created with a fixed size). Checked with yuanbyu to confirm this. o Added new two-argument port::Tracing::ScopedAnnotation constructor that takes two StringPiece arguments, and only concatenates them lazily if tracing is enabled. Also changed the code in platform/tracing.{h,cc} so that the ScopedAnnotation constructor and the TraceMe constructor can be inlined. o In BaseGPUDevice::Compute, used the two-argument ScopedAnnotation constructor to avoid doing StrCat(opkernel->name(), ":", op_kernel->type_string()) on every node execution on a GPU. o Introduced a new TensorReference class that just holds a reference to an underlying TensorBuffer, and requires an explicit Unref(). o Changed the EventMgr interface to take a vector of TensorReference objects for EventMgr::ThenDeleteTensors, rather than a vector of Tensor objects. o Used TensorReference in a few places in gpu_util.cc o Minor: switched to using InlinedVectors in a few places to get better cache locality. Change 109456692 Updated the label_image example to use the latest Inception model Change 109456545 Provides classify_image which performs image recognition on a 1000 object label set. $ ./classify_image giant panda, panda, panda bear, coon bear, Ailuropoda melanoleuca (score = 0.88493) indri, indris, Indri indri, Indri brevicaudatus (score = 0.00878) lesser panda, red panda, panda, bear cat, cat bear, Ailurus fulgens (score = 0.00317) custard apple (score = 0.00149) earthstar (score = 0.00127) Change 109455002 TensorFlow: make the helper libraries for various models available in the pip package so that when users type: python translate.py ... the absolute import works. This change is supposed to help make our tutorials run without the *need* to use bazel. Change 109450041 TensorFlow: remove cifar and convolutional binary copies from pip install. Adds embedding and some other models to the list. Change 109448520 Move the description of a failing invariant from a comment into the dcheck-fail message text. Change 109447577 TensorBoard has release tagging (tensorboard/TAG) Also track TensorBoard changes (tensorboard/CHANGES) Change 109444161 Added ParseSingleSequenceExample + python wrappers + unit tests. Change 109440864 Update all the TensorFlow Dockerfiles, and simplify GPU containers. This change updates all four of our Dockerfiles to match the targets discussed in https://github.com/tensorflow/tensorflow/issues/149. The most notable change here is moving the GPU images to use the NVidia containers which include cudnn and other build-time dependencies, dramatically simplifying both the build and run steps. A description of which tags exist and get pushed where will be in a follow-up. Change 109432591 Some pylint and pydoc changes in saver. Change 109430127 Remove unused hydrogen components Change 109419354 The RNN api, although moved into python/ops/, remains undocumented. It may still change at any time. Base CL: 109538006
-
- 05 12月, 2015 3 次提交
-
-
由 Vijay Vasudevan 提交于
supports python3
-
由 Manjunath Kudlur 提交于
-
由 Manjunath Kudlur 提交于
Change 109418220 Update WORKSPACE to use gmock.BUILD from google/protobuf instead of a duplicate. Update google/protobuf's commit hash to include damieng@'s commit. Change 109417314 TensorFlow: add .gitignore to ignore some in-tree modified files. Change 109400051 Optionally build full TensorFlow for Android. 1. --define ANDROID_TYPES=__ANDROID_TYPES_FULL__ to register ops for all types, not just float. Today this increases codesize by ~700K when compiled for ARM, though only for clients who request full type support. 2. Add more ops to android_extended_ops, sufficient to train on the linear regression baseball codelab. Change 109388118 Fix the option changed in templatize. Oops. Change 109382553 Allows setting a function name in an op's attr in the py frontend. Change 109380896 Remove assert_same_graph in favor of op_scope. Change the latter to handle tensor-like objects such as SparseTensor, IndexedSlices, and Variable. Base CL: 109418322
-
- 04 12月, 2015 3 次提交
-
-
由 Vijay Vasudevan 提交于
Change 109366961 TensorFlow BUILD: now that we have an ops library, set linkstatic to 1. This fixes a breakage in the would-be opensource build, and it *might* mean we can get rid of all of the RequireDefaultOps() calls in our code. The ops library is much smaller than the kernels library that was previously linked together. We set linkstatic=0 presumably since we didn't want to package a static copy of the kernels (very large) everywhere. But the op definitions are small, so this seems like a safe change to make. Time to build the various tests was not any longer after this change, and inspecting the example_trainer binary showed no large increase. Change 109363613 TensorFlow: new graph_def_builder_test needs to RequireDefaultOps. Change 109362569 Split ":ops" out of ":kernels" target in tensorflow/core. Change 109360666 Catch dtype and some shape errors sooner in `QueueBase`. Some avoidable errors were not being caught (e.g. the dtypes of the enqueue components were not checked against the queue's dtypes in Python), leading to cryptic messages at runtime. After this CL, they will be caught earlier. Change 109359569 TensorFlow: Expect g_ != nullptr in test Change 109350735 Add a version number to GraphDef We would like to be able to deprecate behavior in newly generated graphs without invalidating tensorflow's ability to read and evaluate old graphs. For this purpose, GraphDef now has a version field which can be checked inside op kernels to determine how backwards compatible to be. version.h defines TF_GRAPHDEF_VERSION_MIN and TF_GRAPHDEF_VERSION_MAX specifying the range of supported GraphDef versions in the current version of tensorflow. Also expose tf.__version__ and tf.__graph_def_version{,_min,_max}__ for Python interrogation purposes. Whenever we want to deprecate or change some GraphDef semantics, we will proceed as follows: 1. Bump TF_GRAPHDEF_VERSION_MAX, leaving TF_GRAPHDEF_VERSION_MIN unchanged. Describe the change in graph.proto, include the date introduced. 2. In each relevant kernel, implement the new behavior if the GraphDef version is new, but preserve the old behavior for previous GraphDef versions. 3. Wait six months or so (we need to formalize this somewhere). 4. Bump TF_GRAPHDEF_VERSION_MIN and remove the backwards compatibility. The GraphDef version is distinct from the open source version, but at least (4) and possibly (1) correspond to major version number bumps. The first GraphDef version bump is the upcoming scalar strictness change, which affects Google users only since open source is already scalar strict. This commit does not yet plumb the version number into OpKernelConstruction so that ops can access it. That will follow. Change 109350260 Made TensorShapeProto implicitly convertible to TensorShape. Base CL: 109366982
-
由 Vijay Vasudevan 提交于
Change 109344341 Teach ./configure about Python 3 (and other minor Python 3 issues) ./configure now writes bazel.rc based on a bazel.rc.template, which gives us a place to tell bazel which version of Python we were using. Also fix a few tests whose Python 3 support had degraded. The only thing left before we have Python 3 support is https://github.com/google/protobuf/pull/1023 Change 109343002 Update ops.pbtxt to reflect 109321497. Change 109342838 Do memory deallocation outside the critical section in gpu_event_mgr.cc. Change 109334210 PTB LSTM example: use slicing instead of splitting the inputs. Change 109332238 Cleanup TensorBoard local development environment Change 109331051 Use __all__ in __init__.py to restrict exported modules Specifically, __all__ is now anything that (1) doesn't begin with an underscore and (2) isn't a non-whitelisted module. This fixes one tiny piece of b/25561952. Specifically, the following no longer exist: tf.np, tf.math_ops, and tf.variables. tf.ops and tf.tensor_util still exist but shouldn't; that will have to wait for a later CL. Change 109327154 tf.tuple allow Tensors to be passed in as control_inputs like tf.control_dependencies. Change 109324239 Make tf.control_dependencies(None) clear the control dependencies. Use that to prevent ops created for Variables to inherit the current control dependencies. This fixes issues when using ExponentialMovingAverages with control dependencies. Change 109323719 Added support for boolean tf.scatter_update. Base CL: 109348398
-
由 Vijay Vasudevan 提交于
Change 109321497 Move all images to images directory to make docs versioning easier - adjust all paths in the docs to point to the new locations - remove some now redundant section-order tags added for the old website Change 109317807 Added a kernel op to compute the eigendecomposition of a self-adjoint matrix. Added a new kernel op called self_adjoint_eig (and a batch_self_adjoint_eig) that computes the eigendecomposition of a self-adjoint matrix. The return value is the concatenation of the eigenvalues as a row vector, and the eigenvectors. Change 109310773 Change `_read32()` in the MNIST input example to return an int. Currently we return a 1-D numpy array with 1 element. Numpy has recently deprecated the ability to treat this as a scalar, and as a result this tutorial fails. The fix returns the 0th element of the array instead. Change 109301269 Re-arrange TensorBoard demo files. Change 109273589 add ci_build for ci.tensorflow.org Change 109260293 Speed up NodeDef -> OpKernel process by not spending time generating an error message for missing "_kernel" attr that will be thrown away. Change 109257179 TensorFlow:make event_file_loader_test hermetic by using tempfile instead of fixed filenames. Without this change, running event_file_loader_test twice in the same client (locally) causes it to fail, because it writes into the same file and appends another event, instead of starting from scratch. Change 109256464 Minor cleanup in TensorBoard server code Change 109255382 Change to reduce critical section times in gpu_event_mgr.h: (1) Call stream->ThenRecordEvent outside the EventMgr critical section (2) Do memory deallocation outside the critical section Speeds up one configuration of ptb_word_lm from 2924 words per second (wps) to 3278 wps on my desktop machine with a Titan X. Change 109254843 Fix use of uninitialized memory in test. Change 109250995 python_config.sh needs a license header Otherwise the license test fails. Change 109249914 add ci_build for ci.tensorflow.org Change 109249397 Fixes reduce_sum (complex) on GPU segfaults. Fixes #357 Change 109245652 add ci_build for ci.tensorflow.org Base CL: 109321563
-
- 03 12月, 2015 3 次提交
-
-
由 Vijay Vasudevan 提交于
changes in last commit.
-
由 Vijay Vasudevan 提交于
Change 109240606 Fix typo Change 109240358 Fix bug in Concat's shape inference due to legacy scalar handling. The shape function was inadvertently converting outputs of unknown shape (rank=None) to vectors of unknown length (rank=1), due to inability to distinguish between legacy scalars and vectors, because `max(1, None)` is 1. Change 109237152 Remove numarray requirement in python_config. Change 109234003 Fix typo in elu documentation. Change 109232946 Python must now be configured via ./configure script Change 109232134 Backported fixes to the tensor comparison operators from the public Eigen repository Change 109231761 Test invalid inputs to softmax_cross_entropy_with_logits. Change 109230218 Backported fixes to the tensor comparison operators from the public Eigen repository Change 109229915 Correct comments in seq2seq to show the right input types for embedding models. (Thanks to hugman@github for bringing this up.) Change 109229118 Fix resize_images example in documentation and allow resize_images to run on a single image with partially-known shape. Change 109228940 Fix demo and node add/remove button spacing Change 109227909 Include Elu in the NN docs. Change 109227059 Adds variable_op_scope and makes variable_scope always add a name_scope. This creates an op scope for variables that makes it easy to create independent operations with a default name by making that name unique for the current scope and it allows explicit names that are not made unique. Change 109224492 Streamline yuv -> rgb conversion to be done in one pass in native code. The entire process now takes ~2ms (including the ByteBuffer.get() calls), down from 10+ ms when the arrays were being interleaved in Java prior to conversion. Also abstracting common yuv->rgb color conversion into helper method. Change 109224389 Add ability to move nodes in and out of auxiliary nodes in graph. Change 109217177 Update generated Op docs. Change 109215030 Implementation of the ELU activation function: http://arxiv.org/abs/1511.07289 Change 109209848 When GPUBFCAllocator runs out of memory, also log a summary of chunks in use by size. Change 109206569 Switched to the public version of the Eigen::sign method since it supports complex numbers. Change 109199813 Modify tensorflow.SequenceExample to support multiple-length sequences. Base CL: 109241553
-
由 Manjunath Kudlur 提交于
Change 109195845 Fix TensorFlow for build against Bazel 0.1.2rc2 Two things are currently broken with TensorFlow and Bazel 0.1.2: - Bazel now use sandboxing by default on Linux and have fixed it for cc_* rules. Undeclared headers are not mounted in the sandbox which make several cc_* rules fails. - Bazel now enforce strict header checking and some target were missing headers even though the headers were mounted in the sandbox. This change adds a "strict_headers" target that globs every headers of the core library and add it to the `tf_cc_tests` targets. Change 109162708 Fix various website issues - Fix headline in os_setup.md - Fix #anchor links Change 109162129 Fix numbers in mnist tutorial, fixes #362 Change 109158967 Fix typo in word2vec tutorial, fixes #347 Change 109151855 Fix tile and its gradient for scalars on GPUs Eigen doesn't handle scalars on GPUs in all cases. Fortunately, both tile and its gradient are the identity for scalars, so we can just copy the input to the output. Fixes https://github.com/tensorflow/tensorflow/issues/391. Change 109140763 Support int32 and int64 in tf.random_uniform This requires a new RandomUniformInt op on the C++ side since the op needs to know minval and maxval. Fixes https://github.com/tensorflow/tensorflow/issues/364. Change 109140738 Fix spacing in docs. Change 109140030 Fix content nav to not hide the bottom 100 or so px. Change 109139967 Add license files to TensorBoard files, fix mnist_with_summaries test Change 109138333 Fix typos in docstring Change 109138098 Fix some missing resources in the website. Fixes #366. Change 109123771 Make sparse_to_dense's default_value default to 0 Nearly all uses of sparse_to_dense use 0 as the default. The same goes for sparse_tensor_to_dense. Base CL: 109198336
-
- 02 12月, 2015 2 次提交
-
-
由 Vijay Vasudevan 提交于
956a770adc772184e5911f964b866028465d1727 for bazel 0.1.2
-
由 Vijay Vasudevan 提交于
Change: Clean up documentation for ReverseSequence Change: Updated several tensorflow operations to use 32bit indices on GPU. Change: Add attribute batch_dim to ReverseSequenceOp. Change: Fix error in convert_to_records.py. As reported in https://github.com/tensorflow/tensorflow/issues/370 by AlexUnderMicrocontRoll. Change: Update TensorBoard README. Change: Fixes to boolean flags reported in https://github.com/tensorflow/tensorflow/issues/379. Supports: --bool_flag=True --> True --bool_flag=False --> False --bool_flag=gibberish --> False --bool_flag --> True --nobool_flag --> False Fixes #379 Change: Update generated Op docs. Change: Enable local development of TensorBoard using gulp Also make tf-tensorboard a regular component rather than special case This is mostly effected by creating tfserve.js, which is a small server with clever routing to load from bower_components/ and components/ using the paths that work within google3. Workflow: `gulp serve` Change: Add a full working code example to the tensorboard and summaries tutorial Change: Fix seq2seq_test when running on GPU. The "proj_w" and "proj_b" variables were being created before the `test_session()`'s device function took effect, which pushed the placement algorithm into making an incorrect decision. Change: Add a sentence in TensorBoard README on how to serialize summary data to logs and provide link to the how-to tutorial on the TensorFlow website. Change: Add error-catching code if string_input_producer is supplied a null input. Before this change, it would die with an opaque shape error from inside the queue. This change catches (most) python null lists being passed directly in, and at runtime detects null tensors. Adds two tests for this to input_test.py Change: Speed up for models that use the same variable multiple times in the case where variables must be copied across devices: - Have Variables wrap the Variable op in an Identity op when converted to Tensor. This avoids multiple copies across devices if a variable is used multiple time in a computation. - Add Variable.mutable() to return the non-wrapped Variable op for used when assigning new values. - Add an as_ref parameter to convert_to_tensor() to allow code to specify if they plan to assign a new value to the result of the conversion. Make Variable return the result of Variable.mutable() when as_ref is True. - Make all ops that assign values to variables pass as_ref=True when converting their arguments. Change: Change to reduce critical section times in gpu_event_mgr.h: (1) Call stream->ThenRecordEvent outside the EventMgr critical section (2) Do memory deallocation outside the critical section Speeds up one configuration of ptb_word_lm from 2924 words per second (wps) to 3278 wps on my desktop machine with a Titan X. Change: Remove some colons that break the open source build ::tensorflow::StringPiece breaks for @raingo, see https://github.com/tensorflow/tensorflow/issues/358. tensorflow::StringPiece (without the leading colons) seems to fix the problem. Change: Added check that inputs to Operation is a list and make a defensive copy of the input. This is for cases where the input list is changed such as in _add_input. Change: Use standard names for TensorFlow dtypes in the tutorial. Change: Add tests for tensor inputs. Change: Fix build after declaring more types for ops Change: Switch to 32 bit indexing to speedup convolutions and concatenations. Change: Add convert_image op to convert between types for images (similar to OpenCV's cvtScale). Change: Make cast work between numeric types (bool, uint8, int16, int32, int64, float, double). Change: Padding input data for odd number of paddings, so we can use cudnn anyway. + Fix total padding computation when padding==VALID. + This CL makes the Googlenet benchmark run 5x faster. Change: Support IndexedSlices in ConcatGrad Change: * sampled softmax op uses one embedding lookup for positive and negative samples * float64 support for sampled softmax Change: Move RNN code out of models.rnn (without breaking existing code). The API may still undergo minor changes, until full documentation as added. Change: Changed to use per-step stacks for the accumulators used in while-loop gradient computation. This addresses the problem caused by using concat without sufficient static shape information. It should also improve performance as we avoided those expensive concats. Change: Update generated Op docs. Change: Improve error messages when the optimizer finds no variables to minimize or when none of the variables has gradients. Change: Say that -1 isn't just for flattening in reshape docs Also add scalar reshape (reshape(t, [])) as an example. This fixes https://github.com/tensorflow/tensorflow/issues/281. Change: This is a test. Base CL: 109118714
-
- 26 11月, 2015 3 次提交
-
-
由 Manjunath Kudlur 提交于
Changes: - Fix README example to not include implicit print Base CL: 108729071
-
由 Manjunath Kudlur 提交于
Changes: - Make compat accessible as tf.compat Base CL: 108727647
-
由 Manjunath Kudlur 提交于
Changes: - Updates to docs - Several changes for Python 3 compatibility - Added license headers Base CL: 108710566
-