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

Method SetUp

tensorflow/core/grappler/optimizers/remapper_test.cc:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36class RemapperTest : public GrapplerTest {
37 protected:
38 void SetUp() override {
39 // This is a requirement for fusing FusedBatchNorm + SideInput + Activation.
40 setenv("TF_USE_CUDNN_BATCHNORM_SPATIAL_PERSISTENT", "1", 1 /* replace */);
41 // This is a requirement for fusing FusedMatmul + BiasAdd (+ Activation).
42 setenv("TF_USE_CUBLASLT", "1", 1 /* replace */);
43 }
44};
45
46TEST_F(RemapperTest, FusedBatchNorm) {

Callers

nothing calls this directly

Calls 1

setenvFunction · 0.50

Tested by

no test coverage detected