Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Added support for dilation value = 2 for 1D and 2D images/kernels #17

Merged
merged 30 commits into from
Jan 26, 2021

Commits on Dec 9, 2020

  1. [im2col.py]: support for non-square input images and kernels, [test_i…

    …m2col]: added/modified several test cases for (non-)square images and kernels
    mmrahorovic committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    17d72f5 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. [im2col]: support for non-square input images and kernels, [test_im2c…

    …ol]: added/modified several test cases for (non-)square images and kernels
    mmrahorovic committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    08da272 View commit details
    Browse the repository at this point in the history
  2. [test_general_transformation]: changed kernel_size attribute to list …

    …instead of integer as required by im2col node
    mmrahorovic committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    cd3683d View commit details
    Browse the repository at this point in the history
  3. [base]: changed how the "ints" field of AttributeProto set.

    [test_general_transformation]: changed the type of the kernel_size attribute to list of integers
    mmrahorovic committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    56a1bb7 View commit details
    Browse the repository at this point in the history
  4. removed unused import

    mmrahorovic committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    477e135 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Configuration menu
    Copy the full SHA
    878622f View commit details
    Browse the repository at this point in the history
  2. minor style changes

    mmrahorovic committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    8e2279c View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. Configuration menu
    Copy the full SHA
    c524020 View commit details
    Browse the repository at this point in the history
  2. [lower_convs_to_matmul]: added support for non-square input images an…

    …d kernels and non-equal padding.
    
    [test_conv_lowering]: added/modified test cases for non-equal padding, depthwise convolution and 'standard' convolution.
    mmrahorovic committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    15e34ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ff449c View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Revert "[test_conv_lowering]: included 1D depthwise and regular convo…

    …lutions in tests"
    
    This reverts commit 3ff449c
    mmrahorovic committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    3de861a View commit details
    Browse the repository at this point in the history
  2. Revert "[lower_convs_to_matmul]: added support for non-square input i…

    …mages and kernels and non-equal padding."
    
    This reverts commit 15e34ed.
    mmrahorovic committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    ccf07f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    220e644 View commit details
    Browse the repository at this point in the history
  4. [im2col] added support for dilations = 2 for 2D and 1D images. Dilati…

    …on value must be equal along each axis.
    
    [test_im2col] added several test cases in case dilations = 2 (a.o. cases where image and kernel are 2D and 1D, with and without padding, and with stride = 2).
    [lower_convs_to_matmul] added support for dilation value. Dilation value must be equal along each axis.
    [test_conv_lowering] added test case for dilations = 2 for 2D and 1D images and kernels, with and without padding, and with stride = 2.
    mmrahorovic committed Dec 13, 2020
    Configuration menu
    Copy the full SHA
    ee4fea8 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

  1. [lower_convs_to_matmul] removed old assertion

    [test_conv_lowering] added more dilation values to test cases. Dilation values of {1, 2, 3, 4} are tested.
    mmrahorovic committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    bce65cf View commit details
    Browse the repository at this point in the history
  2. [im2col] function compute_conv_output_dim can now be called in case n…

    …on-equal and equal padding is assumed.
    
    [test_im2col] changed function call to compute_conv_output_dim
    [test_conv_lowering] changed function call to compute_conv_output_dim
    mmrahorovic committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    f70a71c View commit details
    Browse the repository at this point in the history
  3. [im2col] function compute_conv_output_dim can now be called in case n…

    …on-equal and equal padding is assumed.
    
    [test_im2col] changed function call to compute_conv_output_dim.
    [test_conv_lowering] changed function call to compute_conv_output_dim.
    [lower_convs_to_matmul] removed old assertion.
    mmrahorovic committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    dfdac77 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2021

  1. [im2col]: changed how a square kernel is instantiated.

    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    mmrahorovic committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    0d76430 View commit details
    Browse the repository at this point in the history
  2. [im2col]: changed how a square kernel is instantiated.

    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    mmrahorovic committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    5f60b4d View commit details
    Browse the repository at this point in the history
  3. [im2col]: changed how a square kernel is instantiated.

    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    mmrahorovic committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    8563dc5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    282ae0d View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Configuration menu
    Copy the full SHA
    8221d98 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. Configuration menu
    Copy the full SHA
    c95584b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0b5f1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2de123e View commit details
    Browse the repository at this point in the history
  4. [im2col]: minor style adjustment.

    [test_conv_lowering]: merged test functions into one test function.
    mmrahorovic committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    74a43cd View commit details
    Browse the repository at this point in the history
  5. Support for non-square input images and kernels for im2col node (Xili…

    …nx#20)
    
    * [im2col.py]: support for non-square input images and kernels, [test_im2col]: added/modified several test cases for (non-)square images and kernels
    
    * [im2col]: support for non-square input images and kernels, [test_im2col]: added/modified several test cases for (non-)square images and kernels
    
    * [test_general_transformation]: changed kernel_size attribute to list instead of integer as required by im2col node
    
    * [base]: changed how the "ints" field of AttributeProto set.
    [test_general_transformation]: changed the type of the kernel_size attribute to list of integers
    
    * removed unused import
    
    * [base]: added support for writing repeated fields in AttributeProto
    
    * minor style changes
    
    * [im2col, test_im2col]: added support for non-equal padding
    
    * [lower_convs_to_matmul]: added support for non-square input images and kernels and non-equal padding.
    [test_conv_lowering]: added/modified test cases for non-equal padding, depthwise convolution and 'standard' convolution.
    
    * [test_conv_lowering]: included 1D depthwise and regular convolutions in tests
    
    * Revert "[test_conv_lowering]: included 1D depthwise and regular convolutions in tests"
    
    This reverts commit 3ff449c
    
    * Revert "[lower_convs_to_matmul]: added support for non-square input images and kernels and non-equal padding."
    
    This reverts commit 15e34ed.
    
    * Revert "[im2col, test_im2col]: added support for non-equal padding"
    
    This reverts commit c524020.
    
    * [im2col]: changed how a square kernel is instantiated.
    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    
    * [im2col]: minor change in style.
    
    * [Im2Col] style fixes and comments
    
    Co-authored-by: Yaman Umuroglu <[email protected]>
    mmrahorovic and maltanar authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    1b65d26 View commit details
    Browse the repository at this point in the history
  6. Update AUTHORS.rst

    maltanar authored Jan 21, 2021
    Configuration menu
    Copy the full SHA
    c201c00 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. Support for non-square input images and kernels in LowerConvsToMatMul…

    … transformation (Xilinx#16)
    
    * [im2col.py]: support for non-square input images and kernels, [test_im2col]: added/modified several test cases for (non-)square images and kernels
    
    * [im2col]: support for non-square input images and kernels, [test_im2col]: added/modified several test cases for (non-)square images and kernels
    
    * [test_general_transformation]: changed kernel_size attribute to list instead of integer as required by im2col node
    
    * [base]: changed how the "ints" field of AttributeProto set.
    [test_general_transformation]: changed the type of the kernel_size attribute to list of integers
    
    * removed unused import
    
    * [base]: added support for writing repeated fields in AttributeProto
    
    * minor style changes
    
    * [im2col, test_im2col]: added support for non-equal padding
    
    * [lower_convs_to_matmul]: added support for non-square input images and kernels and non-equal padding.
    [test_conv_lowering]: added/modified test cases for non-equal padding, depthwise convolution and 'standard' convolution.
    
    * [test_conv_lowering]: included 1D depthwise and regular convolutions in tests
    
    * Revert "[test_conv_lowering]: included 1D depthwise and regular convolutions in tests"
    
    This reverts commit 3ff449c
    
    * Revert "[lower_convs_to_matmul]: added support for non-square input images and kernels and non-equal padding."
    
    This reverts commit 15e34ed.
    
    * Revert "[im2col, test_im2col]: added support for non-equal padding"
    
    This reverts commit c524020.
    
    * [im2col] function compute_conv_output_dim can now be called in case non-equal and equal padding is assumed.
    [test_im2col] changed function call to compute_conv_output_dim.
    [test_conv_lowering] changed function call to compute_conv_output_dim.
    [lower_convs_to_matmul] removed old assertion.
    
    * [im2col]: changed how a square kernel is instantiated.
    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    
    * [im2col]: changed how a square kernel is instantiated.
    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    
    * [im2col]: minor change in style.
    
    * [test_conv_lowering]: minor fix for test case depthwise and regular convolutions
    
    * Support for non-square input images and kernels for im2col node (Xilinx#20)
    
    * [im2col.py]: support for non-square input images and kernels, [test_im2col]: added/modified several test cases for (non-)square images and kernels
    
    * [im2col]: support for non-square input images and kernels, [test_im2col]: added/modified several test cases for (non-)square images and kernels
    
    * [test_general_transformation]: changed kernel_size attribute to list instead of integer as required by im2col node
    
    * [base]: changed how the "ints" field of AttributeProto set.
    [test_general_transformation]: changed the type of the kernel_size attribute to list of integers
    
    * removed unused import
    
    * [base]: added support for writing repeated fields in AttributeProto
    
    * minor style changes
    
    * [im2col, test_im2col]: added support for non-equal padding
    
    * [lower_convs_to_matmul]: added support for non-square input images and kernels and non-equal padding.
    [test_conv_lowering]: added/modified test cases for non-equal padding, depthwise convolution and 'standard' convolution.
    
    * [test_conv_lowering]: included 1D depthwise and regular convolutions in tests
    
    * Revert "[test_conv_lowering]: included 1D depthwise and regular convolutions in tests"
    
    This reverts commit 3ff449c
    
    * Revert "[lower_convs_to_matmul]: added support for non-square input images and kernels and non-equal padding."
    
    This reverts commit 15e34ed.
    
    * Revert "[im2col, test_im2col]: added support for non-equal padding"
    
    This reverts commit c524020.
    
    * [im2col]: changed how a square kernel is instantiated.
    [lower_convs_to_matmul]: changed how the kernel size attribute is read (based on how a square kernel is instantiated).
    
    * [im2col]: minor change in style.
    
    * [Im2Col] style fixes and comments
    
    Co-authored-by: Yaman Umuroglu <[email protected]>
    
    * Update AUTHORS.rst
    
    Co-authored-by: Yaman Umuroglu <[email protected]>
    mmrahorovic and maltanar authored Jan 25, 2021
    Configuration menu
    Copy the full SHA
    656b86e View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2021

  1. Merge branch 'im2col_dilation' of https://github.com/mmrahorovic/finn…

    …-base into mmrahorovic-im2col_dilation
    maltanar committed Jan 26, 2021
    Configuration menu
    Copy the full SHA
    bb50b35 View commit details
    Browse the repository at this point in the history