Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 251 for funcPC (0.29 sec)

  1. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

      auto op = builder.create<CustomOp>(
          func.getLoc(), func.getFunctionType().getResults(), func.getArguments(),
          api, CustomOption(&builder, custom_option_buffer));
      builder.create<func::ReturnOp>(func.getLoc(), op.getResults());
      return success();
    }
    
    LogicalResult VerifySgnnProjection(func::FuncOp func, FuncAttr attr) {
      if (func.getFunctionType().getNumInputs() != 2 ||
          func.getFunctionType().getNumResults() != 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/first-steps.md

    ### Passo 4: defina uma **função de rota**
    
    Esta é a nossa "**função de rota**":
    
    * **rota**: é `/`.
    * **operação**: é `get`.
    * **função**: é a função abaixo do "decorador" (abaixo do `@app.get("/")`).
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Esta é uma função Python.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      func->setAttr(kTfSavedModelExportedNamesAttr,
                    builder.getStrArrayAttr({kSessionInitFuncName}));
      func->setAttr(kTfSavedModelInitializerTypeAttr,
                    builder.getStringAttr(kTfSavedModelInitializerRestoreType));
      func.setVisibility(mlir::func::FuncOp::Visibility::Public);
      auto func_builder = OpBuilder::atBlockBegin(func.addEntryBlock());
      func_builder.create<mlir::func::ReturnOp>(func.getLoc());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h

    // qint types to int types and surround TF UniformQuantized ops with qint <->
    // int casts.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass();
    
    // Creates an instance of the VerifyQuantLegalization pass, which verifies all
    // quant ops and types are lowered.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateVerifyQuantLegalizationPass();
    
    // Add all passes for lowering TF quant ops and types to MHLO int.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

    bool IsMainOrInitializerFunction(ModuleOp module, func::FuncOp func) {
      if (func.getSymName() ==
              llvm::StringRef(tensorflow::kImportModelDefaultGraphFuncName) ||
          func.getSymName() == kTfQuantSaveFuncName) {
        return true;
      }
    
      for (func::FuncOp init_func :
           tf_saved_model::GetInitializerFunctions(module)) {
        if (func.getSymName() == init_func.getSymName()) {
          return true;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util_test.cc

      ASSERT_TRUE(result);
      EXPECT_EQ(noinline_pcall_ops.size(), 2);
      auto func =
          llvm::dyn_cast<mlir::func::FuncOp>(noinline_pcall_ops[0]->getParentOp());
      ASSERT_TRUE(func);
      EXPECT_EQ(func.getSymName(), "while_body_func");
      func =
          llvm::dyn_cast<mlir::func::FuncOp>(noinline_pcall_ops[1]->getParentOp());
      ASSERT_TRUE(func);
      EXPECT_EQ(func.getSymName(), "outer_stateful_pcall_func");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

        // restriction, it would require tensor cast ops.
        func::FuncOp parent_op = op->getParentOfType<func::FuncOp>();
        if (!llvm::hasSingleElement(parent_op)) return failure();
    
        // Find the then and else branch functions.
        func::FuncOp then_func = op.then_function();
        func::FuncOp else_func = op.else_function();
    
        // If the If has no uses and its functions are side-effect free, then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/passes.h

    // Create an instance of the TargetAnnotationPass.
    // TODO(b/177376459): Remove in favor of the one below.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTargetAnnotationPass(
        llvm::ArrayRef<std::string> device_specs);
    
    // Create and instance of TargetAnnotationPass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTargetAnnotationPass(
        const TacModule* module);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/emit.go

    			if ipk == 0 {
    				fmt.Fprintf(os.Stderr, "\n")
    				reportErrorInHardcodedList(int32(i), ipk, funcId, nCtrs)
    			} else if ipk < 0 {
    				if newId, ok := s.pkgmap[int(ipk)]; ok {
    					pkgId = uint32(newId)
    				} else {
    					fmt.Fprintf(os.Stderr, "\n")
    					reportErrorInHardcodedList(int32(i), ipk, funcId, nCtrs)
    				}
    			} else {
    				// The package ID value stored in the counter array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. src/internal/abi/symtab.go

    	FuncFlagAsm
    )
    
    // A FuncID identifies particular functions that need to be treated
    // specially by the runtime.
    // Note that in some situations involving plugins, there may be multiple
    // copies of a particular special runtime function.
    type FuncID uint8
    
    const (
    	// If you add a FuncID, you probably also want to add an entry to the map in
    	// ../../cmd/internal/objabi/funcid.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top