Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for lowerings (0.23 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Neg(64|32|16|8) ...) => (NEG ...)
    (Neg(64|32)F ...) => (FNEG ...)
    
    (Com(64|32|16|8) x) => (NOR x x)
    
    // Lowering boolean ops
    (AndB ...) => (AND ...)
    (OrB ...) => (OR ...)
    (Not x) => (XORconst [1] x)
    
    // Merge logical operations
    (AND x (NOR y y)) => (ANDN x y)
    (OR x (NOR y y)) => (ORN x y)
    
    // Lowering comparisons
    (EqB x y)  => (ANDconst [1] (EQV x y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

    //
    // Especially early in transformation, it is common to have dcasts on
    // all operands to ops that must operate with the expressed type (typically
    // math ops prior to lowering to target-specific, quantized kernels).
    def Quantization_DequantizeCastOp : Quantization_Op<"dcast", [Pure]> {
      let arguments = (ins quant_RealValueType:$arg);
      let results = (outs quant_RealValueType);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/nilcheck.go

    // faultOnLoad is true if a load to an address below minZeroPage will trigger a SIGSEGV.
    var faultOnLoad = buildcfg.GOOS != "aix"
    
    // nilcheckelim2 eliminates unnecessary nil checks.
    // Runs after lowering and scheduling.
    func nilcheckelim2(f *Func) {
    	unnecessary := f.newSparseMap(f.NumValues()) // map from pointer that will be dereferenced to index of dereferencing value in b.Values[]
    	defer f.retSparseMap(unnecessary)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top