question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make API more easy to use by following python's syntax.

See original GitHub issue

Is it possible change the high level API like what SciSharp’s done? Check the README: https://github.com/SciSharp/TensorFlow.NET.

For example:

using TorchSharp;

var x = new FloatTensor (100);   // 1D-tensor with 100 elements

Will be

using torch = TorchSharp.Torch;

var x = torch.tensor(100)   // 1D-tensor with 100 elements

Mirror API first would make progress be faster that move ML model to .NET world. Project will be done faster than ML.NET. @migueldeicaza When most of the thing runs well, we can refactor code that be more .NET conventions.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Oceania2018commented, Mar 26, 2019

We could reactive the KerasSharp, wrap the TorchSharp and TensorFlow.NET or TensorFlowSharp, ML.NET and CNTK.

1reaction
dsymecommented, May 14, 2020

Just to note that if I was starting this repo from scratch, I would make it part of SciSharp, and follow SciSharp’s naming conventions (i.e. use PyTorch Python naming conventions)

But for now we will stick to the naming conventions we have here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python & APIs: A Winning Combo for Reading Public Data
In this tutorial, you'll learn what APIs are and how to consume them using Python. You'll also learn some core concepts for working...
Read more >
Python and REST APIs: Interacting With Web Services
In this tutorial, you'll learn how to use Python to communicate with REST APIs. You'll learn about REST architecture and how to use...
Read more >
Python API Tutorial: Getting Started with APIs
In this Python API tutorial, we'll learn how to retrieve data for data science projects. There are millions of APIs online which provide...
Read more >
How to use an API with Python (Beginner's Guide)
1. Get an API key · 2. Test API Endpoints with Python · 3. Make your first Python app with API.
Read more >
The Right Way to Build an API with Python
Learn how to create a fully functional RESTful API with Python using the Flask framework. How to host APIs and test them with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found