Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 276 for practice (0.19 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

        // Make sure that the function has exactly one block to simplify inlining.
        // TFLite doesn't use control flow with blocks so functions with more than
        // one blocks are not encountered in practice.
        if (!llvm::hasSingleElement(func)) return failure();
    
        IRMapping mapper;
        for (int i = 0, e = func.getNumArguments(); i != e; ++i)
          mapper.map(func.getArgument(i), op.getOperand(i + 1));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

        std::unique_ptr<FunctionBody> func_body;
        absl::Status status = FunctionDefToBodyHelper(
            *func_def, AttrSlice(&func_def->attr()), function_library, &func_body);
        // This is not expected to happen in practice
        if (!status.ok()) {
          LOG(ERROR) << "Failed to parse " << func_name << ": "
                     << absl::StatusMessageAsCStr(status);
          return failure();
        }
        if (predicate(*func_body->graph)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc

    [[sec:declaring_without_version]]
    == Declaring a dependency without version
    
    A recommended practice for larger projects is to declare dependencies without versions and use <<dependency_constraints.adoc#sec:adding-constraints-transitive-deps,dependency constraints>> for version declaration.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:46:26 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/nosql-databases-couchbase.md

    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Define a constant to use as a "document type"
    
    We will use it later as a fixed field `type` in our documents.
    
    This is not required by Couchbase, but is a good practice that will help you afterwards.
    
    ```Python hl_lines="9"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    ## Add a function to get a `Bucket`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/unicode/letter_test.go

    // relative to the ranges (something before all, in each, between each, after all).
    // This assumes that all possible runes are equally likely.
    // In practice most runes are ASCII so this is a conservative estimate
    // of an effective cutoff value. In practice we could probably set it higher
    // than what this function recommends.
    
    var calibrate = flag.Bool("calibrate", false, "compute crossover for linear vs. binary search")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  6. test/nilptr3.go

    	}
    	_ = x[9999] // ERROR "generated nil check"
    
    	fx10k()
    	// This one is a bit redundant, if we figured out that
    	// x wasn't going to change across the function call.
    	// But it's a little complex to do and in practice doesn't
    	// matter enough.
    	_ = x[9999] // ERROR "removed nil check"
    }
    
    func f3a() {
    	x := fx10k()
    	y := fx10k()
    	z := fx10k()
    	_ = &x[9] // ERROR "generated nil check"
    	y = z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionList.java

        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
        // drop the contract on the method that enforces this queue like behavior since depending on it
        // is likely to be a bug anyway.
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/internal/gover/gover.go

    // A Version is a parsed Go version: major[.Minor[.Patch]][kind[pre]]
    // The numbers are the original decimal strings to avoid integer overflows
    // and since there is very little actual math. (Probably overflow doesn't matter in practice,
    // but at the time this code was written, there was an existing test that used
    // go1.99999999999, which does not fit in an int on 32-bit platforms.
    // The "big decimal" representation avoids the problem entirely.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-discovery/app/cmd.go

    				return fmt.Errorf("failed to start discovery service: %v", err)
    			}
    
    			cmd.WaitSignal(stop)
    			// Wait until we shut down. In theory this could block forever; in practice we will get
    			// forcibly shut down after 30s in Kubernetes.
    			discoveryServer.WaitUntilCompletion()
    			return nil
    		},
    	}
    }
    
    func addFlags(c *cobra.Command) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/plugin/noderesources.go

    func (c *nodeResourcesController) run(ctx context.Context) {
    	logger := klog.FromContext(ctx)
    
    	// When kubelet starts, we have two choices:
    	// - Sync immediately, which in practice will delete all ResourceSlices
    	//   because no plugin has registered yet. We could do a DeleteCollection
    	//   to speed this up.
    	// - Wait a bit, then sync. If all plugins have re-registered in the meantime,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top