Giter VIP home page Giter VIP logo

Comments (10)

tkipf avatar tkipf commented on July 17, 2024 8

from pygcn.

zhuchangjiang avatar zhuchangjiang commented on July 17, 2024

what does this mean?

from pygcn.

Tanyjiang avatar Tanyjiang commented on July 17, 2024

It does not work in Pytorch 0.4.1. This function only supports the torch.tensor but not Variable.

from pygcn.

tkipf avatar tkipf commented on July 17, 2024

Can you try PyTorch 0.5?

from pygcn.

Tanyjiang avatar Tanyjiang commented on July 17, 2024

I tried a new defined layer for torch.spmm(). It works. Thanks

from pygcn.

jgbradley1 avatar jgbradley1 commented on July 17, 2024

As a note, torch.spmm may move to torch.sparse.spmm. The API states it is experimental at the moment.

from pygcn.

InstantWindy avatar InstantWindy commented on July 17, 2024

I tried a new defined layer for torch.spmm(). It works. Thanks
@Tanyjiang
Hey! How do you define the 'spmm' layer? Thanks !

from pygcn.

kprojiang avatar kprojiang commented on July 17, 2024

In PyTorch 1.8, torch.spmm is deprecated.
Unify matrix multiplications operations
Deprecate spmm and dsmm functions
TORCH.SPARSE 1.8

As a note, torch.spmm may move to torch.sparse.spmm. The API states it is experimental at the moment.

from pygcn.

Cogito2012 avatar Cogito2012 commented on July 17, 2024

Could anyone provide a substitution for the deprecated torch.spmm?

from pygcn.

salcc avatar salcc commented on July 17, 2024

torch.mm should work, as torch.spmm was just an alias for it, as mentioned in pytorch/pytorch#46164.

from pygcn.

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.