Commit 57f2c000 authored by VIGNESHinZONE's avatar VIGNESHinZONE
Browse files

fix imports

parent cdd5a29e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
name: Test for DeepChem Torch
name: Test for DeepChem Common
on:
  push: # ci work when pushing master branch
    branches:
+1 −1
Original line number Diff line number Diff line
name: Test for DeepChem Torch
name: Test for DeepChem Tensorflow
on:
  push: # ci work when pushing master branch
    branches:
+2 −2
Original line number Diff line number Diff line
import deepchem as dc
import numpy as np
import pytest
import unittest
try:
  import tensorflow as tf
  from tensorflow.python.framework import test_util
  has_tensorflow = True
except:
  has_tensorflow = False


class TestCNN(test_util.TensorFlowTestCase):
class TestCNN(unittest.TestCase):

  @pytest.mark.tensorflow
  def test_1d_cnn_regression(self):
+1 −1
Original line number Diff line number Diff line
@@ -8,11 +8,11 @@ import pytest

import deepchem
import numpy as np
import tensorflow as tf
import unittest
from deepchem.data import NumpyDataset

try:
  import tensorflow as tf
  import tensorflow_probability as tfp
  from deepchem.models.normalizing_flows import NormalizingFlow, NormalizingFlowModel
  tfd = tfp.distributions
+0 −1
Original line number Diff line number Diff line
import numpy as np
import tensorflow as tf
import deepchem as dc
import pytest
try:
Loading