Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 150 for conservative (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

        const llvm::SmallDenseSet<int64_t>& resource_ids,
        bool previous_unknown_resource_access) {
      // If we had any unknown resource access before, then we conservatively assume
      // that `resource` has been accessed before.
      // If `resource` is an unknown resource, then we conservatively assume that
      // the same resource has been accessed before.
      if (previous_unknown_resource_access ||
          resource_analysis_info.IsUnknownResource(resource))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    					}
    				}
    				toFloat(x)
    				toFloat(y)
    			} else {
    				check.convertUntyped(x, Typ[Float64])
    				check.convertUntyped(y, Typ[Float64])
    				// x and y should be invalid now, but be conservative
    				// and check below
    			}
    		}
    		if x.mode == invalid || y.mode == invalid {
    			return
    		}
    
    		// both argument types must be identical
    		if !Identical(x.typ, y.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/net/http/cookiejar/jar.go

    func isIP(host string) bool {
    	if strings.ContainsAny(host, ":%") {
    		// Probable IPv6 address.
    		// Hostnames can't contain : or %, so this is definitely not a valid host.
    		// Treating it as an IP is the more conservative option, and avoids the risk
    		// of interpreting ::1%.www.example.com as a subdomain of www.example.com.
    		return true
    	}
    	return net.ParseIP(host) != nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/http2/hpack/hpack.go

    			// get too large. All the varint and string
    			// reading code earlier should already catch
    			// overlong things and return ErrStringLength,
    			// but keep this as a last resort.
    			const varIntOverhead = 8 // conservative
    			if d.maxStrLen != 0 && int64(len(d.buf)) > 2*(int64(d.maxStrLen)+varIntOverhead) {
    				return 0, ErrStringLength
    			}
    			d.saveBuf.Write(d.buf)
    			return len(p), nil
    		}
    		d.firstField = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:30:34 UTC 2023
    - 14.7K 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. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

        generated to run on the device for the cluster including:
    
        1. String operations on TPUs.
        2. Operations that don't have a kernel defined for the device.
    
        This pass is conservative in that it will mark all ops for outside compilation
        that can not be compiled for the device.  Exceptions for this are added for ops
        that will be rewritten or decomposed before compiling on device.
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/build_xla_ops_pass.cc

          args[e->dst_input()] = Output(e->src(), e->src_output());
        }
      }
    
      // In theory we can use PartitionedCall if the XLA cluster does not have any
      // stateful operations.  However, for now we choose to be conservative since
      // we don't have any evidence that choosing a stateless partitioned call helps
      // for performance.
      ops::StatefulPartitionedCall call(
          root.WithOpName("stateful_partitioned_call"), args, n->output_types(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. src/strconv/quote.go

    }
    
    func appendQuotedWith(buf []byte, s string, quote byte, ASCIIonly, graphicOnly bool) []byte {
    	// Often called with big strings, so preallocate. If there's quoting,
    	// this is conservative but still helps a lot.
    	if cap(buf)-len(buf) < len(s) {
    		nBuf := make([]byte, len(buf), len(buf)+1+len(s)+1)
    		copy(nBuf, buf)
    		buf = nBuf
    	}
    	buf = append(buf, quote)
    	for width := 0; len(s) > 0; s = s[width:] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/go/ast/ast.go

    	}
    	// the list should not be empty in this case;
    	// be conservative and guard against bad ASTs
    	if len(f.List) > 0 {
    		return f.List[0].Pos()
    	}
    	return token.NoPos
    }
    
    func (f *FieldList) End() token.Pos {
    	if f.Closing.IsValid() {
    		return f.Closing + 1
    	}
    	// the list should not be empty in this case;
    	// be conservative and guard against bad ASTs
    	if n := len(f.List); n > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. src/math/rand/rand_test.go

    func hasSlowFloatingPoint() bool {
    	switch runtime.GOARCH {
    	case "arm":
    		return os.Getenv("GOARM") == "5" || strings.HasSuffix(os.Getenv("GOARM"), ",softfloat")
    	case "mips", "mipsle", "mips64", "mips64le":
    		// Be conservative and assume that all mips boards
    		// have emulated floating point.
    		// TODO: detect what it actually has.
    		return true
    	}
    	return false
    }
    
    func TestFloat32(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top