Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Dudziak
3ccbf23132 String-related fixes for Python 3
Summary: This diff is one step towards enabling python 3 build by making it be more diligent in its handling of strings.

Reviewed By: salexspb

Differential Revision: D4893083

fbshipit-source-id: 28b8adf3280e8d1f0a7dc9b0fee5ad53f2fada57
2017-05-26 16:04:32 -07:00
Szymon Piechowicz
5ced84856a Caffe2: SparseToDenseMask: return key presence
Summary: Caffe2: SparseToDenseMask: return key presence

Reviewed By: matbd

Differential Revision: D5066863

fbshipit-source-id: 4f4dd141f6661829535cb77ff47cc0c230dce5d6
2017-05-16 20:22:03 -07:00
Andrey Malevich
301ab97e41 Fix few more operators to handle empty batches correctly.
Summary:
If we go to prod some of the sparse features might be empty or for some reason
batch might be empty. It's a good idea to be sure that we can run empty
batches.

Reviewed By: dzhulgakov

Differential Revision: D4197297

fbshipit-source-id: 1a154ebf625d1a39fd15354a154cf100f525ae9a
2016-11-29 15:18:37 -08:00
Yangqing Jia
05512d1e10 sync 2016-08-10 11:02:15 -07:00
Yangqing Jia
bcea409c82 sync 2016-07-28 15:06:43 -07:00