第6章構築者のための手引き
6.5.3. Summary6.5.3 まとめ
We can design custom layers via the basic layer class. This allows us to define flexible new layers that behave differently from any existing layers in the library. Once defined, custom layers can be invoked in arbitrary contexts and architectures. Layers can have local parameters, which can be created through built-in functions.
英語のヒント
基本の層のクラスを通じて、独自の層を設計できる。これにより、ライブラリにある既存のどの層とも異なるふるまいをする、柔軟な新しい層を定義できる。いったん定義すれば、独自の層は任意の文脈や構造の中で呼び出せる。層は局所的なパラメータをもつことができ、それは組み込みの関数で作れる。