Giter Site home page Giter Site logo

ai-techsystems / dnnc-operators Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 4.0 5.05 MB

development and discussion of DNNC operators

License: Apache License 2.0

C++ 79.74% CMake 2.70% Makefile 0.07% C 1.96% Shell 0.16% Cuda 1.08% Fortran 10.99% Python 3.19% JavaScript 0.07% CSS 0.05%

dnnc-operators's People

Contributors

enigmarikki avatar gunjannandy avatar nikhilt1998 avatar nixonz avatar rodio346 avatar sravit1 avatar srohit0 avatar subhamio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dnnc-operators's Issues

Bool return type tensors (Equal operator) and multiple dtype tensor input in compute function (Dequantizelinear)

Equal operator

Can't return tensor<bool>

Error:

swig/python detected a memory leak of type 'dnnc::tensor< bool > *', no destructor found.

Unittest Error:

ERROR: test_Equal2D (__main__.EqualTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Equal.py", line 40, in test_Equal1D
    np.testing.assert_allclose(npr, np.array(dcr.data()).astype(np.float32),
AttributeError: 'SwigPyObject' object has no attribute 'data'

Transpose operator

When added Transpose operator to the dnnc interface, invokes the following issue of ambiguity


Transpose operator issue


Numpy uses np.T to transpose a matrix, we can use same kind of naming convention if doing that only, solves the issue!

Fix tensor.h

Fix to_string method in tensor.h for multi-dimensional tensors.

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.