- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 126 for func_20 (0.12 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
private: void runOnOperation() override; }; void ConvertXlaCallModuleOpToBfloat16Pass::runOnOperation() { Operation* func_op = getOperation(); SymbolTableCollection symbol_table; OpBuilder builder(&getContext()); auto result = func_op->walk([&](TF::XlaCallModuleOp op) { // Converts the serialized StableHLO module to bfloat16. auto result =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h
return alias_analysis_; } private: // Runs the analysis and populates `sorted_control_predecessors_` and // `sorted_control_successors_` for `func_op`. Clears `control_predecessors_`. void AnalyzeFunction(func::FuncOp func_op); // Runs the analysis and populates `control_predecessors_` for `region`. void AnalyzeRegion(Region* region);
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/tf2xla/transforms/verify_tfxla_legalization.cc
return false; } return true; } void VerifyTFXLALegalization::runOnOperation() { Operation* func_op = getOperation(); ConversionTarget default_conversion_target = GetDefaultLegalConversionTargets(getContext(), legalize_chlo_); bool has_invalid_ops = false; func_op->walk([&](Operation* op) { if (!IsMhloAndStatic(op)) { has_invalid_ops = true;
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/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
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) { return absl::InternalError("Input MLIR must have only 1 func"); } if (arguments.size() != func_op.getNumArguments()) { return absl::InternalError("Input argument has wrong size"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0) -
src/go/doc/example_test.go
type2 int Embed struct { Type1 } Uembed struct { type2 } ) func Func1() {} func Func1_Foo() {} func Func1_foo() {} func func2() {} func (Type1) Func1() {} func (Type1) Func1_Foo() {} func (Type1) Func1_foo() {} func (Type1) func2() {} func (type2) Func1() {} type ( Conflict int Conflict_Conflict int Conflict_conflict int )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
return failure(); } // Fetch all VarHandleOp. llvm::StringSet<> variable_names; llvm::SmallVector<TF::VarHandleOp, 4> var_ops; for (auto func_op : module.getOps<func::FuncOp>()) { for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) { auto variable_name = GetVariableName(var_handle_op); if (variable_names.count(variable_name)) continue; var_ops.emplace_back(var_handle_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.h
SmallVector<int64_t, 1> layer_norm_size_values_; }; LogicalResult ConvertKerasLSTMLayer(mlir::func::FuncOp func_op, OpBuilder* builder); LogicalResult ConvertKerasLSTMLayer(mlir::func::FuncOp func_op, OpBuilder* builder, bool indy); } // end namespace TFL } // end namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
assert(cost_map_.count(op) > 0); return cost_map_.lookup(op); } void CostAnalysis::AnalyzeArguments(mlir::func::FuncOp func_op) { // Use the max size among function inputs as the default size of dynamic // shaped tensors in the function. for (auto arg : func_op.getArguments()) { if (!mlir::isa<mlir::TensorType>(arg.getType())) continue; auto type = mlir::cast<mlir::TensorType>(arg.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
} return success(); } void LiftHashTableOpsAsArgsPass::runOnOperation() { auto module_op = getOperation(); for (auto func_op : module_op.getOps<func::FuncOp>()) { if (failed(LiftHashTableOpsToArguments(module_op, func_op))) { signalPassFailure(); return; } } } static PassRegistration<LiftHashTableOpsAsArgsPass> pass; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
} bool IsInSubgraph(const string& func_id) { return !func_id.empty(); } Status Encapsulator::CopySubgraphNodes( absl::flat_hash_map<const Node*, Node*>* node_images) { for (Node* node : graph_in_->op_nodes()) { string func_id; TF_RETURN_IF_ERROR(GetFunctionNameAttr(node, &func_id)); if (!IsInSubgraph(func_id)) continue; Subgraph& subgraph = subgraphs_[func_id];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0)