Giter Site home page Giter Site logo

Comments (4)

BrandonDenton avatar BrandonDenton commented on April 28, 2024

Taking a glance at your code, I'm thinking this formatting can be done with a simple addition of NumPy. Would you mind if I added that in my fork? If there's a native tool for doing 64 bit ints, I've forgotten how to use it.

from netron.

lutzroeder avatar lutzroeder commented on April 28, 2024

The issue is with the JavaScript viewer. JavaScript can not represent tensors with large Int64 values as Number. Currently reading them as byte[] into Int64 in view.js. The toString() for this class needs to be implemented.

from netron.

BrandonDenton avatar BrandonDenton commented on April 28, 2024

Thanks for the clarification. Working on that and a couple other listed issues now.

from netron.

lutzroeder avatar lutzroeder commented on April 28, 2024

The issue is that JavaScript cannot represent large 64 bit integers as they are converted to Number: https://stackoverflow.com/questions/5353388/javascript-parsing-int64. They can be loaded as byte[] but rendering them will probably involve writing custom code to render each digit by running mod 10 and div 10 on the byte array.

from netron.

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.