Coder Social home page Coder Social logo

Add LogicalOr and LogicalAnd about multik HOT 5 CLOSED

kotlin avatar kotlin commented on August 25, 2024
Add LogicalOr and LogicalAnd

from multik.

Comments (5)

devcrocod avatar devcrocod commented on August 25, 2024 1

This means that needs to support boolean arrays.

from multik.

devcrocod avatar devcrocod commented on August 25, 2024

In the yolo model, this is used to get masks by which arrays are subsequently taken.

mask = np.logical_and(scale_mask, score_mask)
coors, scores, classes = pred_coor[mask], scores[mask], classes[mask]

There is no such thing in multik either. I need to think about the api.

from multik.

breandan avatar breandan commented on August 25, 2024

Related to #37, it would be nice to have a Kotlin API for something like this: https://github.com/JetBrains-Research/spbla

from multik.

breandan avatar breandan commented on August 25, 2024

@devcrocod I have been doing some experiments with abstract algebras using type classes. Although I am still unhappy with the amount of indirection, our implementation currently supports various semirings. Perhaps you can borrow some ideas:

https://github.com/breandan/kaliningraph/blob/master/src/commonMain/kotlin/ai/hypergraph/kaliningraph/tensor/Tensor.kt

from multik.

devcrocod avatar devcrocod commented on August 25, 2024

It looks very cool.
thanks

from multik.

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.