MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetTestConfigs

Function GetTestConfigs

tensorflow/python/kernel_tests/conv_ops_test.py:151–161  ·  view source on GitHub ↗

Get all the valid tests configs to run. Returns: all the valid test configs as tuples of data_format and use_gpu.

()

Source from the content-addressed store, hash-verified

149
150
151def GetTestConfigs():
152 """Get all the valid tests configs to run.
153
154 Returns:
155 all the valid test configs as tuples of data_format and use_gpu.
156 """
157 test_configs = [("NHWC", False), ("NHWC", True)]
158 if test.is_gpu_available(cuda_only=True):
159 # "NCHW" format is only supported on CUDA.
160 test_configs += [("NCHW", True)]
161 return test_configs
162
163
164class Conv2DTest(test.TestCase):

Calls

no outgoing calls

Tested by

no test coverage detected