Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 280 for MLIR (0.07 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/BUILD

            "//tensorflow/compiler/mlir/lite:tensorflow_lite",
            "//tensorflow/compiler/mlir/lite:tf_tfl_passes",
            "//tensorflow/compiler/mlir/lite/experimental/common:outline_operations",
            "//tensorflow/compiler/mlir/lite/experimental/tac/hardwares:target_hardware",
            "//tensorflow/compiler/mlir/tensorflow:cluster_util",
            "//tensorflow/compiler/mlir/tensorflow:error_util",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      size_t numRead;
      mlir::Attribute attr = mlir::parseAttribute(input, context, {}, &numRead);
      if (!attr || !mlir::isa<mlir::StringAttr>(attr)) {
        LOG(ERROR) << "Input is not parsable as a MLIR StringAttr.";
        return nullptr;
      }
      auto str_attr = mlir::cast<mlir::StringAttr>(attr);
    
      mlir::DialectRegistry registry;
      RegisterMlirInputDialects(registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    namespace {
    
    using mlir::Block;
    using mlir::DialectRegistry;
    using mlir::LogicalResult;
    using mlir::ModuleOp;
    using mlir::NamedAttribute;
    using mlir::NamedAttrList;
    using mlir::OpBuilder;
    using mlir::Operation;
    using mlir::OpResult;
    using mlir::Region;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/Matchers.h"  // from @llvm-project
    #include "mlir/IR/OpDefinition.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

    TEST(TPURewriteDeviceUtilTest, TestHasModelParallelismFalse) {
      mlir::MLIRContext context;
      context.loadDialect<mlir::tf_device::TensorFlowDeviceDialect>();
      mlir::OwningOpRef<mlir::ModuleOp> module_ref =
          mlir::ModuleOp::create(mlir::UnknownLoc::get(&context));
      mlir::OpBuilder builder(module_ref->getBodyRegion());
    
      llvm::SmallVector<mlir::Type, 8> result_types;
      auto cluster = builder.create<mlir::tf_device::ClusterOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

                                                mlir::Builder builder) {
      return mlir::vhlo::ArrayV1Attr::get(builder.getContext(), value);
    }
    
    static mlir::Attribute BuildVhloDictionaryV1Attr(
        std::vector<std::pair<mlir::Attribute, mlir::Attribute>> value,
        mlir::Builder builder) {
      return mlir::vhlo::DictionaryV1Attr::get(builder.getContext(), value);
    }
    
    static mlir::Attribute BuildVhloFloatV1Attr(float value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

    namespace quantization {
    namespace {
    
    using ::mlir::quant::stablehlo::ConvertMlirModuleToExportedModel;
    using ::mlir::quant::stablehlo::CreateMlirContextForQuantization;
    using ::mlir::quant::stablehlo::ExportOptions;
    using ::mlir::quant::stablehlo::FunctionAlias;
    using ::mlir::quant::stablehlo::FunctionName;
    using ::mlir::quant::stablehlo::GetFunctionAliases;
    using ::mlir::quant::stablehlo::kExportStepSuffix;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h"
    #include "tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    using mlir::OpPassManager;
    using mlir::func::FuncOp;
    
    // Adds replicated Bridge clustering pipeline passes to the given pass_manager.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (1)
  9. tensorflow/compiler/mlir/quantization/stablehlo/BUILD

            "//tensorflow/compiler/mlir/lite:tensorflow_lite",
            "//tensorflow/compiler/mlir/lite/quantization/ir:QuantOps",
            "//tensorflow/compiler/mlir/quantization/common:attrs_and_constraints",
            "//tensorflow/compiler/mlir/quantization/common:func",
            "//tensorflow/compiler/mlir/quantization/common:lift_as_function_call",
            "//tensorflow/compiler/mlir/quantization/common:uniform_quantized_types",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

      for (auto fn : module->getOps<mlir::func::FuncOp>()) {
        for (auto& bb : fn) {
          for (auto& inst : bb) {
            auto attr_id = mlir::StringAttr::get(context, "value");
            if (auto attr = inst.getAttrOfType<mlir::ElementsAttr>(attr_id)) {
              mlir::Attribute rand_val;
              mlir::Type element_type = attr.getShapedType().getElementType();
              if (mlir::isa<mlir::IntegerType>(element_type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top