1 #ifndef CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_UTIL_H_ 2 #define CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_UTIL_H_ 6 #include "caffe2/core/types.h" 16 int output_image_size;
18 std::vector<int> X_dims;
19 std::vector<int> column_slice_dims;
20 std::vector<int> column_dims;
21 std::vector<int> column_transposed_dims;
22 std::vector<int> column_axes;
23 std::vector<int> Y_dims;
24 std::vector<int> Y_transposed_dims;
25 std::vector<int> Y_axes;
38 CAFFE2_API
void SetColumnBufferShape(
41 int output_image_size,
42 const std::vector<int>& output_image_dims,
44 std::vector<int>* column_slice_dims,
45 std::vector<int>* column_dims,
46 std::vector<int>* column_transposed_dims,
47 std::vector<int>* column_axes);
49 CAFFE2_API
void SetYBufferShape(
52 int output_image_size,
54 std::vector<int>* Y_dims,
55 std::vector<int>* Y_transposed_dims,
56 std::vector<int>* Y_axes);
61 #endif // CAFFE2_OPERATORS_LOCALLY_CONNECTED_OP_UTIL_H_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...