Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoadEnvvars (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

      EXPECT_THAT(files, ::testing::IsEmpty());
      setenv("TF_DUMP_GRAPH_NAME_FILTER", "*", /*overwrite=*/1);
      setenv("TF_DUMP_GRAPH_GROUPS", "main,runtime_lowering", /*overwrite=*/1);
      DEBUG_DATA_DUMPER()->LoadEnvvars();
    
      TF_ASSERT_OK(CreateMlirModule("basic_cluster.mlir"));
    
      TF_EXPECT_OK(RunLowerClusterToRuntimeOpsPassPipeline(
          *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT)));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      Env* env = Env::Default();
      std::string test_dir = testing::TmpDir();
      setenv("TF_DUMP_GRAPH_PREFIX", test_dir.c_str(), /*overwrite=*/1);
      setenv("TF_DUMP_GRAPH_NAME_FILTER", "*", 1);
      DEBUG_DATA_DUMPER()->LoadEnvvars();
    
      std::vector<std::string> files;
      TF_ASSERT_OK(env->GetChildren(test_dir, &files));
      int original_files_size = files.size();
    
      TF_ASSERT_OK_AND_ASSIGN(
          XlaCompiler::CompilationResult result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top