App下載

詞條

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

1641.Docker容器如何互聯(lián)

...器自定義命名。 $ sudo docker run -d -P --name web training/webapp python app.py 使用 docker ps 來驗證設(shè)定的命名。 $ sudo docker ps -l CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES aed84ee21bde training/webapp:latest p...

http://m.o2fo.com/reqsgr/uf8deozt.html

1642.Flask 基于 Celery 的后臺任務(wù)

Celery 是一個 Python 的任務(wù)隊列,包含線程/進(jìn)程池。曾經(jīng)有一個 Flask 的集成, 但在 Celery 3 重構(gòu)了內(nèi)部細(xì)節(jié)后變得不必要了。本指導(dǎo)補(bǔ)充了如何妥善在 Flask 中使用 Celery 的空白,但假設(shè)你已經(jīng)讀過了 Celery 官方文檔中的教程 使用 ...

http://m.o2fo.com/flask_1/flask_1-42cz3j2g.html

1643.Pandas和NumPy的比較

...,因此,在計算還和處理一維或多維數(shù)組方面,它要比 Python 數(shù)組快得多。關(guān)于 NumPy 的學(xué)習(xí),可以參考《Python NumPy教程》。 創(chuàng)建數(shù)組 數(shù)組的主要作用是在一個變量中存儲多個值。NumPy 可以輕松地處理多維數(shù)組,示例如下:import nu...

http://m.o2fo.com/pandas/pandas-numpy.html

1644.Pyramid 包結(jié)構(gòu)

...y一個文件夾需要 __init__.py 文件,這樣它才能被當(dāng)作一個 Python 包。 testproj 包也有這個文件,它基本上聲明了Pyramid WSGI應(yīng)用項目,以便development.ini將其作為入口點(diǎn)。應(yīng)用程序?qū)ο笫怯?main() 函數(shù)返回的。它通過包括運(yùn)行cookiecutter...

http://m.o2fo.com/pyramid/pyramid-package-structure.html

1645.Django4.0 模板-模板引擎的支持

...ACKEND ?是實現(xiàn) Django 模板后端 API 的模板引擎類的點(diǎn)分隔 Python 路徑。內(nèi)置的后端有 ?django.template.backends.django.DjangoTemplates? 和 ?django.template.backends.jinja2.Jinja2?。 由于大多數(shù)引擎都是從文件中加載模板,因此每個引擎的頂層配...

http://m.o2fo.com/django4/django4-27rj3m4j.html

1646.TensorFlow圖形級seed操作

...re__ import division from __future__ import print_function from tensorflow.python.framework import ops DEFAULT_GRAPH_SEED = 87654321 _MAXINT32 = 2**31 - 1 def _truncate_seed(seed): return seed % _MAXINT32 # Truncate to fit into 32-bit integer def get_seed(op_seed): """Returns the local seeds an ope...

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

1647.pytest fixture-fixture可以內(nèi)省請求的測試上下文

...設(shè)置服務(wù)器 URL:# content of test_anothersmtp.py smtpserver = "mail.python.org" # will be read by smtp fixture def test_showhelo(smtp_connection): assert 0, smtp_connection.helo()運(yùn)行:$ pytest -qq --tb=short test_anothersmtp.py F ...

http://m.o2fo.com/pytest/pytest-vw9h3mbo.html

1648.Ansible 用 Travis CI 測試 Roles

...ravis CI。chusiang.helloworld/.travis.yml 的內(nèi)容如下。--- language: python python: "2.7" # Use the new container infrastructure sudo: false # Install ansible addons: apt: packages: - python-pip install: # Install ansible - pip install ansible # Check ansible version - ansible --version # Crea...

http://m.o2fo.com/automate_with_ansible/automate_with_ansible-iknv27pz.html

1649.10.3 使用相對路徑名導(dǎo)入包中子模塊

...部分被作為腳本直接執(zhí)行,那它們將不起作用 例如: % python3 mypackage/A/spam.py # Relative imports fail 另一方面,如果你使用Python的-m選項來執(zhí)行先前的腳本,相對導(dǎo)入將會正確運(yùn)行。 例如: % python3 -m mypackage.A.spam # Relative imports work 更...

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

1650.PyTorch 量化

