<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rohan Yadav</title>
    <description>The latest articles on DEV Community by Rohan Yadav (@rajrohanyadav).</description>
    <link>https://dev.to/rajrohanyadav</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F447265%2F6ae47d55-9270-4523-8647-8c4d55ff8101.jpeg</url>
      <title>DEV Community: Rohan Yadav</title>
      <link>https://dev.to/rajrohanyadav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajrohanyadav"/>
    <language>en</language>
    <item>
      <title>What is a Tensor?</title>
      <dc:creator>Rohan Yadav</dc:creator>
      <pubDate>Tue, 08 Sep 2020 15:59:19 +0000</pubDate>
      <link>https://dev.to/rajrohanyadav/what-is-a-tensor-3gdm</link>
      <guid>https://dev.to/rajrohanyadav/what-is-a-tensor-3gdm</guid>
      <description>&lt;p&gt;Tensor is one of the most basic concepts to master in Machine &amp;amp; Deep Learning.&lt;/p&gt;

&lt;h3&gt;
  
  
  Definition
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;An n&lt;sup&gt;th&lt;/sup&gt; rank tensor in m-dimensional space is a mathematical object that has n indices and m&lt;sup&gt;n&lt;/sup&gt; components and obeys certain transformation rules.&lt;sup&gt;1&lt;/sup&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tensors are invariant under a change of coordinates, and have components that change in a special, predictable way if there is a change in coordinates. The tensors in three-dimensional Euclidean space are called Cartesian tensors.&lt;/p&gt;

&lt;p&gt;Tensors are identified by 3 parameters -&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Rank&lt;/em&gt;: It represents the number of dimensions of the tensor.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Shape&lt;/em&gt;: Number of components in each of the dimensions represent shape of the tensor. For Example, for a 2 dimensional tensor, if it has 2 components in first index, and 3 components in the second index, then its shape would be (2,3).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Type&lt;/em&gt;: It represents the type of data that the tensor contains.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Popular Terminology
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scalars&lt;/strong&gt; Tensors with rank = 0, are known as scalars or Rank-0 tensors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vectors&lt;/strong&gt; Tensors with rank = 1, are known as scalars or Rank-1 tensors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Matrices&lt;/strong&gt; Tensors with rank = 2, are known as scalars or Rank-2 tensors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three-Dimensional Arrays&lt;/strong&gt; Tensors with rank = 3, are known as scalars or Rank-3 tensors.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Examples
&lt;/h3&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h3&gt;
  
  
  Footnotes
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;sup&gt;1&lt;/sup&gt;&lt;a href="https://mathworld.wolfram.com/Tensor.html" rel="noopener noreferrer"&gt;MathWorld Tensor Definition&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>machinelearning</category>
      <category>beginners</category>
      <category>deeplearning</category>
    </item>
  </channel>
</rss>
