> For the complete documentation index, see [llms.txt](https://ai.younglimit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai.younglimit.com/deep-learning/basic-cnn/extra-multiple-input-and-multiple-output-channels.md).

# Extra: Multiple Input and Multiple Output Channels

#### Channel

* 当我们添加通道时，我们的输入和隐藏的表示都变成了三维张量。例如，每个RGB输入图像具有$$3\times h \times w$$的形状。我们将这个大小为$$3$$的轴称为*通道*（channel）维度。本节将更深入地研究具有多输入和多输出通道的卷积核。
* 用$$c\_i$$和$$c\_0$$分别表示输入和输出通道的数目，并让$$k\_h$$和$$k\_w$$为卷积核的高度和宽度。为了获得多个通道的输出，我们可以为每个输出通道创建一个形状为$$c\_i \times k\_h \times k\_w$$的卷积核张量，这样卷积核的形状是$$c\_o \times c\_i \times k\_h \times k\_w$$。在互相关运算中，每个输出通道先获取所有输入通道，再以对应该输出通道的卷积核计算出结果。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ai.younglimit.com/deep-learning/basic-cnn/extra-multiple-input-and-multiple-output-channels.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
