- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 191 for getOpt (4.29 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc
return false; } } return true; } void FoldConstantsToSubgraphPass::runOnOperation() { auto module = getOperation(); for (auto fn : module.getOps<func::FuncOp>()) { fn.walk([&](Operation* op) { if (!llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(op)) return; // We only fold int32/int64 for Const and i32 for QConst if not specify
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java
} /** * Returns the underlying Git object from JGit. * * Please consider adding more convenience methods to this fixture over using "raw" Git APIs. */ public Git getGit() { return git; } @Override public String getName() { return repoName; } /** * Factory method for creating a GitRepository without using a JUnit @Rule. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} for (auto i = 0; i < window_strides.size(); ++i) { window_strides_vec.push_back( window_strides.getValues<IntegerAttr>()[i].getInt()); } for (auto i = 0; i < base_dilations.size(); ++i) { base_dilations_vec.push_back( base_dilations.getValues<IntegerAttr>()[i].getInt()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
hack/apidiff.sh
EOF exit 1 } set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" base= target= while getopts "r:t:" o; do case "${o}" in r) base="${OPTARG}" if [ ! "$base" ]; then echo "ERROR: -${o} needs a non-empty parameter" >&2 echo >&2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:00:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/prepare_quantize.cc
MLIRContext* ctx = module_op.getContext(); auto func_op_quant_spec = GetStableHloOpQuantSpec; auto func_op_quant_scale_spec = GetStableHloQuantConstraints; for (auto func_op : module_op.getOps<func::FuncOp>()) { // The function might contain more stats ops than required, and it will // introduce requantize if the calibration stats have conflicts. This tries // to remove all the redundant stats ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 05:11:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/nms_utils.cc
if (!int_attr) { return func.emitError() << attribute.c_str() << " attribute is not set or not an integer"; } builder->Int(attribute.c_str(), int_attr.getInt()); return success(); } LogicalResult ConvertSSDPostProcessFunc::AddFloatAttr( func::FuncOp func, DictionaryAttr attrs, const std::string& attribute, flexbuffers::Builder* builder) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc
} } // namespace ResourceAnalyzer::ResourceAnalyzer(ModuleOp module, bool skip_session_init) { auto session_init_func = GetSessionInitializerFunc(module); for (auto func : module.getOps<func::FuncOp>()) { if (skip_session_init && func == session_init_func) continue; (void)AnalyzeRegion(func.getRegion()); } } void ResourceAnalyzer::SetPotentiallyWritten(Value resource) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc
signalPassFailure(); return; } TF::SideEffectAnalysis side_effect_analysis(module_op, op_to_parallel_ids_map); for (auto func : module_op.getOps<func::FuncOp>()) { if (func.isExternal()) continue; const auto& analysis_for_func = side_effect_analysis.GetAnalysisForFunc(func); if (failed(UpdateAllControlDependencies(func, analysis_for_func))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 07:53:51 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc
if (tac_filter.has_function_filter()) { llvm::Regex func_regex( tac_filter.function_filter().function_name_pattern()); for (auto func : module.getOps<func::FuncOp>()) { if (!func_regex.match(func.getName())) { continue; } ApplyFunctionTacFilter(func, tac_filter.function_filter().filter_type(), builder);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc
min_num_elements_for_weights_); FrozenRewritePatternSet frozen_patterns(std::move(patterns)); for (auto func : module.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-lift-quantizable-spots-as-functions-drq failed."; signalPassFailure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0)