Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,101 for defn (0.32 sec)

  1. tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc

      OUT(2) << "}\n";
    
      OUT(2) << "auto spec = std::make_unique<quant::OpQuantSpec>();\n";
      llvm::SmallVector<llvm::StringRef, 3> matches;
      for (auto *def : defs) {
        Operator op(def);
        for (const auto t : op.getTraits()) {
          if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeTrait>(&t)) {
            auto trait_str = opTrait->getFullyQualifiedTraitName();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 11:18:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc

      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
          const FunctionBody* fbody = nullptr;
          std::vector<int> constant_arg_indices;
          std::vector<int> resource_arg_indices;
    
          NameAttrList function;
          TF_RETURN_IF_ERROR(NameAndAttrsFromFunctionCall(node->def(), &function));
    
          // Force all constants to be on the host memory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    === "Python 3.8+"
    
        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
            return {"fresh_value": fresh_value}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:09:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy

    )
    
    load("@rules_jvm_external//:defs.bzl", "maven_install")
    
    maven_install(
        artifacts = [
    
        ],
        repositories = [
            "https://repo.maven.apache.org/maven2/"
        ],
    )
    """
        }
    
        String generateBuildFile(Integer subProjectNumber, DependencyTree dependencyTree) {
            def isRoot = subProjectNumber == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/background-tasks.md

    Es kann sich um eine `async def`- oder normale `def`-Funktion handeln. **FastAPI** weiß, wie damit zu verfahren ist.
    
    In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend).
    
    Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`:
    
    ```Python hl_lines="6-9"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 12 14:15:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go

    			defs := GetOpenAPIDefinitionsWithoutDisabledFeatures(getOpenAPIDefs)(func(path string) spec.Ref {
    				return spec.Ref{}
    			})
    			def := defs["k8s.io/api/apps/v1.DeploymentCondition"]
    			enumAppeared := false
    			for _, prop := range def.Schema.Properties {
    				if strings.Contains(prop.Description, "enum") {
    					enumAppeared = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    }
    
    func canonicalMethod(pass *analysis.Pass, id *ast.Ident) {
    	// Expected input/output.
    	expect, ok := canonicalMethods[id.Name]
    	if !ok {
    		return
    	}
    
    	// Actual input/output
    	sign := pass.TypesInfo.Defs[id].Type().(*types.Signature)
    	args := sign.Params()
    	results := sign.Results()
    
    	// Special case: WriteTo with more than one argument,
    	// not trying at all to implement io.WriterTo,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/common/controller.cc

          if (env_->FileExists(file_path).ok()) {
            TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path;
          } else {
            // API defs are currently used for only optional pieces.
          }
        }
      }
    
      // Doc strings (summary, description) typically come from the API def.
      api_def_map_->UpdateDocs();
    }
    
    void Controller::BuildModel() {
      // Build the internal data model for the requested ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

      bool found = false;
      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
          EXPECT_FALSE(found);
          found = true;
          std::vector<int32> hostmem_attr;
          EXPECT_TRUE(TryGetNodeAttr(node->def(), "_input_hostmem", &hostmem_attr));
          EXPECT_EQ(hostmem_attr.size(), 1);
          EXPECT_EQ(hostmem_attr[0], 1);
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/openapi-callbacks.md

    * das Geld einsammeln.
    * eine Benachrichtigung an den API-Benutzer (den externen Entwickler) zurücksenden.
        * Dies erfolgt durch Senden eines POST-Requests (von *Ihrer API*) an eine *externe API*, die von diesem externen Entwickler bereitgestellt wird (das ist der „Callback“).
    
    ## Die normale **FastAPI**-Anwendung
    
    Sehen wir uns zunächst an, wie die normale API-Anwendung aussehen würde, bevor wir den Callback hinzufügen.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:23 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top