我是Keras的初学者,需要帮助才能理解keras.argmax(a,axis = -1)和keras.max(a,axis = -1).当a.shape =(19,19,5,80)时,axis = -1的含义是什么?
如果你能回答keras.argmax(a,axis = -1)和keras.max(a,axis = -1)的输出,我将不胜感激.
提前致谢
- 年轻
我正在尝试使用 Conda 创建一个带有 Python 3.7 的新环境,例如:
conda create -n qnn python=3.7
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- python==3.7
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the …
Run Code Online (Sandbox Code Playgroud) 我有一个SimpleRNN
喜欢:
model.add(SimpleRNN(10, input_shape=(3, 1)))
model.add(Dense(1, activation="linear"))
Run Code Online (Sandbox Code Playgroud)
模型摘要说:
simple_rnn_1 (SimpleRNN) (None, 10) 120
Run Code Online (Sandbox Code Playgroud)
我很好奇的参数个数120
为simple_rnn_1
。
有人能回答我的问题吗?
machine-learning neural-network deep-learning keras recurrent-neural-network