Third fix for KeepOnShrink tests

Summary:
See https://github.com/caffe2/caffe2/pull/723, https://github.com/caffe2/caffe2/pull/551, https://github.com/caffe2/caffe2/issues/417
```
[ RUN      ] TensorCPUTest/1.KeepOnShrink
/opt/caffe2/caffe2/core/blob_test.cc:362: Failure
Expected: (ptr) != (larger_ptr), actual: 0x24f7640 vs 0x24f7640
[  FAILED  ] TensorCPUTest/1.KeepOnShrink, where TypeParam = int (0 ms)
```
I haven't been able to reproduce locally or on TravisCI - only in our own test infrastructure. The fix is conceptually the same as https://github.com/caffe2/caffe2/pull/723. After reading through the code, I can't see any other checks which should fail this way.
Closes https://github.com/caffe2/caffe2/pull/801

Differential Revision: D5248106

Pulled By: akyrola

fbshipit-source-id: 0cd3e2c11e7ae3d924496843a311530f0e08a9da
1 file changed
tree: d5d05f4534775a4f2095739379322566bff7b3b7
  1. .travis/
  2. caffe/
  3. caffe2/
  4. cmake/
  5. docs/
  6. scripts/
  7. third_party/
  8. .Doxyfile
  9. .Doxyfile-c
  10. .Doxyfile-python
  11. .gitignore
  12. .gitmodules
  13. .travis.yml
  14. appveyor.yml
  15. CMakeLists.txt
  16. LICENSE
  17. Makefile
  18. PATENTS
  19. README.md
  20. release-notes.md
README.md

Caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

Events

Caffe2 Bay Area Meetup at NVIDIA, May 31 6-8:30, Santa Clara, CA: https://www.meetup.com/Caffe2-Bay-Area/events/239836290/

User Groups

Caffe2 Community Facebook Group: join to ask questions, talk to other users, and keep informed of important Caffe2 updates.

Questions and Feedback

Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.

Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.

License and Citation

Caffe2 is released under the BSD 2-Clause license.

Build Status

Travis Build Status

TargetStatus
LinuxBuild Linux
AndroidBuild Android
iOSBuild iOS
Linux + MKLBuild LinuxMKL

Further Resources on Caffe2.ai