TensorFlow Study Road 1-tensorflow Introduction

Source: Internet
Author: User

TensorFlow is an open source software library that uses the data flow graph (graphs) for data calculation.

What is a streaming diagram?

TensorFlow's streaming diagram is a direction-free graph of "node" (nodes) and "line" (edges) to describe mathematical calculations. A "node" is typically used to denote an applied mathematical operation, but it can also represent the end point of the start/output (push out) of a data input (feed in), or the end of a read/write persistent variable (persistent variable). Lines represent the input/output relationships between nodes. These data "lines" can be transported in a multidimensional data array, or "tensor" (tensor). The visual image of the tensor flow is why the tool is named "TensorFlow". Once all the tensor on the input is ready, the node will be assigned to various computing devices to perform the computation asynchronously and in parallel.

Features of TensorFlow:

High degree of flexibility

    TensorFlow is not a strict "neural network" library. As long as you can express your calculations as a streaming diagram, you can use TensorFlow. You build the diagram and describe the internal loops that drive the calculations. TensorFlow provides useful tools to help users assemble "sub-graphs" (often used in neural networks), but users can also write their own "top-level libraries" on a tensorflow basis. It's as easy as defining a new composite operation that works well and writing a Python function without worrying about performance loss. Of course, if you can't find the underlying data you want, you can write a little C + + code to enrich the underlying operation.

  Automatic differential-seeking

Gradient-based machine learning algorithms benefit from TensorFlow's ability to automatically differentiate. As a tensorflow user, you only need to define the structure of the predictive model, combine the structure with the objective function (objective function), and add the data, and TensorFlow will automatically calculate the associated derivative for you. Calculating the derivative of a variable relative to other variables is done only by expanding your diagram, so you can always see exactly what is going on.

Resources:

TensorFlow Chinese Community

TensorFlow Study Road 1-tensorflow Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.