- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for FuncOp (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
// moved to the main function. Returns failure() iff validation fails. FailureOr<absl::flat_hash_map<std::string, func::FuncOp>> GetInitFuncOps( ModuleOp module_op) { absl::flat_hash_map<std::string, func::FuncOp> init_func_ops; for (func::FuncOp init_func_op : GetInitializerFunctions(module_op)) { if (failed(ValidateInitFunc(init_func_op))) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
}; // Returns true iff func_op has either no Region or the body has no Blocks. bool IsFuncOpEmpty(func::FuncOp func_op) { return func_op->getNumRegions() == 0 || func_op.getBody().empty(); } // Gets the GraphOp from the function op. Returns an empty op iff it doesn't // exist. GraphOp GetGraphOpFromFuncOp(func::FuncOp func_op) { if (IsFuncOpEmpty(func_op)) return {}; auto graph_op_range = func_op.front().without_terminator();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0)