| 116 | |
| 117 | template <typename TensorDataType, data_layout Layout, El::Device Device> |
| 118 | std::vector<int> |
| 119 | convolution_layer<TensorDataType, Layout, Device>::get_kernel_dims() const |
| 120 | { |
| 121 | std::vector<int> dims; |
| 122 | dims.push_back(this->m_output_channels); |
| 123 | dims.push_back(this->get_input_dims()[0] / this->m_groups); |
| 124 | dims.insert(dims.end(), this->m_conv_dims.begin(), this->m_conv_dims.end()); |
| 125 | return dims; |
| 126 | } |
| 127 | |
| 128 | template <typename TensorDataType, data_layout Layout, El::Device Device> |
| 129 | void convolution_layer<TensorDataType, Layout, Device>::fp_compute() |
no test coverage detected