Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for raw_ostream (0.24 sec)

  1. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          {"TFL_Quint8", "TFLite quint8 type"},
      });
    
      return *entries;
    }
    
    void EmitDynamicRangeOp(std::vector<Record *> &defs, raw_ostream *ostream) {
      std::string dynamic_quant_kernel_support_regex =
          "bool GetDynamicRangeQuantKernelSupport() { return true; }";
      raw_ostream &os = *ostream;
      std::vector<std::string> weight_only;
      llvm::sort(defs, LessRecord());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      CrashReproducerStream(llvm::StringRef name,
                            std::unique_ptr<llvm::raw_ostream> file)
          : name(name), ostream(std::move(file)) {}
    
      llvm::StringRef description() override { return name; }
      raw_ostream& os() override { return *ostream; }
    
     private:
      std::string name;
      std::unique_ptr<llvm::raw_ostream> ostream;
    };
    
    // MLIR crash reproducer which reports failures to the crash analysis system.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/converter_gen.cc

        return 2;
      }
      return 0;
    }
    
    static void EmitOptionBuilders(const RecordKeeper &record_keeper,
                                   const std::vector<Record *> &defs,
                                   raw_ostream *ostream) {
      raw_ostream &os = *ostream;
    
      const auto attr_type = record_keeper.getClass("Attr");
      for (const auto *def : defs) {
        const int has_options = HasOptions(*def);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/debug/debug.cc

    };
    
    // Reproducer stream that emits a reproducer to the given `llvm::raw_ostream`.
    class ReproducerStream : public mlir::ReproducerStream {
     public:
      ReproducerStream(std::string name, std::unique_ptr<llvm::raw_ostream> os)
          : name_(std::move(name)), os_(std::move(os)) {}
    
      llvm::StringRef description() override { return name_; }
    
      llvm::raw_ostream& os() override { return *os_; }
    
     private:
      std::string name_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // type, e.g. `shape` constraint can be resolved if the value is a tensor of
    // statically known shape.
    LogicalResult IsStaticallyResolved(Value value, ValueConstraint constraint);
    
    raw_ostream& operator<<(raw_ostream& os, const ValueConstraint& constraint);
    
    // -------------------------------------------------------------------------- //
    // ValuesConstraintSet.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          return success();
        if (constraint == ValueConstraint::kShape && tensor.hasStaticShape())
          return success();
      }
    
      return failure();
    }
    
    raw_ostream &operator<<(raw_ostream &os, const ValueConstraint &constraint) {
      auto str = [](ValueConstraint constraint) -> StringRef {
        switch (constraint) {
          case ValueConstraint::kRank:
            return "rank";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.cc

    #include <algorithm>
    #include <cctype>
    #include <functional>
    #include <memory>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

    // This transformation pass transforms functional control flow operations in the
    // TensorFlow dialect to their region based counterparts, i.e.,
    // tf.If -> tf.IfRegion and tf.While -> tf.WhileRegion
    
    #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: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.h"
    
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top