App下載

詞條

大約有 4,000 項符合查詢結(jié)果 ,庫內(nèi)數(shù)據(jù)總量為 78,409 項。(搜索耗時:0.0055秒)

2191.TensorFlow稀疏張量函數(shù):tf.SparseTensor

tf.SparseTensor 函數(shù) SparseTensor 類 定義在:tensorflow/python/framework/sparse_tensor.py. 參見指南:稀疏張量>稀疏張量表示 代表稀疏張量. TensorFlow表示一個稀疏張量,作為三個獨立的稠密張量:indices,values和dense_shape.在Python中,三個張量被集...

http://m.o2fo.com/tensorflow_python/tensorflow_python-le4w2kjm.html

2192.PHP8 生成器語法

...用作鍵名。 */ $input = <<<'EOF' 1;PHP;Likes dollar signs 2;Python;Likes whitespace 3;Ruby;Likes blocks EOF; function input_parser($input) { foreach (explode("\n", $input) as $line) { $fields = explode(';', $line); $id = array_shift($fields); yield $id => $fields; } } foreach (input_...

http://m.o2fo.com/phpchinese/php8-generator-syntax.html

2193.使用Dimension類

tf.Dimension Dimension 類 定義在:tensorflow/python/framework/tensor_shape.py 請參閱指南:構(gòu)建圖表>定義新操作 表示 TensorShape 中一個維度的值. 屬性 value:此維度的值,如果未知,則為“None”. 方法 __init____init__(value)用給定的值創(chuàng)建一個新的...

http://m.o2fo.com/tensorflow_python/tensorflow_python-odpm2dxe.html

2194.9.20 利用函數(shù)注解實現(xiàn)方法重載

... 解決方案 本小節(jié)的技術(shù)是基于一個簡單的技術(shù),那就是Python允許參數(shù)注解,代碼可以像下面這樣寫: class Spam: def bar(self, x:int, y:int): print('Bar 1:', x, y) def bar(self, s:str, n:int = 0): print('Bar 2:', s, n) s = Spam() s.bar(2, 3) # Prints Bar 1: 2 3 s.ba...

http://m.o2fo.com/youshq/a3rlbozt.html

2195.Flask 擴展之SQLite(數(shù)據(jù)庫)

Flask SQLitePython對SQlite有內(nèi)置的支持。SQlite3模塊附帶Python發(fā)行版。在本節(jié)中,我們將了解Flask應用程序如何與SQLite交互。創(chuàng)建一個SQLite數(shù)據(jù)庫'database.db'并在其中創(chuàng)建學生表。import sqlite3 conn = sqlite3.connect('database.db') #prin...

http://m.o2fo.com/rrhflask/rrhflask-fhia32bw.html

2196.FastAPI教程 依賴項 - 第一步

...與交互。創(chuàng)建依賴項非常簡單、直觀,并且還支持導入 Python 包。毫不夸張地說,只要幾行代碼就可以把需要的 Python 包與 API 函數(shù)集成在一起。下一章將詳細介紹在關(guān)系型數(shù)據(jù)庫、NoSQL 數(shù)據(jù)庫、安全等方面使用依賴項的例子。Fas...

http://m.o2fo.com/fastapi/fastapi-tsyu3lcp.html

2197.Flask 訪問請求數(shù)據(jù)

... 由全局的 request 對象來提供這些信息。如果你有一定的 Python 經(jīng)驗,你會好奇,為什么這個對象是全局的,為什么 Flask 還能保證 線程安全。答案是環(huán)境作用域: 環(huán)境局部變量 內(nèi)幕 如果你想理解其工作機制及如何利用環(huán)境局部...

http://m.o2fo.com/flask_1/flask_1-wxqr3ixz.html

2198.scikit-learn 并行,資源管理和配置

...reads環(huán)境變量控制使用的線程的確切數(shù)量: OMP_NUM_THREADS=4 python my_script.py 8.3.1.3. 基于特定數(shù)字庫的numpy并行化例程 Scikit learn在很大程度上依賴于NumPy和SciPy,后者在內(nèi)部調(diào)用在MKL、OpenBLAS或BLIS等庫中實現(xiàn)的多線程線性代數(shù)例程。 Op...

http://m.o2fo.com/gkiwe/gkiwe-yfod3rdb.html

2199.TensorFlow定義文件:定義flite op提示

本節(jié)提供了tf.lite.OpHint函數(shù)的幫助文件:tensorflow/lite/python/op_hint.py# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a ...

http://m.o2fo.com/tensorflow_python/lite_python_op_hint.html

2200.GitBook Markdown

...高亮。```javascript var s = "JavaScript語法高亮"; alert(s); ``` ```python s = "Python語法高亮" print s ``` ``` 沒有指明語言,所有沒有語法高亮。 讓我們隨便寫個標簽試試 <b>tag</b> ``` 表格 表格不是 Markdown 規(guī)范的核心部分,但是它是 GF...

http://m.o2fo.com/gitbook/gitbook-qiwl3evm.html

抱歉,暫時沒有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

2191.TensorFlow稀疏張量函數(shù):tf.SparseTensor

tf.SparseTensor 函數(shù) SparseTensor 類 定義在:tensorflow/python/framework/sparse_tensor.py. 參見指南:稀疏張量>稀疏張量表示 代表稀疏張量. TensorFlow表示一個稀疏張量,作為三個獨立的稠密張量:indices,values和dense_shape.在Python中,三個張量被集...

http://m.o2fo.com/tensorflow_python/tensorflow_python-le4w2kjm.html

2192.PHP8 生成器語法

...用作鍵名。 */ $input = <<<'EOF' 1;PHP;Likes dollar signs 2;Python;Likes whitespace 3;Ruby;Likes blocks EOF; function input_parser($input) { foreach (explode("\n", $input) as $line) { $fields = explode(';', $line); $id = array_shift($fields); yield $id => $fields; } } foreach (input_...

http://m.o2fo.com/phpchinese/php8-generator-syntax.html

2193.使用Dimension類

tf.Dimension Dimension 類 定義在:tensorflow/python/framework/tensor_shape.py 請參閱指南:構(gòu)建圖表>定義新操作 表示 TensorShape 中一個維度的值. 屬性 value:此維度的值,如果未知,則為“None”. 方法 __init____init__(value)用給定的值創(chuàng)建一個新的...

http://m.o2fo.com/tensorflow_python/tensorflow_python-odpm2dxe.html

2194.9.20 利用函數(shù)注解實現(xiàn)方法重載

... 解決方案 本小節(jié)的技術(shù)是基于一個簡單的技術(shù),那就是Python允許參數(shù)注解,代碼可以像下面這樣寫: class Spam: def bar(self, x:int, y:int): print('Bar 1:', x, y) def bar(self, s:str, n:int = 0): print('Bar 2:', s, n) s = Spam() s.bar(2, 3) # Prints Bar 1: 2 3 s.ba...

http://m.o2fo.com/youshq/a3rlbozt.html

2195.Flask 擴展之SQLite(數(shù)據(jù)庫)

Flask SQLitePython對SQlite有內(nèi)置的支持。SQlite3模塊附帶Python發(fā)行版。在本節(jié)中,我們將了解Flask應用程序如何與SQLite交互。創(chuàng)建一個SQLite數(shù)據(jù)庫'database.db'并在其中創(chuàng)建學生表。import sqlite3 conn = sqlite3.connect('database.db') #prin...

http://m.o2fo.com/rrhflask/rrhflask-fhia32bw.html

2196.FastAPI教程 依賴項 - 第一步

...與交互。創(chuàng)建依賴項非常簡單、直觀,并且還支持導入 Python 包。毫不夸張地說,只要幾行代碼就可以把需要的 Python 包與 API 函數(shù)集成在一起。下一章將詳細介紹在關(guān)系型數(shù)據(jù)庫、NoSQL 數(shù)據(jù)庫、安全等方面使用依賴項的例子。Fas...

http://m.o2fo.com/fastapi/fastapi-tsyu3lcp.html

2197.Flask 訪問請求數(shù)據(jù)

... 由全局的 request 對象來提供這些信息。如果你有一定的 Python 經(jīng)驗,你會好奇,為什么這個對象是全局的,為什么 Flask 還能保證 線程安全。答案是環(huán)境作用域: 環(huán)境局部變量 內(nèi)幕 如果你想理解其工作機制及如何利用環(huán)境局部...

http://m.o2fo.com/flask_1/flask_1-wxqr3ixz.html

2198.scikit-learn 并行,資源管理和配置

...reads環(huán)境變量控制使用的線程的確切數(shù)量: OMP_NUM_THREADS=4 python my_script.py 8.3.1.3. 基于特定數(shù)字庫的numpy并行化例程 Scikit learn在很大程度上依賴于NumPy和SciPy,后者在內(nèi)部調(diào)用在MKL、OpenBLAS或BLIS等庫中實現(xiàn)的多線程線性代數(shù)例程。 Op...

http://m.o2fo.com/gkiwe/gkiwe-yfod3rdb.html

2199.TensorFlow定義文件:定義flite op提示

本節(jié)提供了tf.lite.OpHint函數(shù)的幫助文件:tensorflow/lite/python/op_hint.py# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a ...

http://m.o2fo.com/tensorflow_python/lite_python_op_hint.html

2200.GitBook Markdown

...高亮。```javascript var s = "JavaScript語法高亮"; alert(s); ``` ```python s = "Python語法高亮" print s ``` ``` 沒有指明語言,所有沒有語法高亮。 讓我們隨便寫個標簽試試 <b>tag</b> ``` 表格 表格不是 Markdown 規(guī)范的核心部分,但是它是 GF...

http://m.o2fo.com/gitbook/gitbook-qiwl3evm.html

抱歉,暫時沒有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程