- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 110 for modulemap (0.12 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc
mlir::ModuleOp module_op, mlir::MLIRContext* context, std::optional<Session*> session, const bool run_tf_to_stablehlo, const bool deserialize_xla_call_module, llvm::ArrayRef<llvm::ArrayRef<int64_t>> input_arg_shapes) { mlir::PassManager pm_before_freezing_variables(context); mlir::StatusScopedDiagnosticHandler statusHandler(module_op.getContext(),
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/tensorflow/passes/quantize_weights.cc
// parallel. for (auto func : module_op.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-quantize-weights failed."; signalPassFailure(); } } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateQuantizeWeightsPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
CHECK(device_); } absl::StatusOr<OwningOpRef<ModuleOp>> ReplaceFuncArgsByConstant( absl::string_view program, absl::Span<const xla::Literal* const> arguments, bool use_mhlo_const = false) { auto module_op = parseSourceString<ModuleOp>(program, ctx_.get()); CHECK(module_op); auto func_op = llvm::dyn_cast<func::FuncOp>( *module_op->getBodyRegion().getOps().begin()); if (!func_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
// rhs. static int64_t GetDefaultQuantizationDimension(TF::XlaCallModuleOp op) { const StringRef function_name = GetEntryFunctionName(op); const auto module_op = op->getParentOfType<ModuleOp>(); const SymbolTable symbol_table(module_op); func::FuncOp func = symbol_table.lookup<func::FuncOp>(function_name); if (function_name.contains("conv")) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
return success(); } // Validates ModuleOp. Returns `failure` if the module op is invalid. LogicalResult ValidateModule(ModuleOp module_op) { for (auto func_op : module_op.getOps<func::FuncOp>()) { if (failed(ValidateFuncOp(func_op))) { return failure(); } } return success(); } } // namespace LogicalResult FreezeVariables(ModuleOp module, tensorflow::Session* session) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
const EntryFuncBodyQuantizationPattern& body_rewrite_pattern, const Method& quantization_method) { const ModuleOp module_op = xla_call_module_op->getParentOfType<ModuleOp>(); func::FuncOp entry_func_op = GetEntryFuncOp(xla_call_module_op, SymbolTable(module_op)); QuantizeEntryFuncOp(ctx, rewriter, xla_call_module_op, entry_func_op, body_rewrite_pattern, quantization_method);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h
public: // Constructs analysis by analyzing the given module operation. Because no // parallel_ids are given, the program has sequential memory semantics. explicit SideEffectAnalysis(ModuleOp module_op); // Constructs analysis by analyzing the given module operation where // `op_to_parallel_ids` supplies the group to branch map. This is the map
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
// their region based counterparts. std::unique_ptr<OperationPass<ModuleOp>> CreateTFFunctionalControlFlowToRegions(); std::unique_ptr<OperationPass<ModuleOp>> CreateTFFunctionalControlFlowToRegions( bool allow_passthrough_args); // Transforms region bases control flow operations in the TensorFlow dialect to // their functional counterparts. std::unique_ptr<OperationPass<ModuleOp>> CreateTFRegionControlFlowToFunctional();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 12:57:53 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
void MoveFunctions(SymbolTableCollection &symbol_tables, ModuleOp from, ModuleOp to) { SymbolTable &to_symbol_table = symbol_tables.getSymbolTable(to); for (auto func : llvm::make_early_inc_range(from.getOps<func::FuncOp>())) { func->remove(); func.setPrivate(); to_symbol_table.insert(func); } } void CopyStablehloModuleAttrs(ModuleOp stablehlo_module, XlaCallModuleOp op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0)