[RLlib] Schedule-classes multi-framework support. (#6926)

This commit is contained in:
Sven Mika
2020-01-28 11:07:55 -08:00
committed by Eric Liang
parent 26d749bc18
commit 4c97348cb6
14 changed files with 371 additions and 10 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ def check(x, y, decimals=5, atol=None, rtol=None, false=False):
assert bool(x) is bool(y), \
"ERROR: x ({}) is not y ({})!".format(x, y)
# Nones or primitives.
elif x is None or y is None or isinstance(x, (str, int, float)):
elif x is None or y is None or isinstance(x, (str, int)):
if false is True:
assert x != y, "ERROR: x ({}) is the same as y ({})!".format(x, y)
else: