原创 關行tf的一些API

1. tf.tile() 和 tf.contrib.seq2seq.tile_batch() import tensorflow as tf # 將input的某一維度複製多少次, len(input.shape()) 等於 len

原创 TF-tensor重排與轉置

import tensorflow as tf """ 張量可以用3×3矩陣形式來表達。 張量是一種物理量,相對於標量,矢量而言的。 矩陣是一個線性代數、矩陣論裏的數學工具,它可以應用在很多地方:空間的旋轉變換,量子力學中表象的變換等

原创 Keras-多輸入多輸出【多任務】

模型結果設計 代碼 from keras import Input, Model from keras.layers import Dense, Concatenate import numpy as np from keras

原创 詳解Attention is All U Need

原文鏈接  https://blog.csdn.net/lqfarmer/article/details/73521811 已有Seq2Seq模型 Seq2Seq模型是處理序列到序列問題的利器,尤其是在神經網絡翻譯方面,取得了很大的

原创 keras-keras中的mask操作

來源:https://www.cnblogs.com/databingo/p/9339175.html 使用背景 最常見的一種情況, 在NLP問題的句子補全方法中, 按照一定的長度, 對句子進行填補和截取操作. 一般使用keras.p

原创 深度學習中的注意力機制

作者 | 張俊林 出處 | https://blog.csdn.net/malefactor/article/details/78767781 https://blog.csdn.net/TG229dvt5I93mxaQ5A6U

原创 Windows下安裝PyTorch0.4.0

本文系轉載,出處: https://blog.csdn.net/xiangxianghehe/article/details/80103095 https://blog.csdn.net/sunqiande88/article/d

原创 Makefile經典教程

該篇文章爲轉載,是對原作者系列文章的總彙加上標註。 支持原創,請移步陳浩大神博客:(最原始版本) http://blog.csdn.net/haoel/article/details/2886 我轉自一個博主  基於原博客

原创 專家系統--pyKE小例01

事實庫[family.kfb] son_of(david, bruce) son_of(bruce, thomas) son_of(thomas, frederik) son_of(frederik, hiram) 規則庫[fc_fami

原创 Learning to Rank 簡介

轉自:Kemaswill http://www.cnblogs.com/kemaswill/archive/2013/06/01/3109497.html Learning to Rank 簡介   去年實習時,因爲項目需要,接觸了一下L

原创 ML-AutoML

https://github.com/hibayesian/awesome-automl-papers

原创 python虛擬環境--virtualenv

  virtualenv 是一個創建隔絕的Python環境的工具。virtualenv創建一個包含所有必要的可執行文件的文件夾,用來使用Python工程所需的包。   安裝 pip install virtualenv   基本使用

原创 基於典型相關分析的詞向量

轉自:https://blog.csdn.net/wangyangzhizhou/article/details/79009096

原创 DL---關於多任務學習

預覽與入門 第一,深度神經網絡的多任務學習概覽(An Overview of Multi-task Learning in Deep Neural Networks) https://www.cnblogs.com/shuziran

原创 PGM---pgmpy學習

官網 http://pgmpy.org/ github https://github.com/pgmpy/pgmpy#installation 三種方法安裝 Using conda: $ conda install -c ankurank