Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SetUnbuffered (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      }
      filename = llvm::Twine(filename).concat(".mlir").str();
      return filename;
    }
    
    // Simple raw_ostream that prints to stderr.
    struct LogInfoRawStream : public llvm::raw_ostream {
      LogInfoRawStream() { SetUnbuffered(); }
      ~LogInfoRawStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
        fprintf(stderr, "%.*s", static_cast<int>(size), ptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc

    namespace {
    
    // Simple raw_ostream that prints to a file (doesn't take ownership).
    struct WritableFileRawStream : public llvm::raw_ostream {
      explicit WritableFileRawStream(WritableFile* file) : file(file) {
        SetUnbuffered();
      }
      ~WritableFileRawStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

    namespace {
    static const char* kTestInstrumentationName = "test-intrumentatron";
    static const char* kTestInstrumentationSearch = "tf.Identity";
    
    struct StringStream : public llvm::raw_ostream {
      StringStream() { SetUnbuffered(); }
      ~StringStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
        ss.write(ptr, size);
      }
      std::stringstream ss;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/debug/debug.cc

    namespace {
    
    // Simple raw_ostream that prints to a file.
    struct WritableFileRawStream : public llvm::raw_ostream {
      explicit WritableFileRawStream(std::unique_ptr<tsl::WritableFile> file)
          : file(std::move(file)) {
        SetUnbuffered();
      }
      ~WritableFileRawStream() override = default;
    
      uint64_t current_pos() const override {
        int64_t position;
        if (file->Tell(&position).ok()) {
          return position;
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top