0% found this document useful (0 votes)
21 views

Conv MX - Gluon.nn - Conv1D (Channels 1, Kernel - Size 3)

This document provides examples of using Conv1D layers in MXNet's Gluon API. It demonstrates how to specify kernel size, channels, padding, strides, and how shape inference is used. Output shapes are shown for different input/kernel combinations.

Uploaded by

soheilesm456
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Conv MX - Gluon.nn - Conv1D (Channels 1, Kernel - Size 3)

This document provides examples of using Conv1D layers in MXNet's Gluon API. It demonstrates how to specify kernel size, channels, padding, strides, and how shape inference is used. Output shapes are shown for different input/kernel combinations.

Uploaded by

soheilesm456
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6

conv = mx.gluon.nn.

Conv1D(channels=1, kernel_size=3)

Input Kernel Output

1 3 3 0 1 2 2 0 1 5 6 7 2
conv = mx.gluon.nn.Conv1D(channels=1, kernel_size=3, padding=1, s

Input Kernel Intermediate Output

0 1 3 3 0 1 2 0 2 0 1 3 6 2
, padding=1, strides=2)

Output

3 6 2
conv = mx.gluon.nn.Conv1D(channels=1, kernel_size=3)
Shape inference will be used to determine `in_channels=4` automatically.

Input Kernel Output

1 3 3 0 1 2 2 0 1 24 25 22 15
0 2 1 1 2 0 1 1 2
3 2 2 3 1 1 3 0 1
2 1 2 0 0 1 1 2 0
conv = mx.gluon.nn.Conv1D(channels=4, kernel_size=3)

Input Kernel Output

1 3 3 0 1 2 2 0 1 5 6 7 2

0 2 0 6 6 0 2

3 1 1 9 12 10 3

1 1 2 10 6 5 5
conv = mx.gluon.nn.Conv1D(channels=2, kernel_size=3)
Shape inference will be used to determine `in_channels=4` automatically.

Input Kernel Output

1 3 3 0 1 2 2 0 1 24 25 22 15
0 2 1 1 2 0 1 1 2
3 2 2 3 1 1 3 0 1
2 1 2 0 0 1 1 2 0

0 1 0 19 24 14 6
2 0 3
0 0 2
2 3 1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy