TensorFlow
TensorFlow 图标

TensorFlow

tensorflow.org

An end-to-end open source machine learning platform for everyone. Discover TensorFlow's flexible ecosystem of tools, libraries and community resources.

收录于 1 年前更新于 1 年前正常收录
TensorFlow 网站预览

详细内容

Skip to main content

TensorFlow

/

Language

GitHub

Sign in

TensorFlow

193k TF\
2.20\
released

An end-to-end platform for machine learning

Install TensorFlow

Get started with TensorFlow

TensorFlow makes it easy to create ML models that can run in any environment.
Learn how to use the intuitive APIs through interactive code samples.

View tutorials

import tensorflow as tf
mnist = tf.keras.datasets.mnist

(x_train, y_train),(x_test, y_test) = mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0

model = tf.keras.models.Sequential([\
  tf.keras.layers.Flatten(input_shape=(28, 28)),\
  tf.keras.layers.Dense(128, activation='relu'),\
  tf.keras.layers.Dropout(0.2),\
  tf.keras.layers.Dense(10, activation='softmax')\
])

model.compile(optimizer='adam',
  loss='sparse_categorical_crossentropy',
  metrics=['accuracy'])

model.fit(x_train, y_train, epochs=5)
model.evaluate(x_test, y_test)

Run quickstart

Solve real-world problems with ML

Explore examples of how TensorFlow is used to advance research and build AI-powered applications.

TENSORFLOW.JS

Catch up on the latest from the Web AI Summit

Explore the latest advancements in running models client-side with speakers from Chrome, MediaPipe, Intel, Hugging Face, Microsoft, LangChain, and more.

Watch now

close

Web AI Summit 2024: State of client side machine learning - YouTube

Photo image of Chrome for Developers

Chrome for Developers

802K subscribers

Web AI Summit 2024: State of client side machine learning

Chrome for Developers

Search

Info

Shopping

Tap to unmute

If playback doesn't begin shortly, try restarting your device.

You're signed out

Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.

CancelConfirm

Share

Include playlist

An error occurred while retrieving sharing information. Please try again later.

Watch later

Share

Copy link

Watch on

0:00

/

•Live

•

TensorFlow GNN

Analyze relational data using graph neural networks

GNNs can process complex relationships between objects, making them a powerful technique for traffic forecasting, medical discovery, and more.

Learn about TF GNN

TensorFlow Agents

Build recommendation systems with reinforcement learning

Learn how Spotify uses the TensorFlow ecosystem to design an extendable offline simulator and train RL Agents to generate playlists.

Read the blog

What's new in TensorFlow

Read the latest announcements from the TensorFlow team and community.

What's new in TensorFlow 2.20

Updated August 19, 2025

What's new in TensorFlow 2.19

Updated March 13, 2025

Introducing Wake Vision: A High-Quality, Large-Scale Dataset for TinyML Computer Vision Applications

Updated December 5, 2024

MLSysBook.AI: Principles and Practices of Machine Learning Systems Engineering

Updated November 19, 2024

What's new in TensorFlow 2.18

Updated October 28, 2024

What's new in TensorFlow 2.17

Updated July 18, 2024

expand_lessLessMoreexpand_more

Explore the ecosystem

Discover production-tested tools to accelerate modeling, deployment, and other workflows.

\
\
ML models & datasets\
\
Pretrained models and ready-to-use datasets for image, text, audio, and video use cases.

\
\
Libraries & extensions\
\
Packages for domain-specific applications and APIs for languages other than Python.

\
\
Developer tools\
\
Tools to evaluate models, optimize performance, and productionize ML workflows.

Join the community

Collaborate, find support, and share your projects by joining interest groups or attending developer events.

Get involved

Learn ML

New to machine learning? Begin with TensorFlow's curated curriculums or browse the resource library of books, online courses, and videos.

Explore resources

Stay connected

Learn the latest in machine learning and TensorFlow by following our channels or signing up for the newsletter. View past newsletters in the archive.

forum logo\
\
Forum
x logo\
\
X
youtube logo\
\
YouTube
linkedin logo\
\
Linkedin

TensorFlow

Country/Region*

Åland Islands (Åland)

Albania (Shqipëria)

Algeria (الجزائر)

American Samoa

Andorra

Angola

Anguilla

Antarctica

Antigua and Barbuda

Argentina

Armenia (Հայաստանի Հանրապետութիւն)

Aruba

Ascension Island

Australia

Austria (Österreich)

Azerbaijan (Azərbaycan)

Bahamas

Bahrain (البحرين)

Bangladesh (বাংলাদেশ)

Barbados

Belgium (België)

Belize

Benin (Bénin)

Bermuda

Bhutan (भूटान)

Bolivia

Bosnia and Herzegovina (Bosna i Hercegovina)

Botswana

Bouvet Island

Brazil (Brasil)

British Indian Ocean Territory

British Virgin Islands

Brunei

Bulgaria (България)

Burkina Faso

Burundi

Cambodia (កម្ពុជា)

Cameroon (Cameroun)

Canada

Canary Islands

Cape Verde (Cabo Verde)

Caribbean Netherlands

Cayman Islands

Central African Republic (République centrafricaine)

Ceuta and Melilla

Chad (تشاد)

Chile

China (中国)

Christmas Island

Clipperton Island

Cocos (Keeling) Islands

Colombia

Comoros (جزر القمر)

Congo (DRC) (République démocratique du Congo)

Congo

Cook Islands

Costa Rica

Croatia (Hrvatska)

Curaçao

Cyprus (Κύπρος)

Czechia (Česko)

Côte d’Ivoire

Denmark (Danmark)

Diego Garcia

Djibouti (Jabuuti)

Dominica

Dominican Republic (República Dominicana)

Ecuador

Egypt (مصر)

