Commit d38aba91 authored by Fenglei's avatar Fenglei Committed by Robert Kimball

add find algorithm for convolution without extra padding (#1710)

parent 2aa7899c
This diff is collapsed.
...@@ -76,7 +76,8 @@ namespace ngraph ...@@ -76,7 +76,8 @@ namespace ngraph
const Shape& output_tensor_shape, const Shape& output_tensor_shape,
const Strides& window_movement_strides, const Strides& window_movement_strides,
const Strides& window_dilation_strides, const Strides& window_dilation_strides,
const Shape& padding_below); const Shape& padding_below,
const bool find_algo = false);
size_t build_convolution_backward_data(const std::string& dtype, size_t build_convolution_backward_data(const std::string& dtype,
const Shape& input_filter_shape, const Shape& input_filter_shape,
...@@ -84,7 +85,8 @@ namespace ngraph ...@@ -84,7 +85,8 @@ namespace ngraph
const Shape& output_tensor_shape, const Shape& output_tensor_shape,
const Strides& window_movement_strides, const Strides& window_movement_strides,
const Strides& window_dilation_strides, const Strides& window_dilation_strides,
const Shape& padding_below); const Shape& padding_below,
const bool find_algo = false);
size_t build_convolution_backward_filter(const std::string& dtype, size_t build_convolution_backward_filter(const std::string& dtype,
const Shape& input_tensor_shape_0, const Shape& input_tensor_shape_0,
...@@ -92,7 +94,8 @@ namespace ngraph ...@@ -92,7 +94,8 @@ namespace ngraph
const Shape& output_filter_shape, const Shape& output_filter_shape,
const Strides& window_movement_strides, const Strides& window_movement_strides,
const Strides& window_dilation_strides, const Strides& window_dilation_strides,
const Shape& padding_below); const Shape& padding_below,
const bool find_algo = false);
size_t build_reduce_forward(const cudnnReduceTensorOp_t& reduce_op, size_t build_reduce_forward(const cudnnReduceTensorOp_t& reduce_op,
const std::string& dtype, const std::string& dtype,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment