Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 122 for lowering (0.33 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      }
      pass_manager.clear();
      pass_manager.addPass(mlir::odml::createLegalizeStablehloToVhloPass());
      if (failed(pass_manager.run(module))) {
        return status_handler.Combine(
            absl::InvalidArgumentError("VHLO lowering failed"));
      }
    
      // Write MLIR Stablehlo dialect into FlatBuffer
      OpOrArgLocNameMapper op_or_arg_name_mapper;
      tflite::FlatbufferExportOptions options;
      options.toco_flags = toco_flags;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      mlir::OpPassManager& func_pm = pm_.nest<mlir::func::FuncOp>();
    
      // Prepare the imported graph.
      func_pm.addPass(mlir::CreateExecutorDialectToFunctionalConversionPass());
    
      // Run TFR lowering, inlining and raising to tf.
      func_pm.addPass(mlir::TFR::CreateDecomposeTFOpsPass(tfr_module_));
      func_pm.addPass(mlir::TFR::CreateRaiseToTFOpsPass(
          tfr_module_, /*materialize_derived_attrs=*/true));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

        // CHECK: tf.Atan2
        // expected-remark@+1 {{lowering requires bounded tensor operands}}
        %0 = "tf.Atan2"(%arg0, %arg0) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
    
        func.return %0 : tensor<*xf32>
      }
    
      // CHECK-LABEL: dynamic_operand
      func.func @dynamic_operand(%arg0: tensor<?xf32>) -> tensor<?xf32> {
        // CHECK: tf.Atan2
        // expected-remark@+1 {{lowering requires bounded tensor operands}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Arg", aux: "SymOff", symEffect: "Read", zeroWidth: true}, // argument to the function.  aux=GCNode of arg, off = offset in that arg.
    
    	// Like Arg, these are generic ops that survive lowering. AuxInt is a register index, and the actual output register for each index is defined by the architecture.
    	// AuxInt = integer argument index (not a register number). ABI-specified spill loc obtained from function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

        pm.addPass(
            mlir::odml::createPrintOpStatsPass(GetAcceptedStableHLODialects()));
      }
    
      if (failed(pm.run(tf_module))) {
        return tensorflow::errors::Aborted("Lowering to StableHLO failed.");
      }
    
      return absl::OkStatus();
    }
    
    tensorflow::Status RunConverter(const PassPipelineCLParser& pass_pipeline) {
      DialectRegistry registry;
      registerAllDialects(registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

      let description = [{
        The TensorFlow Device dialect.
    
        This dialect contains operations to describe/launch computations on devices.
        These operations do not map 1-1 to TensorFlow ops and requires a lowering
        pass later to transform them into Compile/Run op pairs, like XlaCompile and
        XlaRun.
    }];
    
      let cppNamespace = "::mlir::tf_device";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/decompose.cc

            // Wrap these special attributes as a special TFR constant, so the SSA
            // value has a valid type to be used as TFR function argument. These
            // attributes are not expected to be manipulated by the lowering passes.
            if (mlir::isa<TypeAttr>(attribute) || mlir::isa<ArrayAttr>(attribute) ||
                mlir::isa<StringAttr>(attribute) ||
                mlir::isa<FlatSymbolRefAttr>(attribute)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

              GetEinsumDimensionNumbersUnary(op.getEquation(), lhs)) {
        return rewriteToReduceSumAndTranspose(op, dnums_or.value(), rewriter);
      }
    
      return rewriter.notifyMatchFailure(op, "unsupported einsum lowering");
    }
    
    #define GEN_PASS_DEF_TRANSFORMEINSUMPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // Transform Einsum to other TF Ops for the supported variants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Lowering arithmetic
    (Add(Ptr|64|32|16|8) ...) => (ADD ...)
    (Add(64|32)F ...) => (FADD(D|S) ...)
    
    (Sub(Ptr|64|32|16|8) ...) => (SUB ...)
    (Sub(64|32)F ...) => (FSUB(D|S) ...)
    
    (Mul64 ...) => (MUL  ...)
    (Mul64uhilo ...) => (LoweredMuluhilo ...)
    (Mul64uover ...) => (LoweredMuluover ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

    // -----
    
    // CHECK-LABEL: func @random_uniform_simple
    func.func @random_uniform_simple(%arg0: tensor<3xi32>) -> tensor<12x?x64xf32> {
      // expected-remark@+1 {{lowering requires operand #0 to be a constant}}
      %0 = "tf.RandomUniform"(%arg0) {device = "", seed = 0 : i64, seed2 = 0 : i64} : (tensor<3xi32>) -> tensor<12x?x64xf32>
      func.return %0 : tensor<12x?x64xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top