El Salvador

Equatorial Guinea (Guinée équatoriale)

Eritrea (ኤርትራ, اريتريا)

Estonia (Eesti)

Ethiopia (ኢትዮጵያ)

Falkland Islands

Faroe Islands (Føroyar)

Fiji (फिजी)

Finland (Suomi)

France

French Guiana (Guyane française)

French Polynesia (Polynésie française)

French Southern Territories

Gabon

Gambia

Georgia (საქართველო)

Germany (Deutschland)

Ghana

Gibraltar

Greece (Ελλάδα)

Greenland (Kalaallit Nunaat)

Grenada

Guadeloupe

Guam

Guatemala

Guernsey

Guinea (Guinée)

Guinea-Bissau (Guiné Bissau)

Guyana

Haiti (Haïti)

Heard & McDonald Islands

Honduras

Hong Kong (香港)

Hungary (Magyarország)

Iceland (Ísland)

India (भारत)

Indonesia

Iraq (العراق)

Ireland

Isle of Man

Israel (ישראל)

Italy (Italia)

Jamaica

Japan (日本)

Jersey

Jordan (الأردن)

Kazakhstan (Казахстан)

Kenya

Kiribati

Kosovo

Kuwait (الكويت)

Kyrgyzstan (Кыргызстан)

Laos (ลาว)

Latvia (Latvija)

Lebanon (لبنان)

Lesotho

Liberia

Libya (ليبيا)

Liechtenstein

Lithuania (Lietuva)

Luxembourg

Macau (澳門)

Macedonia (FYROM) (Македонија)

Madagascar

Malawi

Malaysia

Maldives

Mali (مالي)

Malta

Marshall Islands

Martinique

Mauritania (موريتانيا)

Mauritius

Mayotte

Mexico (México)

Micronesia

Moldova

Monaco

Mongolia (Монгол улс)

Montenegro (Црна Гора)

Montserrat

Morocco (المغرب)

Mozambique (Moçambique)

Myanmar (Burma)

Namibia

Nauru

Nepal (नेपाल)

Netherlands (Nederland)

Netherlands Antilles (Nederlandse Antillen)

New Caledonia (Nouvelle-Calédonie)

New Zealand

Nicaragua

Niger

Nigeria

Niue

Norfolk Island

Northern Mariana Islands

Norway (Norge)

Oman (عمان)

Outlying Oceania

Pakistan (پاکستان)

Palau

Palestine (فلسطين)

Panama (Panamá)

Papua New Guinea

Paraguay

Peru (Perú)

Philippines

Pitcairn Islands

Poland (Polska)

Portugal

Puerto Rico

Qatar (قطر)

Romania (România)

Rwanda

Réunion

Saint Barthélemy

Saint Helena

Saint Kitts and Nevis

Saint Lucia

Saint Martin

Saint Pierre and Miquelon

Samoa

San Marino

Saudi Arabia (المملكة العربية السعودية)

Senegal (Sénégal)

Serbia (Србија)

Seychelles

Sierra Leone

Singapore (新加坡)

Sint Maarten

Slovakia (Slovenská republika)

Slovenia (Slovenija)

Solomon Islands

Somalia (Somali)

South Africa

South Georgia & South Sandwich Islands

South Korea (대한민국)

South Sudan

Spain (España)

Sri Lanka (இலங்கை)

St. Vincent & Grenadines

Sudan (السودان)

Suriname

Svalbard and Jan Mayen

Swaziland

Sweden (Sverige)

Switzerland (Schweiz, Suisse, Svizzera)

São Tomé and Príncipe

Taiwan (台灣)

Tajikistan (تاجیکستان)

Tanzania

Thailand (ประเทศไทย)

Timor-Leste

Togo

Tokelau

Tonga

Trinidad and Tobago

Tristan da Cunha

Tunisia (تونس)

Turkey (Türkiye)

Turkmenistan (Туркменистан)

Turks and Caicos Islands

Tuvalu

U.S. Outlying Islands (United States Minor Outlying Islands)

U.S. Virgin Islands

Uganda

Ukraine (Україна)

United Arab Emirates (الامارات العربية المتحدة)

United Kingdom

United States

Uruguay

Uzbekistan (Ўзбекистон)

Vanuatu

Vatican City (Vaticano)

Venezuela

Vietnam (Việt Nam)

Wallis and Futuna

Western Sahara (الصحراء الغربية)

Yemen (اليمن)

Zambia

Zimbabwe

4 options available. Arrow down to browse or start typing to filter.

Reason for using TensorFlow*

  • App developer - you are using ML for mobile or web applications.

  • Learner – you are learning ML, or a student from another discipline exploring ML.

  • ML provider - you are using ML to solve specific business problems.

  • Researcher/data scientist - you are in academia or industry ML research, focusing on developing new ML methods, or applying, optimizing, scaling ML to solve business problems.

Communication preferences

Monthly newsletter

info

Receive the latest news and product updates from the TensorFlow team and community.

Research & surveys

info

Receive invitations from the Google team to share your experiences and product feedback by participating in surveys.


I accept the Google Terms and Conditions
and acknowledge that my information will be used in accordance with the Google Privacy Policy.


reCAPTCHA

Recaptcha requires verification.

I'm not a robot

reCAPTCHA is changing its terms of service. Take action.

reCAPTCHA

Privacy - Terms

Please complete the reCAPTCHA.

Subscribe

Failed to submit, please try again.

Thank you! You are now signed up for TensorFlow emails.

reCAPTCHA

forum logo\
\
Forum
x logo\
\
X
youtube logo\
\
YouTube
linkedin logo\
\
Linkedin

Start building with TensorFlow

Install TensorFlow Explore tutorials

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],[],[],[]]

网站信息

域名
tensorflow.org
收录路径
tensorflow