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

Method SetUp

tensorflow/core/grappler/utils/scc_test.cc:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28class SCCTest : public ::testing::Test {
29 public:
30 void SetUp() override {
31 std::unordered_map<string, DeviceProperties> devices;
32 DeviceProperties unknown_device;
33 devices["MY_DEVICE"] = unknown_device;
34 cluster_.reset(new VirtualCluster(devices));
35 TF_CHECK_OK(cluster_->Provision());
36 }
37
38 void TearDown() override { cluster_.reset(); }
39

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
ProvisionMethod · 0.45

Tested by

no test coverage detected