How to change backend from pytorch to tensorflow in google colab notebook?

Hi, i am working on a project in google colab with files .ipynb. Can anyone tell me how to change backend to support tensorflow ? I can’t even run the code below

from dgl.nn.tensorflow import conv, glob

Could you preset an environment variable in colab? If so, export DGLBACKEND=tensorflow should do the trick.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.