Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for funcType (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      mlir::OpBuilder builder(module.getBodyRegion());
      auto func_type =
          FunctionType::get(module.getContext(), /*inputs=*/{}, /*results=*/{});
      auto func = builder.create<func::FuncOp>(module->getLoc(),
                                               kSessionInitFuncName, func_type);
      func->setAttr(kTfSavedModelExportedNamesAttr,
                    builder.getStrArrayAttr({kSessionInitFuncName}));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

      llvm::StringMap<int> shared_name_to_arg_idx;
      llvm::SmallVector<std::pair<Operation*, int>> lifted_op_and_arg_idx;
      Block& block = target_func.front();
      auto func_type = target_func.getFunctionType();
    
      for (Operation& op : block.without_terminator()) {
        StringRef shared_name = GetSharedName(&op);
        if (shared_name.empty() || !IsHashTableOp(&op)) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      mlir::ModuleOp module = mlir::ModuleOp::create(loc);
      mlir::FunctionType func_type =
          mlir::FunctionType::get(context, input_tys, output_tys);
      llvm::StringRef func_name_str(func_name.data(), func_name.size());
      auto func = mlir::func::FuncOp::create(loc, func_name_str, func_type, {});
      module.push_back(func);
      func.addEntryBlock();
      mlir::OpBuilder op_builder(func.getBody());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top