(self)
| 451 | |
| 452 | @test_util.run_gpu_only |
| 453 | def testContextConfig(self): |
| 454 | ctx = context.Context(config=config_pb2.ConfigProto( |
| 455 | device_count={'GPU': 0})) |
| 456 | self.assertEquals(0, ctx.num_gpus()) |
| 457 | |
| 458 | def testPickle(self): |
| 459 | tmp_dir = self.get_temp_dir() |
nothing calls this directly
no test coverage detected