|
|
1
1
定义一个
N维的numpy数组的形状为
现在,在您的示例中,计算softmax函数也适用同样的情况。必须首先确定要在哪个轴上计算softmax,然后使用
还有另一种方法是使用
|
|
|
2
2
https://keras.io/getting-started/functional-api-guide/
|