Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for FuncOp (0.15 sec)

  1. tensorflow/compiler/mlir/lite/transforms/passes.h

    // is true, the TF::AssertOp will not be removed.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass(
        bool run_tfl_runtime_verification, bool preserve_assert_op = false);
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass();
    
    // Creates an instance of the TensorFlow Lite dialect Optimize pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizePass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    CreateDropWhileShapeInvariantInDeviceClusterPass();
    
    // Creates a pass that moves writes to replicate invariant resource variables
    // outside tf_device.replicate op.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateHoistReplicateInvariantResourceWritesPass();
    
    // Transforms functional control flow operations in the TensorFlow dialect to
    // MLIR Control Flow Graph (CFG) form.
    std::unique_ptr<OperationPass<func::FuncOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      pm.addNestedPass<FuncOp>(
          mlir::TFDevice::CreateVerifyNoOutsideCompilationMarkersPass());
    
      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateClusterConstantSinkingPass());
      pm.addPass(mlir::TF::CreateResourceDeviceInferencePass());
      pm.addNestedPass<FuncOp>(
          tensorflow::tf2xla::internal::CreateHoistBroadcastReadPass());
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc

        pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
        if (quantization_options.op_set() == OpSet::XLA) {
          pm.addNestedPass<mlir::func::FuncOp>(
              mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass());
        }
        pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass());
      }
      pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        pass_manager.addPass(mlir::TFL::CreatePrepareQuantizeVariablesPass());
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreateQuantizePass(quant_specs));
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreatePostQuantizePass(emit_quant_adaptor_ops));
      }
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateOptimizeOpOrderPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createLegalizeEinsumToDotGeneralPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createLegalizeDotToDotGeneralPass());
      // Unfuse mhlo BatchNorm to primitive ops.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createUnfuseBatchNormPass());
      // Fuse Conv + Mul to Conv.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createFuseConvolutionPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

      auto func_op = module_op->lookupSymbol<func::FuncOp>("unknown_rank_arg");
      ASSERT_THAT(func_op, NotNull());
      ASSERT_THAT(func_op.getNumArguments(), Eq(1));
    
      EXPECT_FALSE(HasRankOf(func_op.getArgument(0), /*rank=*/1));
    }
    
    TEST_F(AttrsAndConstraintsTest, TryCastSucceeds) {
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleStatic);
      ASSERT_TRUE(module_op);
    
      func::FuncOp main_fn = FindMainFuncOp(*module_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc

      // It's simply clone the FuncOp and hardware specific transformations.
      func::FuncOp GetAlternativeViewForSpec(
          func::FuncOp func,
          const InferenceDeviceType& current_device_inference_type,
          const InferenceDeviceType& target_device_inference_type, ModuleOp module,
          OpBuilder* builder);
    
      // Apply any device-specific optimizations.
      void Optimize(func::FuncOp func, const std::string& hardware);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/passes.td

      ];
    }
    
    def IdentifyDilatedConvPass : Pass<"tfl-identify-dilated-conv", "mlir::func::FuncOp"> {
      let summary = "Convert dense tensor to sparse format.";
      let constructor = "CreateIdentifyDilatedConvPass()";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
    }
    
    def GetArithmeticCountPass : Pass<"tfl-get-arithmetic-count", "mlir::func::FuncOp"> {
      let summary = "Calculate arithmetic count for tfl operations.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // input and output types by unwrapping quantization parameters.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass();
    
    // Overloading of CreateQuantizePass which takes QuantizationSpecs.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateQuantizePass(
        QuantizationSpecs quant_specs,
        tensorflow::quantization::OpSet target_opset);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top