码迷,mamicode.com
首页 >  
搜索关键字:layers    ( 303个结果
Bert源码解读
一、配置类 class BertConfig(object): """Configuration for `BertModel`.""" def __init__(self, vocab_size, hidden_size=768, num_hidden_layers=12, num_attenti ...
分类:其他好文   时间:2020-02-29 13:34:00    阅读次数:125
Fizz Buzz in tensorflow
code from keras.layers.normalization import BatchNormalization from keras.models import Sequential from keras.layers.core import Dense,Dropout,Activat ...
分类:其他好文   时间:2020-02-28 16:05:12    阅读次数:65
TensorFlow中的L2正则化函数:tf.nn.l2_loss()与tf.contrib.layers.l2_regularizerd()的用法与异同
tf.nn.l2_loss()与tf.contrib.layers.l2_regularizerd()都是TensorFlow中的L2正则化函数,tf.contrib.layers.l2_regularizerd()函数在tf 2.x版本中被弃用了。 两者都能用来L2正则化处理,但运算有一点不同。 ...
分类:其他好文   时间:2020-02-24 20:11:23    阅读次数:387
leaflet叠加图片图层
<!DOCTYPE html> <html> <head> <title>Layers Control Tutorial - Leaflet</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-wi ...
分类:其他好文   时间:2020-02-17 14:25:53    阅读次数:314
keras API的使用,神经网络层,优化器
layers介绍 Flatten和Dense介绍 优化器 损失函数 compile用法 第二个是onehot编码 模型训练 model.fit 两种创建模型的方法 from tensorflow.python.keras.preprocessing.image import load_img,img ...
分类:Windows程序   时间:2020-02-01 19:08:41    阅读次数:125
tensorflow 2.0 学习 (十一)卷积神经网络 (一)MNIST数据集训练与预测 LeNet-5网络
网络结构如下: 代码如下: 1 # encoding: utf-8 2 3 import tensorflow as tf 4 from tensorflow import keras 5 from tensorflow.keras import layers, Sequential, losses ...
分类:Web程序   时间:2020-02-01 14:21:02    阅读次数:217
自定义网络搭建
使用到的API有:keras.Sequential、Layers/Model 1.keras.Sequential 以前的代码已经很多次用到了这个接口,这里直接给出代码: model = Sequential([ layers.Dense(256,activation=tf.nn.relu), # ...
分类:其他好文   时间:2020-01-31 17:17:17    阅读次数:89
技术栈--软件解决方案技术集合
A technology stack comprises the layers of components or services that are used to provide a software solution or application. Traditional examples in ...
分类:其他好文   时间:2020-01-20 20:52:48    阅读次数:82
Keras Layer 的 call(x) 和 input_shape
今天用Keras编程的时候发现一个问题, ··· input_layer = K.layers.Input(shape=(10,)) x = K.layers.Dense(20)(input_layer) x = K.layers.Dense(20)(x) ··· 以上写法是可行的,但是以下写法却不 ...
分类:其他好文   时间:2020-01-01 10:18:14    阅读次数:89
ArcGis图形
require([ "esri/Map", //底图 "esri/Basemap", //视图 "esri/views/MapView", //图层 瓦片层 "esri/layers/WebTileLayer", //几何 点 "esri/geometry/Point", // 符号/简单标记符号 ...
分类:其他好文   时间:2019-12-31 12:16:59    阅读次数:86
303条   上一页 1 ... 3 4 5 6 7 ... 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!