官术网_书友最值得收藏!

  • Mastering TensorFlow 1.x
  • Armando Fandango
  • 139字
  • 2021-06-25 22:51:02

Neural Network Models in Keras

Neural network models in Keras are defined as the graph of layers. The models in Keras can be created using the sequential or the functional APIs. Both the functional and sequential APIs can be used to build any kind of models. The functional API makes it easier to build the complex models that have multiple inputs, multiple outputs and shared layers.

Thus as a rule of thumb, we have seen engineers use the sequential API for simple models built from simple layers and the functional API for complex models involving branches and sharing of layers. We have also observed that building simple models with the functional API makes it easier to grow the models into complex models with branching and sharing. Hence for our work, we always use the functional API.

主站蜘蛛池模板: 岱山县| 宽城| 鹤庆县| 玉树县| 柘城县| 申扎县| 海淀区| 安泽县| 漳浦县| 青岛市| 安阳市| 江陵县| 万安县| 太原市| 沛县| 普陀区| 太原市| 彭阳县| 临洮县| 廉江市| 上杭县| 苏尼特右旗| 婺源县| 颍上县| 房产| 于田县| 公安县| 固安县| 调兵山市| 峨边| 普兰县| 固安县| 岑溪市| 柳河县| 资中县| 乌兰浩特市| 松桃| 泗阳县| 博兴县| 高清| 合江县|