Skip to content

Commit 4697bbe

Browse files
authored
Remove TF1 + TF2 (#120)
* Remove TF1 and TF2 Tests * Remove TF mentions * Remove TF2 * Remove constants.
1 parent 5cf4574 commit 4697bbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4
-8812
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
# Fast and scalable fitting of over-determined generalized-linear models (GLMs)
33

4-
batchglm was developed in the context of [diffxpy](https://github.com/theislab/diffxpy) to allow fast model fitting for differential expression analysis for single-cell RNA-seq data. However, one can use batchglm or its concepts in other scenarios where over-determined GLMs are encountered. batchglm is based on TensorFlow
5-
4+
batchglm was developed in the context of [diffxpy](https://github.com/theislab/diffxpy) to allow fast model fitting for differential expression analysis for single-cell RNA-seq data. However, one can use batchglm or its concepts in other scenarios where over-determined GLMs are encountered.
5+
<!--
66
# Installation
77
1. Install [tensorflow](https://www.tensorflow.org/install/), see below. Please use the pip installation if you are unsure.
88
2. Clone the GitHub repository of batchglm.
@@ -22,4 +22,4 @@ You can install [tensorflow](https://www.tensorflow.org/install/) via pip or via
2222
`pip install tensorflow-gpu`
2323
2424
### Hardware-optimized tensorflow installation (compiling from source)
25-
Please refer to https://www.tensorflow.org/install/.
25+
Please refer to https://www.tensorflow.org/install/. -->

batchglm/api/models/__init__.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1 @@
11
from . import numpy
2-
try:
3-
import tensorflow as tf
4-
if tf.__version__.split(".")[0] == "1":
5-
from . import tf1
6-
else:
7-
tf1 = None
8-
if tf.__version__.split(".")[0] == "2":
9-
from . import tf2
10-
else:
11-
tf2 = None
12-
except ImportError:
13-
tf1 = None
14-
tf2 = None

batchglm/api/models/tf1/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

batchglm/api/models/tf1/glm_beta.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

batchglm/api/models/tf1/glm_nb.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

batchglm/api/models/tf1/glm_norm.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

batchglm/api/models/tf2/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

batchglm/api/models/tf2/glm_beta.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

batchglm/api/models/tf2/glm_nb.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

batchglm/api/models/tf2/glm_norm.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)