MCPcopy Create free account
hub / github.com/LBANN/lbann / get_kernel_dims

Method get_kernel_dims

src/layers/learning/convolution.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117template <typename TensorDataType, data_layout Layout, El::Device Device>
118std::vector<int>
119convolution_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
128template <typename TensorDataType, data_layout Layout, El::Device Device>
129void convolution_layer<TensorDataType, Layout, Device>::fp_compute()

Callers 10

write_specific_protoMethod · 0.95
setup_distributionsMethod · 0.45
setup_dataMethod · 0.45
setup_gpuMethod · 0.45
setup_fp_tensorsMethod · 0.45
setup_bp_tensorsMethod · 0.45

Calls 4

get_input_dimsMethod · 0.80
insertMethod · 0.80
endMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected