Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetUnbuffered (0.11 sec)

  1. 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)
  2. 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)
Back to top