Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getLargeElementsAttrLimit (0.2 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    void ConstBytesAttr::print(mlir::AsmPrinter& printer) const {
      StringRef bytes_str = getValue();
      // Elide the attribute if flag is set.
      std::optional<int64_t> limit = OpPrintingFlags().getLargeElementsAttrLimit();
      printer << " : \"";
      if (limit && limit.value() < bytes_str.size()) {
        printer << "__elided__";
      } else {
        printer << "0x" << llvm::toHex(bytes_str);
      }
      printer << "\"";
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top