- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for raw_ostream (1.12 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/print.cc
class PrintPass : public impl::PrintPassBase<PrintPass> { public: explicit PrintPass(raw_ostream* os = nullptr); PrintPass(const PrintPass& other); void runOnOperation() override; private: llvm::sys::SmartMutex<true> mutex_; raw_ostream* os_; }; PrintPass::PrintPass(raw_ostream* os) { if (os) { os_ = os; } else { os_ = &llvm::errs(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 23:15:17 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
// each pass are still in-order. So we use pass_to_number_map_ to keep track // of the number for each pass. llvm::DenseMap<mlir::Pass*, std::unique_ptr<llvm::raw_ostream>> pass_to_dump_file_before_map_; llvm::DenseMap<mlir::Pass*, std::unique_ptr<llvm::raw_ostream>> pass_to_dump_file_after_map_; llvm::DenseMap<mlir::Pass*, int64_t> pass_to_number_map_; // Get the unique number for each pass.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:38:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc
#include "tensorflow/core/platform/path.h" #include "tensorflow/core/util/dump_graph.h" namespace tensorflow { 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;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/debug/debug.h
==============================================================================*/ #ifndef TENSORFLOW_COMPILER_MLIR_LITE_DEBUG_DEBUG_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_DEBUG_DEBUG_H_ #include "llvm/Support/raw_ostream.h" #include "mlir/Pass/PassManager.h" // from @llvm-project #include "tensorflow/compiler/mlir/lite/debug/debug_options.pb.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 05:31:44 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config_test.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h" #include "llvm/Support/raw_ostream.h" #include "mlir/IR/MLIRContext.h" // from @llvm-project #include "mlir/Transforms/Passes.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/dialect_registration.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 00:41:24 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.h
return ops == rhs.ops; } static ResourceConstructingOps join(const ResourceConstructingOps &lhs, const ResourceConstructingOps &rhs); void print(raw_ostream &os) const; // The operation(s) which created the resource value. // IR constructs (i.e., GlobalTensorOp) are not const-correct. mutable DenseSet<Operation *> ops; }; struct IsComposite {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/common/tfl_pass_config.h
bool enable_stablehlo_quantizer = false; // Enables the attempt to directly lower composites into tflite ops. bool enable_composite_direct_lowering = true; }; inline llvm::raw_ostream& operator<<(llvm::raw_ostream& os, const PassConfig& pass_config) { return os << "emit_builtin_tflite_ops: " << pass_config.emit_builtin_tflite_ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.cc
// referenced here. ResourceConstructingOps ret; ret.ops.insert(lhs.ops.begin(), lhs.ops.end()); ret.ops.insert(rhs.ops.begin(), rhs.ops.end()); return ret; } void ResourceConstructingOps::print(raw_ostream &os) const { llvm::interleaveComma(ops, os << "["); os << "]"; } IsComposite::IsComposite(Operation *op) {} IsComposite IsComposite::EntryState(MLIRContext *context) { return IsComposite(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc
#include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/TypeSwitch.h" #include "llvm/Support/raw_ostream.h" #include "mlir/Dialect/Quant/QuantTypes.h" // from @llvm-project #include "mlir/IR/BuiltinTypeInterfaces.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/string_util.cc
==============================================================================*/ #include "tensorflow/compiler/mlir/tensorflow/utils/string_util.h" #include <ostream> #include <string> #include "llvm/Support/raw_ostream.h" #include "mlir/IR/Attributes.h" // from @llvm-project #include "mlir/IR/Operation.h" // from @llvm-project namespace tensorflow { // Return a string form of `op` including debug information.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 23:18:40 UTC 2023 - 1.8K bytes - Viewed (0)