1 #include "caffe2/operators/remove_data_blocks_op.h" 5 REGISTER_CPU_OPERATOR(RemoveDataBlocks, RemoveDataBlocksOp<CPUContext>);
7 OPERATOR_SCHEMA(RemoveDataBlocks)
11 Shrink the data tensor by removing data blocks with given zero-based indices in 12 the outermost dimension of the tensor. Indices are not assumed in any order or 13 unique but with the range [0, blocks_size). Indices could be empty. 15 .Input(0, "data",
"a N-D data tensor, N >= 1")
16 .Input(1,
"indices",
"zero-based indices of blocks to be removed")
20 "data after removing data blocks indexed by 'indices'");
22 SHOULD_NOT_DO_GRADIENT(RemoveDataBlocks);
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...