Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for lowerings (0.19 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

        // operations from static to dynamic shapes. This could be generated if the
        // shape inference was originally missing in a TF op but the corresponding
        // HLO op had static shape after lowering. This has to run after
        // canonicalization.
        pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      }
    }
    
    }  //  namespace
    
    // Creates the MLIR Pipeline.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

    constexpr absl::string_view kExportStepSuffix = "_export";
    
    // Options when running passes for exporting an MLIR ModuleOp.
    struct ExportOptions {
      // If set to `true`, it runs `DuplicateShapeDeterminingConstantsPass` before
      // lowering to tf_executor dialect.
      bool duplicate_shape_determining_constants = true;
    
      // If set to `true`, unfreezes constants into variables and saves them to a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                        // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
                        // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering.
                        val psiSourceFile =
                            descriptor.toSourceElement.containingFile as? PsiSourceFile ?: return super.getContainerSource(descriptor)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/nowb.go

    	}
    	*fn.NWBRCalls = append(*fn.NWBRCalls, ir.SymAndPos{Sym: to, Pos: pos})
    }
    
    func (c *nowritebarrierrecChecker) check() {
    	// We walk the call graph as late as possible so we can
    	// capture all calls created by lowering, but this means we
    	// only get to see the obj.LSyms of calls. symToFunc lets us
    	// get back to the ODCLFUNCs.
    	symToFunc := make(map[*obj.LSym]*ir.Func)
    	// funcs records the back-edges of the BFS call graph walk. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

    def TF_IfrtCallOp : TF_Op<"IfrtCall", []> {
      let summary = "Invokes a program via IFRT on a device";
    
      let description = [{
        This op calls an IFRT program uniquely identified by the given program id.
    
        During lowering from a `tf_device.cluster_func` op to a `tf.IfrtCall` op,
        the region owned by the former will be outlined to a function with a
        `tfrt_ifrt_serving.program_id` attribute. After that, the runtime ensures
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/lite/quantization/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 quantfork_DequantizeCastOp : quantfork_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: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
Back to top