- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setVisibility (0.34 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
StringRef func_name, IRRewriter::InsertPoint original_point, Type quantize_result_type) { rewriter.create<func::ReturnOp>(input.getLoc(), ArrayRef<Value>({output})); quantization_func.setVisibility(func::FuncOp::Visibility::Private); SymbolTable symbol_table(quantized_op->getParentOfType<ModuleOp>()); symbol_table.insert(quantization_func); FlatSymbolRefAttr func_name_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
return !func_op.isPrivate() && IsExported(func_op) && IsEntryFunction(func_op); } // Sets a function to be private so it can be referred internally. void SetFunctionPrivate(func::FuncOp func) { func.setVisibility(SymbolTable::Visibility::Private); // The `tf_saved_model` attributes can only be applied to public functions. for (auto& attr : func->getAttrs()) { StringRef attr_name = attr.getName().getValue();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
SmallVector<Location> arg_locs; for (Value arg : arguments) { arg_locs.push_back(arg.getLoc()); } auto wrap_func = builder.create<func::FuncOp>(location, func_name, func_type); wrap_func.setVisibility(SymbolTable::Visibility::Private); // The callee function for TF::XlaCallModuleOp must have this attribute. if (call_op_type == FunctionCallOpType::TFXlaCallModuleOp) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
auto stablehlo_func_op = builder.create<func::FuncOp>( module_op.getLoc(), CreateStablehloFunctionName(stablehlo_func_id), FunctionType::get(ctx, arg_types, result_types)); stablehlo_func_op.setVisibility(SymbolTable::Visibility::Private); stablehlo_func_op->setAttr(TF::kFromXlaCallModuleAttrName, builder.getUnitAttr());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
if (containerVisibility == Visibilities.Private) return Visibilities.Private return visibility } // Mimic JavaElementUtil#getVisibility private val PsiModifierListOwner.visibility: Visibility get() { if (parents.any { it is PsiMethod }) return Visibilities.Local if (hasModifierProperty(PsiModifier.PUBLIC)) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0)