Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for raw_ostream (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/odml_converter_main.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top