- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 48 for raw_ostream (0.16 sec)
-
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/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/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/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) -
tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc
#include "llvm/ADT/StringRef.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/raw_ostream.h" #include "tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h" #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h" #include "tensorflow/lite/c/c_api_types.h" using llvm::cl::opt;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type_test.cc
==============================================================================*/ #include "tensorflow/compiler/mlir/tensorflow/utils/convert_type.h" #include <string> #include <vector> #include "llvm/Support/raw_ostream.h" #include "mlir/IR/Builders.h" // from @llvm-project #include "mlir/IR/BuiltinTypes.h" // from @llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project #include "xla/test.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc
#include <utility> #include <vector> #include "absl/strings/string_view.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/SMLoc.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Support/raw_ostream.h" #include "mlir/IR/Builders.h" // from @llvm-project #include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "mlir/IR/Location.h" // from @llvm-project #include "mlir/IR/MLIRContext.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/serialize_mlir_module_utils.cc
==============================================================================*/ #include "tensorflow/compiler/mlir/tensorflow/utils/serialize_mlir_module_utils.h" #include <string> #include <utility> #include "llvm/Support/raw_ostream.h" #include "mlir/IR/OperationSupport.h" // from @llvm-project #include "mlir/Parser/Parser.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h" #include "xla/status_macros.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc
#include <memory> #include <utility> #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/Casting.h" #include "llvm/Support/raw_ostream.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/Attributes.h" // from @llvm-project #include "mlir/IR/Builders.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 18:43:51 UTC 2022 - 2.8K bytes - Viewed (0)