/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck/library/utility/convolution_parameter.hpp Source File#
convolution_parameter.hpp
Go to the documentation of this file.
std::ostream & operator<<(std::ostream &os, const ck::utils::conv::ConvParam &p)
ConvParam parse_conv_param(int num_dim_spatial, int arg_idx, char *const argv[])
std::string get_conv_param_parser_helper_msg()
Definition: ck.hpp:267
Definition: convolution_parameter.hpp:20
std::size_t GetFlops() const
std::vector< ck::long_index_t > input_right_pads_
Definition: convolution_parameter.hpp:60
std::vector< ck::long_index_t > input_left_pads_
Definition: convolution_parameter.hpp:59
ConvParam()
ConvParam(ck::long_index_t n_dim, ck::long_index_t group_count, ck::long_index_t n_batch, ck::long_index_t n_out_channels, ck::long_index_t n_in_channels, const std::vector< ck::long_index_t > &filters_len, const std::vector< ck::long_index_t > &input_len, const std::vector< ck::long_index_t > &strides, const std::vector< ck::long_index_t > &dilations, const std::vector< ck::long_index_t > &left_pads, const std::vector< ck::long_index_t > &right_pads)
std::vector< ck::long_index_t > conv_filter_dilations_
Definition: convolution_parameter.hpp:57
ck::long_index_t num_dim_spatial_
Definition: convolution_parameter.hpp:46
std::vector< ck::long_index_t > input_spatial_lengths_
Definition: convolution_parameter.hpp:53
std::vector< ck::long_index_t > GetOutputSpatialLengths() const
ConvParam(ck::index_t n_dim, ck::index_t group_count, ck::index_t n_batch, ck::index_t n_out_channels, ck::index_t n_in_channels, const std::vector< ck::index_t > &filters_len, const std::vector< ck::index_t > &input_len, const std::vector< ck::index_t > &strides, const std::vector< ck::index_t > &dilations, const std::vector< ck::index_t > &left_pads, const std::vector< ck::index_t > &right_pads)
std::size_t GetByte() const
Definition: convolution_parameter.hpp:98
std::vector< ck::long_index_t > output_spatial_lengths_
Definition: convolution_parameter.hpp:54
std::vector< ck::long_index_t > conv_filter_strides_
Definition: convolution_parameter.hpp:56
std::size_t GetInputByte() const
Definition: convolution_parameter.hpp:67
std::size_t GetWeightByte() const
Definition: convolution_parameter.hpp:77
std::vector< ck::long_index_t > filter_spatial_lengths_
Definition: convolution_parameter.hpp:52
std::size_t GetOutputByte() const
Definition: convolution_parameter.hpp:87