| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 189954596
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
absl::string_view equivalents.
This will allow for a more convenient transition to absl::string_view.
Calls to set StringPiece::set and StringPiece::clear were replaced with the StringPiece constructor as follows:
string_piece_foo.set(data, size) => string_piece_foo = StringPiece(data, size)
string_piece_foo.clear() => string_piece_foo = StringPiece()
PiperOrigin-RevId: 175326576
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #9138.
* lstm_ops: use_peephole checked twice, merged "if" bodies.
* unpack_path_op: cast to 1LL for shift to operate on full range.
* sample_input_ops: add CHECK to ensure that sparse_input_start is
initialized.
* function: make sure we deref "e" after checking for nullptr
* master_session: remove unused variable
* encode_jpeg_op: remove double assignment
* resize_area_op: use unused variable
* strcat: remove double parentheses
PiperOrigin-RevId: 159443547
|
|
|
|
| |
PiperOrigin-RevId: 155878745
|
|
|
|
| |
Change: 123900938
|
|
|
|
| |
Change: 123649866
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for mobile apps):
(1) Change many interfaces in node_def_builder.h, node_def_util.h,
op_kernel.h, node_builder.h, mirror_pad_mode.h, padding.h to use
'StringPiece', rather than 'const string&'. The interfaces that
were changed tend to be heavily used in the registration of ops and
kernels, and often caused extra string construction code to be emitted
in the macro expansion of each op or kernel registration.
(2) Move some repetitive CHECK operations into non-inlined routines in
tensor.cc, rather than having them in inlined or templated routines in
tensor.h (new Tensor::CheckDataType, Tensor::CheckTypeAndIsAligned,
and Tensor::CheckIsAlignedAndSingleElement routines)
(3) Factored out internal template<size_t NDIMS>
Tensor::FillDimsAndValidateCompatibleShape routine, to be shared
across more specialized templated routines (typically specialized on
both DataType and NDIMS).
(4) Added new non-inlined TensorShape::CheckDimsMatch(int NDIMS) routine in
tensor_shape.cc, that can be called from various TensorShape routines templated
on NDIMS.
(5) Don't inline single-argument StrCat, since it involves a string
creation, etc.
(6) Remove inline keyword from template <typename... AV> StrCat
version that handles 5 or more arguments.
Reduces text size for
third_party/tensorflow/core/libandroid_tensorflow_lib.so built in
Google build environment by 1.43%, as
measured by:
% blaze build -c opt --config=android_arm \
third_party/tensorflow/core:android_tensorflow_lib
% size blaze-bin/third_party/tensorflow/core/libandroid_tensorflow_lib.so
Change: 118036659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* error message that refers to removed `DefaultSession` method.
* -Wnull-conversion warnings
* the "_start_time" attr for recvs when the flag "--brain_enable_scheduling_for_recvs" is set.
* typo in tutorial data download progress message.
* a typo ("however their installing"=>"however installing").
* typo, rename "TensorFlow Mechanics" to "How To" to be consistent with the website.
* a typo ("subtact"=>"subtract").
* protobuf examples in comments in tensorflow::Example.proto.
* formula formatting in MNIST beginner tutorial
* negative fraction-of-queue-full stats
* protobuf inclusion path so that Android demo will build under Blaze.
* small typo (moderatly > moderately)
* Session.run() to check that tensor arguments come from the session's graph.
* another six import
* seq2seq typo in bazel command
Base CL: 108349164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error handling, updates to website.
Changes:
- Removes redundant reshape from image models by @mrry
- Default TensorBoard to localhost by @danmane
- Reformatting of tensorflow/core by @josh11b
- Make tutorials backwards compatible to 0.5.0 by @girving
- Improve print documentation (md files not updated).
- Add proper scrolling to sitemap by @martinwicke
Base CL: 107956254
|
|
TensorFlow is an open source software library for numerical computation
using data flow graphs.
Base CL: 107276108
|