Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,382 for defn (0.62 sec)

  1. src/go/types/api_test.go

    			}
    			ident := idents[test.name][0]
    			def := info.Defs[ident]
    			if def == test.obj {
    				t.Fatalf("info.Defs[%s] contains the test object", test.name)
    			}
    			if orig := originObject(test.obj); def != orig {
    				t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name)
    			}
    			if def.Pkg() != test.obj.Pkg() {
    				t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/rangefunc/rewrite.go

    	n := syntax.NewName(pos, name)
    	tv := syntax.TypeAndValue{Type: typ}
    	tv.SetIsValue()
    	n.SetTypeInfo(tv)
    	r.info.Defs[n] = obj
    	return obj, n
    }
    
    func (r *rewriter) generateParamName(results []*syntax.Field, i int) {
    	obj, n := r.sig.RenameResult(results, i)
    	r.info.Defs[n] = obj
    }
    
    // declVar declares a variable with a given name type and initializer value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. 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)
  8. docs/vi/docs/index.md

    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Hoặc sử dụng <code>async def</code>...</summary>
    
    Nếu code của bạn sử dụng `async` / `await`, hãy sử dụng `async def`:
    
    ```Python hl_lines="9  14"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/abi.go

    	"cmd/internal/obj/wasm"
    )
    
    // SymABIs records information provided by the assembler about symbol
    // definition ABIs and reference ABIs.
    type SymABIs struct {
    	defs map[string]obj.ABI
    	refs map[string]obj.ABISet
    }
    
    func NewSymABIs() *SymABIs {
    	return &SymABIs{
    		defs: make(map[string]obj.ABI),
    		refs: make(map[string]obj.ABISet),
    	}
    }
    
    // canonicalize returns the canonical name used for a linker symbol in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. 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)
Back to top