This commit is contained in:
ltcptgeneral committed 2018-11-14 19:53:07 -06:00
1 parent 32f0999485
commit 64c6d06a02
2 files changed
+9

No files matched your search

Binary file not shown.
+9
View File
@@ -45,6 +45,15 @@ import scipy
import matplotlib
from sklearn import *
import collections
import numbers
from fractions import Fraction
from decimal import Decimal
from itertools import groupby
from bisect import bisect_left, bisect_right
def _init_device (setting, arg): #initiates computation device for ANNs
if setting == "cuda":
temp = setting + ":" + arg