Coder Social home page Coder Social logo

Comments (2)

KernelInterrupt avatar KernelInterrupt commented on May 20, 2024

I think that maybe you can do this by using dart:ffi to create a wrapper for tensorflow cpp API,but it’s hard to do so because you have to deal with NVCC and you must write some scripts to automatically configure environment for different users to make it easy to use.
btw,I don’t think it’s necessary to use Dart to replace Python because Dart doesn’t have advantages over Python in terms of machine learning.Take me as an example:I’m currently reimplementing PyTorch high-level APIs by using dart:ffi to create wrappers for libtorch,and I found that sometimes it’s impossible to reimplement some operations which make PyTorch easy to use as Dart doesn’t have some magic functions(for example,radd).Also,I think sometimes directly train neural networks in Dart is not so important because you can train them in python(by using Tensorflow and PyTorch)and then output graphs,after that you can do inference in Dart easily.
In addition,I think that what Dart really need is a numpy-like tensor library.That’s why I’m reimplementing PyTorch high-level APIs in Dart.because tensor library for PyTorch is just like numpy.

from flutter-tflite.

Ing-Brayan-Martinez avatar Ing-Brayan-Martinez commented on May 20, 2024

@KernelInterrupt excellent job, I'm going to learn Dart ffi and I myself will start creating my own tools I hope I can at least receive some support from Google to guarantee the success of the project I want an ecosystem made in Dart Google has everything to do it the idea is that Dart can Being the main language of any developer that is an economically profitable language, there is no point in investing time and money in learning this technology if you cannot monetize it in the labor market with any type of project, not only Apps, but any type of project is what it offers. language like C# or Swfit, those who invest in these languages always have several options at the framework level to participate in any project always using the main language that was chosen

All of us who are dedicated to using Dart and Flutter currently want this so as not to depend on other technological stacks, for example, some javascript or java framework, we want a 360 view of the Dart language, which is why it is necessary that the Google cloud offers support and go step by step gaining ground to see the growth of the platform, what they are doing is very good, although they must now look towards the back end and AI to develop the language

from flutter-tflite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.