From f37e39bfbd3d7356f85af865431aee720d8628f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Gnudi?= Date: Sun, 5 Feb 2023 22:32:35 +0100 Subject: [PATCH] docs: update `channels` default value mentioned in the docs The defualt value for the `:channels` option is `:last`. Note that in the `Axon` module docs the default value was correct, only in the `Axon.Layers` it was outdated/incorrect (`:first`). --- lib/axon/layers.ex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/axon/layers.ex b/lib/axon/layers.ex index bbca82d9f..54003662b 100644 --- a/lib/axon/layers.ex +++ b/lib/axon/layers.ex @@ -241,7 +241,7 @@ defmodule Axon.Layers do Defaults to `1` or no dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. ## Examples @@ -412,7 +412,7 @@ defmodule Axon.Layers do Defaults to `1` or no dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. ## Examples @@ -535,7 +535,7 @@ defmodule Axon.Layers do Defaults to `1` or no dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. """ @doc type: :convolutional @@ -627,7 +627,7 @@ defmodule Axon.Layers do Defaults to `1` or no dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. ## References @@ -694,7 +694,7 @@ defmodule Axon.Layers do Defaults to `1` or no dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. ## References @@ -751,7 +751,7 @@ defmodule Axon.Layers do dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. ## Examples @@ -834,7 +834,7 @@ defmodule Axon.Layers do dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. """ @doc type: :pooling defn avg_pool(input, opts \\ []) do @@ -906,7 +906,7 @@ defmodule Axon.Layers do dilation. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. ## Examples @@ -983,7 +983,7 @@ defmodule Axon.Layers do Required. * `:channels ` - channel configuration. One of `:first` or `:last`. - Defaults to `:first`. + Defaults to `:last`. """ @doc type: :pooling defn adaptive_avg_pool(input, opts \\ []) do