- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 176 for GetIps (0.1 sec)
-
internal/http/dial_linux.go
return nil } } // DialContext is a function to make custom Dial for internode communications type DialContext func(ctx context.Context, network, address string) (net.Conn, error) // NewInternodeDialContext setups a custom dialer for internode communication func NewInternodeDialContext(dialTimeout time.Duration, opts TCPOptions) DialContext { return func(ctx context.Context, network, addr string) (net.Conn, error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 4.8K bytes - Viewed (3) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc
FrozenRewritePatternSet frozen_patterns(std::move(patterns)); // Propagation can happen recursively with multiple functions so keep this // module level. for (auto func : module_op.getOps<func::FuncOp>()) { if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) { func.emitError() << "quant-propagate-quantize-type failed."; signalPassFailure(); } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
auto func_arg_types = llvm::to_vector<4>(func_type.getInputs()); llvm::SmallDenseMap<llvm::StringRef, int> var_arg_index_by_name; for (auto var_handle_op : llvm::make_early_inc_range(block.getOps<TF::VarHandleOp>())) { if (add_validation && failed(ValidateVarHandle(var_handle_op))) return failure(); // In the case of variables that are not initialized at graph creation
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K 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/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/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) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc
const SymbolTable symbol_table(module_op); auto entry_func_op = dyn_cast_or_null<func::FuncOp>(symbol_table.lookup(function_name)); auto dot_general_op = *entry_func_op.getOps<DotGeneralOp>().begin(); if (auto optional_dim = GetDotGeneralQuantizationDim(dot_general_op); optional_dim) { spec->coeff_op_quant_dim[1] = optional_dim.value(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc
} } } void ClusterFormationPass::runOnOperation() { auto module = getOperation(); auto& side_effect_analysis = getAnalysis<TF::SideEffectAnalysis>(); for (auto func : module.getOps<func::FuncOp>()) { if (func.isExternal()) continue; OpBuilder builder(func.getContext()); const TF::SideEffectAnalysis::Info& info = side_effect_analysis.GetAnalysisForFunc(func);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 13:30:21 UTC 2023 - 6.8K bytes - Viewed (0)