Revert to old
This commit is contained in:
parent
669cb927a8
commit
ca413aa0d8
@ -32,6 +32,14 @@ from tensorflow.python.platform import googletest
|
||||
class ResourceOpsTest(test_util.TensorFlowTestCase):
|
||||
"""Tests resource_ops."""
|
||||
|
||||
@test_util.run_deprecated_v1
|
||||
def testCreate(self):
|
||||
_p("testCreate 1", file=sys.stderr)
|
||||
with self.cached_session():
|
||||
ensemble = boosted_trees_ops.TreeEnsemble('ensemble')
|
||||
resources.initialize_resources(resources.shared_resources()).run()
|
||||
_p("testCreate 2", file=sys.stderr)
|
||||
|
||||
@test_util.run_deprecated_v1
|
||||
def testCreateWithProto(self):
|
||||
_p("testCreateWithProto 1", file=sys.stderr)
|
||||
|
Loading…
Reference in New Issue
Block a user