- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 191 for getOpt (0.19 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
padding_nums.push_back(padding_elem.getInt()); } } else if (conv_padding.strref() == "VALID") { padding_nums.resize(padding_nums_size, 0); } else { padding_nums.resize(padding_nums_size); for (int i = 0; i < dnums.input_spatial_dimensions_size(); ++i) { const int64_t stride = mlir::cast<IntegerAttr>(op.getWindowStridesAttr()[i]).getInt(); const int64_t lhs_size_dilated =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
LogicalResult UnifyReplicationInfo(func::FuncOp func) { auto new_repl_info = builder.getStringAttr(func.getSymName().str() + "_repl_info"); for (auto& op : func.getRegion().getOps()) { if (auto compile_op = llvm::dyn_cast<TF::TPUCompilationResultOp>(op)) { UpdateReplicationAttr(compile_op, new_repl_info); } else { UpdateReplicationAttr(&op, new_repl_info); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
if (function_name.contains("conv")) { return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin())) .getDimensionNumbers() .getKernelOutputFeatureDimension(); } else if (function_name.contains("dot_general")) { auto dot = *(func.getOps<mlir::stablehlo::DotGeneralOp>().begin()); const ::mlir::stablehlo::DotDimensionNumbersAttr dimension_numbers =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipsePlugin.java
Set<String> containers = new LinkedHashSet<>(); containers.add("org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/" + model.getJdt().getJavaRuntimeName() + "/"); containers.addAll(model.getClasspath().getContainers()); model.getClasspath().setContainers(containers); } });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc
void FreezeAssetsPass::runOnOperation() { auto module = getOperation(); if (!tf_saved_model::HasTfSavedModelSemantics(module)) { return; } SymbolTable symbol_table(module); for (auto func : module.getOps<func::FuncOp>()) { llvm::BitVector args_to_erase(func.getNumArguments()); OpBuilder builder(func.getBody()); for (int i = 0, e = func.getNumArguments(); i < e; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 30 01:12:09 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc
init_func_op.emitError("expects exactly one block in the MLIR function"); return signalPassFailure(); } auto var_handle_ops = init_func_op.getBlocks().front().getOps<VarHandleOp>(); llvm::SmallVector<VarHandleOp, 4> init_vars(var_handle_ops.begin(), var_handle_ops.end()); RemoveVariables(init_vars); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
hasPackageStatement = source.getAST().getPackageName() != null; } } private static class EmptyScriptDetector extends CompilationUnit.SourceUnitOperation { private boolean emptyScript; private boolean hasMethods; @Override public void call(SourceUnit source) { if (!source.getAST().getMethods().isEmpty()) { hasMethods = true;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ModelBlockTransformer.java
*/ @Override public void call(SourceUnit source) throws CompilationFailedException { List<Statement> statements = source.getAST().getStatementBlock().getStatements(); for (Statement statement : statements) { ScriptBlock scriptBlock = AstUtils.detectScriptBlock(statement, SCRIPT_BLOCK_NAMES); if (scriptBlock == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
<< partition_dim << "."; } llvm::SmallVector<int64_t, 4> partition_dims(is_replicated ? 0 : rank, 1); if (!is_replicated) { partition_dims[partition_dim] = num_cores_per_replica.getInt(); } if constexpr (is_input) { auto pi = builder.create<TF::TPUPartitionedInputV2Op>( op.getLoc(), op.getType(), op.getOperands(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
} // namespace void LegalizeTFGToTFE::runOnOperation() { MLIRContext &context = getContext(); ModuleOp module = getOperation(); DenseSet<StringRef> func_symbols; for (auto &op : module.getBodyRegion().getOps()) { if (auto func = llvm::dyn_cast<tfg::GraphFuncOp>(op)) { func_symbols.insert( func->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName()) .getValue()); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0)