- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 91 for raw_ostream (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
mlir::ModuleOp module_op, llvm::raw_ostream& output) { output << "\""; std::string serialized_module = SerializeMlirModule(module_op); llvm::printEscapedString(serialized_module, output); output << "\""; return mlir::success(); } static mlir::LogicalResult MlirTfToHloTextTranslateFunction( mlir::ModuleOp module_op, llvm::raw_ostream& output) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K 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) -
tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc
using llvm::LessRecord; using llvm::raw_ostream; using llvm::Record; using llvm::RecordKeeper; using mlir::tblgen::Operator; // Helper macro that returns indented os. #define OUT(X) os.indent((X)) // The function below has a non-constant reference as that is required by LLVM's // TableGenMain. // NOLINTNEXTLINE static bool OpQuantSpecWriter(raw_ostream &os, RecordKeeper &records) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 11:18:44 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h
// TF_DUMP_GRAPH_PREFIX environment variable if `dirname` is empty and // suffixing `name` with ".mlir". Status CreateFileForDumping(llvm::StringRef name, std::unique_ptr<llvm::raw_ostream>* os, std::string* filepath, llvm::StringRef dirname = ""); // Dumps MLIR operation to a file and returns the file name used. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc
std::move(graph_copy), {}, &result); } static LogicalResult MlirToGraphTranslateFunction(ModuleOp module, llvm::raw_ostream& output) { if (!module) return failure(); tensorflow::GraphExportConfig confs; confs.export_entry_func_to_flib = export_entry_func_to_flib; confs.export_original_tf_func_name = export_original_tf_func_name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.cc
} void DataDumperLoggerConfig::DumpMlir( const std::string &filename, BridgeLoggerConfig::PrintCallbackFn print_callback) { std::unique_ptr<llvm::raw_ostream> os; std::string filepath; if (tensorflow::CreateFileForDumping(filename, &os, &filepath).ok()) { print_callback(*os); LOG(INFO) << "Dumped MLIR module to " << filepath; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 00:41:24 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.cc
mlir::StatusScopedDiagnosticHandler statusHandler(module_op.getContext(), /*propagate=*/true); absl::StatusOr<std::unique_ptr<llvm::raw_ostream>> dump_file; if (mlir_dump_file_name) { TF_RETURN_IF_ERROR(tensorflow::quantization::MaybeEnableIrPrinting( pass_manager, mlir_dump_file_name.value())); } if (failed(pass_manager.run(module_op))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 07 01:17:26 UTC 2024 - 1.8K bytes - Viewed (0)