Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for useLocalScope (0.48 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

        StringStream stream;
        op->print(stream, mlir::OpPrintingFlags().useLocalScope());
        ops_seen_by_pass_[pass] = stream.ss.str();
      }
      void runAfterPass(Pass* pass, Operation* op) override {
        StringStream stream;
        op->print(stream, mlir::OpPrintingFlags().useLocalScope());
        if (!absl::StrContains(stream.ss.str(), kTestInstrumentationSearch) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

      std::string mlir_output;
      llvm::raw_string_ostream output_stream(mlir_output);
      // Dump MLIR with eliding large elements.
      module->print(
          output_stream,
          mlir::OpPrintingFlags().useLocalScope().elideLargeElementsAttrs());
      return mlir_output;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc

      std::string expected_txt_module;
      {
        llvm::raw_string_ostream os(expected_txt_module);
        module_ref->getOperation()->print(os,
                                          mlir::OpPrintingFlags().useLocalScope());
        os.flush();
      }
    
      std::string filepath = DumpMlirOpToFile("module", module_ref.get());
      ASSERT_NE(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)");
      ASSERT_NE(filepath, "LOG(INFO)");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 18 13:40:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

      }
    };
    
    }  // namespace
    
    void EnableIrPrinting(mlir::PassManager& pm,
                          absl::string_view file_name_prefix) {
      mlir::OpPrintingFlags flag{};
      flag.useLocalScope().elideLargeElementsAttrs().enableDebugInfo();
    
      // IR printing requires multithreading disabled.
      // Even if multithreading is already disabled, if we are executing within a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      LOG(INFO) << "Dumping MLIR operation '" << op->getName().getStringRef().str()
                << "' to '" << filepath << "'";
      if (pass_manager) PrintPassPipeline(*pass_manager, op, *os);
      op->print(*os, mlir::OpPrintingFlags().useLocalScope());
      return filepath;
    }
    
    std::string GetDumpDirFromEnvVar() {
      const char* prefix_env = getenv("TF_DUMP_GRAPH_PREFIX");
      if (!prefix_env) {
        LOG(WARNING)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top