11 2023 档案

摘要:import tensorflow as tfimport jsonaa = { "label": { "binary_label": { "is_use": 1, "data_type": "int64", "default_value": 0, "feature_length": "fixed_ 阅读全文
posted @ 2023-11-17 17:36 15375357604 阅读(55) 评论(0) 推荐(0) 编辑
摘要:import sysimport tensorflow as tffrom keras import Input, Modelimport keras.layers as layersfrom keras.layers import Dotfrom transformers import TFAut 阅读全文
posted @ 2023-11-16 14:59 15375357604 阅读(36) 评论(0) 推荐(0) 编辑
摘要:1.nn.EmbeddingBag:适合用于文本进行ngram特征表示,有sum,mean等方式 2. dot,*,mul,@,matmul,mm,bmm torch.dot(a,b) 两向量相乘相加得到一个标量,必须都是一维的 torch.bmm(a,b):矩阵乘法 批矩阵相乘,不会进行广播,必须 阅读全文
posted @ 2023-11-06 17:28 15375357604 阅读(4) 评论(0) 推荐(0) 编辑
摘要:anaconda: 清华镜像站中anaconda的所有版本的网址:Index of /anaconda/archive/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror minianaconda:Index of / (anaconda.com) wget h 阅读全文
posted @ 2023-11-03 15:03 15375357604 阅读(24) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示