Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ setUp
Method
setUp
tensorflow/python/kernel_tests/diag_op_test.py:1017–1018 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1015
class
DiagPartOpTest(test.TestCase):
1016
1017
def
setUp(self):
1018
np.random.seed(0)
1019
1020
def
_diagPartOp(self, tensor, dtype, expected_ans, use_gpu):
1021
with
self.cached_session(use_gpu=use_gpu):
Callers
nothing calls this directly
Calls
1
seed
Method · 0.45
Tested by
no test coverage detected