commit | 2847c8f62440da56db7d2c4ac99c8f424537604f | [log] [tgz] |
---|---|---|
author | Martin Raison <raison@fb.com> | Tue Dec 06 12:58:16 2016 -0800 |
committer | Bram Wasti <bwasti@dev11999.prn1.facebook.com> | Thu Dec 15 12:01:29 2016 -0800 |
tree | 23ee074293136a6675f110874ee5bcc4f6b17d8d | |
parent | cd780eb9ec20827a924c658b5960be452797076d [diff] |
input_as_shape option for Filler ops Summary: I couldn't find a way to fill a tensor with a shape provided at runtime, so I added an input_as_shape option to the filler ops. When input_as_shape is true, the input can be used to directly provide the shape of the output (this is different from the default behavior, where the output is reshaped like the input). For example if the input contains [2, 3], the output will have shape [2, 3]. Let me know if you see a simpler way :) Reviewed By: Yangqing Differential Revision: D4276872 fbshipit-source-id: 095e995d8bf302152765bd51c405185ef9952212
Caffe2 is a deep learning framework made with expression, speed, and modularity in mind. It is an experimental refactoring of Caffe, and allows a more flexible way to organize computation.
Read the installation instructions for installation details.
Caffe2 is released under the BSD 2-Clause license.