Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for getVisibility (0.13 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        auto then_branch_op =
            rewriter.create<func::FuncOp>(loc, "cond_true", func_type);
        CreateCondTrueBranch(op, shape_dtype, result_type, then_branch_op,
                             &rewriter);
        then_branch_op.setVisibility(func::FuncOp::Visibility::Private);
    
        // Constructs `else_branch`, which is executed when `if_cond` evaluates to
        // false.
        auto else_branch_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        auto visibility = function.getName() == graph_func_name
                              ? mlir::func::FuncOp::Visibility::Public
                              : mlir::func::FuncOp::Visibility::Private;
        function.setVisibility(visibility);
      }
      VLOG(2) << "Imported: "
              << tensorflow::DumpMlirOpToFile("tf_mlir_imported_base",
                                              module.get());
      return module;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top