Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for lowerings (0.64 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.td

    limitations under the License.
    ==============================================================================*/
    
    // Declare bridge passes that perform legalization and/or lowering.
    
    include "mlir/Pass/PassBase.td"
    
    def ConvertTFQuantOpsToMHLO : Pass<"quant-convert-tf-quant-ops-to-mhlo", "mlir::func::FuncOp"> {
      let summary = "Convert TF Quant ops to MHLO quantizated ops.";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

      target.addLegalDialect<arith::ArithDialect>();
    
      if (failed(applyPartialConversion(getOperation(), target,
                                        std::move(patterns)))) {
        getOperation().emitError("Composite lowering pass failed.");
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. test/codegen/copy.go

    	// s390x:-".*memmove"
    	// amd64:-".*memmove"
    	// ppc64x:-".*memmove"
    	// ppc64x/power8:"LXVD2X"
    	// ppc64x/power9:"LXV",-"LXVD2X"
    	copy(a[:], a[128:])
    }
    
    // Check arch-specific memmove lowering. See issue 41662 fot details
    
    func moveArchLowering1(b []byte, x *[1]byte) {
    	_ = b[1]
    	// amd64:-".*memmove"
    	// arm64:-".*memmove"
    	// ppc64x:-".*memmove"
    	copy(b, x[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 14:09:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue18146.go

    		nproc = 7
    	}
    	if setNproc {
    		var rlim syscall.Rlimit
    		if syscall.Getrlimit(nproc, &rlim) == nil {
    			max := int(rlim.Cur) / (threads + 5)
    			if attempts > max {
    				t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max)
    				attempts = max
    			}
    		}
    	}
    
    	if os.Getenv("test18146") == "exec" {
    		runtime.GOMAXPROCS(1)
    		for n := threads; n > 0; n-- {
    			go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Pattern definition file for direct lowering of mhlo composites to tflite ops.
    include "mlir/IR/OpBase.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mhlo/IR/hlo_ops.td"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/attributes.mlir

    // RUN: tf-tfrt-opt -tf-to-tfrt %s | FileCheck %s --dump-input=fail
    
    // _output_shapes and f.* attributes are removed during tf-to-tfrt lowering.
    // CHECK-LABEL: func @remove_unused_attr
    func.func @remove_unused_attr() {
      // CHECK: %out_op_chain = tfrt_fallback_async.executeop.seq(%arg0) key(0) cost({{.*}}) device("/device:CPU:0") "tf.SomeOp2"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let summary = "Replaces a splat constant tensor with a BroadcastInDim op.";
      let constructor = "mlir::odml::CreateUnfoldSplatConstantPass()";
    }
    
    def CompositeLoweringPass : Pass<"composite-lowering", "ModuleOp"> {
      let summary = "Lowers mhlo composites directly to tflite ops (when possible).";
      let dependentDialects = ["mlir::mhlo::MhloDialect", "TFL::TensorFlowLiteDialect"];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeTFToQuant)
    
      explicit LegalizeTFToQuant() = default;
      LegalizeTFToQuant(const LegalizeTFToQuant &) {}
    
      /// Performs the lowering to Quant ops dialect.
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<quant::QuantizationDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top