...iew()` , `as_strided()` , `expand()` , `flatten()` , `select()` ,python 風(fēng)格的索引等-與常規(guī)張量一樣工作(如果不是按通道量化) - ``` Comparators ``` - `ne()` -不相等 - `eq()` -相等 - `ge()` -大于或等于 - `le()` -小于或等于 - `gt()` -更大 - `lt()` -...

http://m.o2fo.com/pytorch/pytorch-ildt3bxe.html

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

w3cschool 建議您:

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

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

w3cschool 建議您:

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

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

w3cschool 建議您:

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

1641.Docker容器如何互聯(lián)

...器自定義命名。 $ sudo docker run -d -P --name web training/webapp python app.py 使用 docker ps 來驗證設(shè)定的命名。 $ sudo docker ps -l CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES aed84ee21bde training/webapp:latest p...

http://m.o2fo.com/reqsgr/uf8deozt.html

1642.Flask 基于 Celery 的后臺任務(wù)

Celery 是一個 Python 的任務(wù)隊列,包含線程/進(jìn)程池。曾經(jīng)有一個 Flask 的集成, 但在 Celery 3 重構(gòu)了內(nèi)部細(xì)節(jié)后變得不必要了。本指導(dǎo)補(bǔ)充了如何妥善在 Flask 中使用 Celery 的空白,但假設(shè)你已經(jīng)讀過了 Celery 官方文檔中的教程 使用 ...

http://m.o2fo.com/flask_1/flask_1-42cz3j2g.html

1643.Pandas和NumPy的比較

...,因此,在計算還和處理一維或多維數(shù)組方面,它要比 Python 數(shù)組快得多。關(guān)于 NumPy 的學(xué)習(xí),可以參考《Python NumPy教程》。 創(chuàng)建數(shù)組 數(shù)組的主要作用是在一個變量中存儲多個值。NumPy 可以輕松地處理多維數(shù)組,示例如下:import nu...

http://m.o2fo.com/pandas/pandas-numpy.html

1644.Pyramid 包結(jié)構(gòu)

...y一個文件夾需要 __init__.py 文件,這樣它才能被當(dāng)作一個 Python 包。 testproj 包也有這個文件,它基本上聲明了Pyramid WSGI應(yīng)用項目,以便development.ini將其作為入口點(diǎn)。應(yīng)用程序?qū)ο笫怯?main() 函數(shù)返回的。它通過包括運(yùn)行cookiecutter...

http://m.o2fo.com/pyramid/pyramid-package-structure.html

1645.Django4.0 模板-模板引擎的支持

...ACKEND ?是實現(xiàn) Django 模板后端 API 的模板引擎類的點(diǎn)分隔 Python 路徑。內(nèi)置的后端有 ?django.template.backends.django.DjangoTemplates? 和 ?django.template.backends.jinja2.Jinja2?。 由于大多數(shù)引擎都是從文件中加載模板,因此每個引擎的頂層配...

http://m.o2fo.com/django4/django4-27rj3m4j.html

1646.TensorFlow圖形級seed操作

...re__ import division from __future__ import print_function from tensorflow.python.framework import ops DEFAULT_GRAPH_SEED = 87654321 _MAXINT32 = 2**31 - 1 def _truncate_seed(seed): return seed % _MAXINT32 # Truncate to fit into 32-bit integer def get_seed(op_seed): """Returns the local seeds an ope...

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

1647.pytest fixture-fixture可以內(nèi)省請求的測試上下文

...設(shè)置服務(wù)器 URL:# content of test_anothersmtp.py smtpserver = "mail.python.org" # will be read by smtp fixture def test_showhelo(smtp_connection): assert 0, smtp_connection.helo()運(yùn)行:$ pytest -qq --tb=short test_anothersmtp.py F ...

http://m.o2fo.com/pytest/pytest-vw9h3mbo.html

1648.Ansible 用 Travis CI 測試 Roles

...ravis CI。chusiang.helloworld/.travis.yml 的內(nèi)容如下。--- language: python python: "2.7" # Use the new container infrastructure sudo: false # Install ansible addons: apt: packages: - python-pip install: # Install ansible - pip install ansible # Check ansible version - ansible --version # Crea...

http://m.o2fo.com/automate_with_ansible/automate_with_ansible-iknv27pz.html

1649.10.3 使用相對路徑名導(dǎo)入包中子模塊

...部分被作為腳本直接執(zhí)行,那它們將不起作用 例如: % python3 mypackage/A/spam.py # Relative imports fail 另一方面,如果你使用Python的-m選項來執(zhí)行先前的腳本,相對導(dǎo)入將會正確運(yùn)行。 例如: % python3 -m mypackage.A.spam # Relative imports work 更...

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

1650.PyTorch 量化

...iew()` , `as_strided()` , `expand()` , `flatten()` , `select()` ,python 風(fēng)格的索引等-與常規(guī)張量一樣工作(如果不是按通道量化) - ``` Comparators ``` - `ne()` -不相等 - `eq()` -相等 - `ge()` -大于或等于 - `le()` -小于或等于 - `gt()` -更大 - `lt()` -...

http://m.o2fo.com/pytorch/pytorch-ildt3bxe.html

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

w3cschool 建議您:

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

熱門課程