CakePHP Cookbook 4.x
CakePHP at a Glance • Conventions Over Configuration • The Model Layer • The View Layer • The Controller Layer • CakePHP Request Cycle • Just the Start • Additional Configuration • Creating our First Model • CMS Tutorial - Creating the Articles Controller • Create the Article List Template • Create the View Action Database Configuration • Creating our First Model • CMS Tutorial - Creating the Articles Controller • Create the Article List Template • Create the View Action • Create the View0 码力 | 1249 页 | 1.04 MB | 2 年前3
LSTM-Layer使用Default: 1 ### LSTM.forward() - out, (ht, ct) = lstm(x, [ht_1, ct_1]) x: [seq, b, vec] h/c: [num_layer, b, h] out: [seq, b, h] ## ☐ ☐ ☐ 1 lstm = nn.LSTM(input_size=100, hidden_size=20, num_layers=4) LSTMCell.forward() ■ ht, ct = lstmcell(xt, [ht_1, ct_1]) xt: [b, vec] - ht/ct: [b, h] print('one layer lstm') cell = nn.LSTMCell(input_size=100, hidden_size=20) h = torch.zeros(3, 20) c = torch shape, c.shape) torch.Size([3, 20]) torch.Size([3, 20]) ## Single layer ## ☀️ ☁️ ☁️ ## Two Layers ## ☐ ☐ ☐ print('two layer lstm') cell1 = nn.LSTMCell(input_size=100, hidden_size=30) cell20 码力 | 11 页 | 643.79 KB | 2 年前3
RNN-Layer使用## PyTorch ## RNN Layer使用 主讲人:龙良曲 ## Folded model [batch, feature len]@[hidden len, feature len] $ ^{T} $ +[batch, hidden len]@[hidden len, hidden len] $ ^{T} $ [0,0,0 ... ] $$ x_{t}@w_{xh} + h_{t}@w_{hh} h0) x: [seq len, b, word vec] h0/ht: [num layers, b, h dim] out: [seq len, b, h dim] ## Single layer RNN ## ☐ ☐ ☐ rnn = nn.RNN(input_size=100, hidden_size=20, num_layers=1) print(rnn) x = torch.randn(10 h_{t}^{2}@w_{hh}^{2} $$ [0,0,0 ... ] $$ x_{t}@w_{xh}^{1} + h_{t}^{1}@w_{hh}^{1} $$ feature ## 2 layer RNN ## ☐ ☐ ☐ In [17]: rnn=nn.RNN(100, 10, num_layers=2) In [18]: rnn.__parameters.keys() Out[18]:0 码力 | 15 页 | 883.60 KB | 2 年前3
Django 2.2.x Documentation. . . . . . . . . . . . . 2 1.4 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.5 The view layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.6 The template layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.7 Forms . . . . . . . . . . . . How to write reusable apps | Writing your first patch for Django 1.4 The model layer Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your Web application0 码力 | 2060 页 | 7.23 MB | 2 年前3
Apache ShardingSphere 5.0.0 Document15 3.4.3 Goal ..... 15 3.4.4 Implementation ..... 16 L1 Kernel Layer ..... 16 L2 Feature Layer ..... 16 L3 Ecosystem Layer ..... 17 Features ..... 18 4.1 DB Compatibility ..... 18 4.1.1 above multi-model databases. It focuses on how to reuse existing databases and their respective upper layer, rather than creating a new database. The concepts at the core of the project are Link, Enhance and ShardingSphere-JDBC defines itself as a lightweight Java framework that provides extra services at the Java JDBC layer. With the client end connecting directly to the database, it provides services in the form of a jar0 码力 | 403 页 | 3.15 MB | 2 年前3
Django 5.1.2 DocumentationGetting help 1 1.3 How the documentation is organized 2 1.4 The model layer 2 1.5 The view layer 2 1.6 The template layer 3 1.7 Forms 3 1.8 The development process 3 1.9 The admin 4 1.10 than tutorials and assume some knowledge of how Django works. ### 1.4 The model layer Django provides an abstraction layer (the “models”) for structuring and manipulating the data of your web application Providing initial data | Optimize database access | PostgreSQL specific features ### 1.5 The view layer Django has the concept of “views” to encapsulate the logic responsible for processing a user’s request0 码力 | 2923 页 | 9.62 MB | 1 年前3
CakePHP Cookbook 3.x
CakePHP at a Glance • Conventions Over Configuration • The Model Layer • The View Layer • The Controller Layer • CakePHP Request Cycle • Just the Start • Additional Configuration • Creating our First Model • CMS Tutorial - Creating the Articles Controller • Create the Article List Template • Create the View Action Database Database Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding0 码力 | 1244 页 | 1.05 MB | 2 年前3
CakePHP Cookbook 2.x
Configuration Optional Configuration A Note on mod_rewrite Blog Tutorial - Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts CakePHP Overview What is CakePHP? Why use it? Understanding Model-View-Controller The Model layer The View layer The Controller layer CakePHP request cycle Benefits Where to Get Help The Official CakePHP Controllers The App Controller Request parameters Controller actions Request Life-cycle callbacks Controller Methods Interacting with Views Flow Control Callbacks Other Useful Methods Controller Attributes $components0 码力 | 1096 页 | 958.62 KB | 2 年前3
02 TiDB Operator 架构与实现 付业成/f/0/b/af0ba3339ba8eb2fcdf2647d94c085d4/p9_9.jpg) ## Operator Pattern - Custom Resource & Controller apiVersion: pingcap.com/v1alpha1 kind: TidbCluster spec: version: v4.0.3 pd: - Custom Resource - TidbCluster - Tidb Initializer - TidbMonitor - Backup/Restore - Custom Controller - Scheduler Extender (optional) - Admission Webhook (optional) - ...Scheduler framework, Aggregated /desired> Actual State TiDB Kubernetes API Compare & Make Changes ## Custom Controller TiDB Operator 0 码力 | 47 页 | 1.73 MB | 1 年前3
KiCad GerbView Reference manual 4.0Copper, L2, Bot) Layer selection Tool 10 D Code selection (hight light items that use this dcode) fmt: mm X4.6 Y4.6 no LZ Info about Gerber file options loaded in the current layer ### 4. Left toolbar Show Source  Clear Layer  Text Editor • active layer in a text editor. • Clear Layer erases the contents of the active layer. ### 6. Layer Manager The layer manager has 2 purposes: • Select the active layer • Show/hide layers Layer | Render0 码力 | 17 页 | 185.75 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
CakePHPMigration GuideController LayerModel LayerORMLSTMLSTM层门控机制PyTorch隐藏状态RNN Layernn.RNNhidden stateRNNCell序列长度Django documentationmodel layerview layertemplate layerformsPluggable ArchitectureLinkEnhanceL1 Kernel LayerL2 Feature LayerDjangodevelopment processmiddlewareModelViewControllerDatabaseMigrationConventionsInstallationModel-View-ControllerPHPConfigurationTiDB OperatorKubernetesController ManagerCustom ResourceReconciliationGerbViewGerber filesPcbnewExcellon formatLayer manager













