<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anıl Arı on Medium]]></title>
        <description><![CDATA[Stories by Anıl Arı on Medium]]></description>
        <link>https://medium.com/@anil_ari?source=rss-8ad8df6a64e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oJkw5oWe4Fz1wxoE</url>
            <title>Stories by Anıl Arı on Medium</title>
            <link>https://medium.com/@anil_ari?source=rss-8ad8df6a64e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:25:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anil_ari/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What are the differences between MindSpore, TensorFlow, and Pytorch?]]></title>
            <link>https://medium.com/huawei-developers/what-are-the-differences-between-mindspore-tensorflow-and-pytorch-f52cd60928f?source=rss-8ad8df6a64e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f52cd60928f</guid>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[mindspore]]></category>
            <category><![CDATA[machine-learning-tools]]></category>
            <category><![CDATA[ml-platform]]></category>
            <category><![CDATA[pytorch]]></category>
            <dc:creator><![CDATA[Anıl Arı]]></dc:creator>
            <pubDate>Sun, 27 Dec 2020 14:55:30 GMT</pubDate>
            <atom:updated>2020-12-28T08:54:19.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*T5OlI2HfFZvQjJpiE3jlCA.png" /></figure><p>Most data scientists are at least familiar with how <a href="https://algorithmia.com/blog/machine-learning-with-r">R</a> and Python programming languages are used for machine learning, but the possibilities do not end there. Machine learning and AI tools are often software libraries, toolkits, or suites that aid in executing tasks. As with machine learning algorithms, there is not necessarily a “best” AI or machine learning tool. What you use will (and should) depend on the task you are trying to perform.</p><p>MindSpor, Tensorflow, Pytorch are three frameworks that are providing machine learning capabilities to applications. They are providing load and process data, training- reuse, and deploying models to devices and operating systems</p><p>MindSpore is supported by Huawei, TensorFlow is supported by Google, Pytorch is supported by Facebook. All of them are open-source and you can contribute and develop functionality for these frameworks.</p><p>Features and supported platforms are changing due to frameworks and using purposes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*82uc-HsYkLAAvTA8nzSWfw.png" /><figcaption>MindSpore Platforms</figcaption></figure><p>MindSpore supported languages are Python, C++, and also Java support for the lite(mobile) model. It supports ASCEND, CUDA, and standard CPU platforms. It also gives us commands which we can use a variety of selected options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*oja1S_UAill4Nna7hzesMQ.png" /><figcaption>Tensorflow Platforms</figcaption></figure><p>Tensorflow supported languages are Python, C++, Java for the lite model, Swift for IOS, Go, and Haskell. Their charts are showing us which platform we can load and process data, build train reuse models, and deploying process</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*RyYuhYaznhBx13sq5KAq0A.png" /><figcaption>Pytorch Platforms</figcaption></figure><p>Pytorch supported languages Python, C++. It is similar to Mindspore, It shows only CUDA platform, language, and commands to specified system commands.</p><p><strong>Conclusion</strong></p><p>There are plenty of open-source frameworks that are loading processing data, building training and reusing models, and deploying them for daily use cases. However, these are for those who want to join, use, and contribute frameworks and use them with their specific platform purposes.</p><p>Framework choice can be changed which platform and what operating system developer should use and what model should be supported to their users.</p><p>Here you can find a useful article for using MindSpore Custom model on your application:</p><p><a href="https://medium.com/huawei-developers/custom-model-generation-with-mindspore-lite-hms-ml-kit-cc756151d8d9">Custom Model Generation with MindSpore Lite | HMS ML Kit</a></p><p>Thank you!</p><p><strong>References</strong></p><ul><li><a href="https://www.mindspore.cn/">MindSpore官网</a></li><li><a href="https://www.tensorflow.org/">TensorFlow</a></li><li><a href="https://pytorch.org/">PyTorch</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f52cd60928f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/huawei-developers/what-are-the-differences-between-mindspore-tensorflow-and-pytorch-f52cd60928f">What are the differences between MindSpore, TensorFlow, and Pytorch?</a> was originally published in <a href="https://medium.com/huawei-developers">Huawei Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Huawei App Gallery Connect Auth Service Mobile Number Auth Introduction]]></title>
            <link>https://medium.com/huawei-developers/huawei-app-gallery-connect-auth-service-mobile-number-auth-introduction-40785da0a45?source=rss-8ad8df6a64e------2</link>
            <guid isPermaLink="false">https://medium.com/p/40785da0a45</guid>
            <category><![CDATA[appgallery-connect]]></category>
            <category><![CDATA[hms]]></category>
            <category><![CDATA[sms-verification-service]]></category>
            <category><![CDATA[login-with-sms]]></category>
            <category><![CDATA[huawei-auth-service]]></category>
            <dc:creator><![CDATA[Anıl Arı]]></dc:creator>
            <pubDate>Mon, 16 Nov 2020 05:59:51 GMT</pubDate>
            <atom:updated>2020-11-18T11:57:59.219Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gv8qTgg11Yc6r0uX.png" /></figure><p>Huawei Auth Service provides authentication functionality for developers to integrate third-party authentication methods through the app gallery connect. In this post, we will show how you use mobile number authentication through Huawei Authentication Service.</p><p><a href="https://medium.com/huawei-developers/android-integrating-your-apps-with-huawei-hms-core-1f1e2a090e98">Android | Integrating Your Apps With Huawei HMS Core</a></p><p>First, we need to login to AppGallery connect service and create a new project after the creation of the project add the app to the project showed in the integration article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDhd2NuhgX6uoAkUJx0KOA.png" /><figcaption>Enabling Service</figcaption></figure><p>After integration, we should enable services through Authentication Service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cvi7WoVa0uqoF472xpO3zA.png" /><figcaption>Enabling Sms Services</figcaption></figure><p>Now we are ready to use our api.</p><p>After initialization, we are trying to build our login structure through the api.</p><p>Firstly, we need to decide what to do when the user firstly registered or already registered. For this sample, I created an activity that has buttons for login or registration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*9JQ76bFQzc1nINO2iVDVKA.png" /></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1356ad7b433b83bd7c4116c5ac27724c/href">https://medium.com/media/1356ad7b433b83bd7c4116c5ac27724c/href</a></iframe><p>We should have two methods in action here one for checking valid phone number entered, the second one is for verification and registering user.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d4c612c8b8cf4ead2b49fd4f64d75c5f/href">https://medium.com/media/d4c612c8b8cf4ead2b49fd4f64d75c5f/href</a></iframe><p>When we verify the number and it is successful send to sms verify activity and the user will receive sms. When it is failed but the action is not taken with interval we also direct the user to sms verify activity again. When other reasons interrupted to verify we print results to the screen.</p><p>I designed a logical side like this but this can be changed the developer desired scenario.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*RES_KbTZvXD0qyPJoGXviA.png" /><figcaption>Sms Verification</figcaption></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e1048a1e986cde7bff512f4c4dd0901e/href">https://medium.com/media/e1048a1e986cde7bff512f4c4dd0901e/href</a></iframe><p>In sms verify firstly, I user will receive verification code and get intent extras country code, phone number, and action type. After that, there is 2 scenario realize here</p><p>if the user is registered, create phoneUser with code, phone number, password and pass it to the sign-in function</p><p><strong>AGConnectAuth.getInstance().signIn(phoneUser)</strong></p><p>if the user not registered and is first registration create a credential object with code, phone number, password and pass it to the create user function</p><p><strong>AGConnectAuth.getInstance().createUser(credential)</strong></p><p>and there should be an event that triggered when successfully registered/signed or failed.</p><p>If it&#39;s successful, we should start the first activity.</p><p>If it fails toast the error message.</p><p>Also, we should handle the sign-out process with the following code when the user wants to sign out.</p><p><strong>AGConnectAuth.getInstance().signOut();</strong></p><p>And there is a scenario to handle when the user already signed in when starts the application.</p><p><strong>AGConnectUser user = AGConnectAuth.getInstance().getCurrentUser();<br>String uID = user.getUid();</strong></p><p>It can be handled by saving the user’s id to preferences or somewhere else.</p><p>If you have any problems or questions please feel free to ask or comment!<br>Let’s continue development with HMS!</p><h4>References:</h4><p><a href="https://developer.huawei.com/consumer/en/agconnect/auth-service">Auth Service - HUAWEI Developer</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40785da0a45" width="1" height="1" alt=""><hr><p><a href="https://medium.com/huawei-developers/huawei-app-gallery-connect-auth-service-mobile-number-auth-introduction-40785da0a45">Huawei App Gallery Connect Auth Service Mobile Number Auth Introduction</a> was originally published in <a href="https://medium.com/huawei-developers">Huawei Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>