Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 657 for const2 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    
    const char kDeviceAttr[] = "device";
    const char kDeviceGpu[] = "GPU";
    
    std::optional<std::string> GetOpDevice(mlir::Operation *op) {
      mlir::StringAttr device = op->getAttrOfType<mlir::StringAttr>(kDeviceAttr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_utils.cc

    BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) {
      // Caller should guarantee that the given argument value is not a nullptr.
      TFLITE_DCHECK(op_code != nullptr);
    
      return std::max(
          op_code->builtin_code(),
          static_cast<BuiltinOperator>(op_code->deprecated_builtin_code()));
    }
    
    BuiltinOperator GetBuiltinCode(const OperatorCodeT* op_code) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/converter_python_api.h

                      PyObject* input_contents_txt_raw,
                      bool extended_return = false,
                      PyObject* debug_info_txt_raw = nullptr,
                      bool enable_mlir_converter = false,
                      const tensorflow::quantization::PyFunctionLibrary*
                          quantization_py_function_library = nullptr);
    
    // Quantize the model with calibration data. Throw errors if `fully_quantize`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/crypto/tls/alert.go

    type AlertError uint8
    
    func (e AlertError) Error() string {
    	return alert(e).String()
    }
    
    type alert uint8
    
    const (
    	// alert level
    	alertLevelWarning = 1
    	alertLevelError   = 2
    )
    
    const (
    	alertCloseNotify                  alert = 0
    	alertUnexpectedMessage            alert = 10
    	alertBadRecordMAC                 alert = 20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/decls0.go

    	_ struct{}
    	_ struct{ pi /* ERROR "not a type" */ }
    )
    
    
    // declarations of init
    const _, init /* ERROR "cannot declare init" */ , _ = 0, 1, 2
    type init /* ERROR "cannot declare init" */ struct{}
    var _, init /* ERROR "cannot declare init" */ int
    
    func init() {}
    func init /* ERROR "missing function body" */ ()
    
    func _() { const init = 0 }
    func _() { type init int }
    func _() { var init int; _ = init }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. internal/config/callhome/callhome.go

    package callhome
    
    import (
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Callhome related keys
    const (
    	Enable    = "enable"
    	Frequency = "frequency"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    "<script>hljs.highlightAll();</script>" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:10:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/crypto/tls/common.go

    // TLS Elliptic Curve Point Formats
    // https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9
    const (
    	pointFormatUncompressed uint8 = 0
    )
    
    // TLS CertificateStatusType (RFC 3546)
    const (
    	statusTypeOCSP uint8 = 1
    )
    
    // Certificate types (for certificateRequestMsg)
    const (
    	certTypeRSASign   = 1
    	certTypeECDSASign = 64 // ECDSA or EdDSA keys, see RFC 8422, Section 3.
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  9. src/go/types/check_test.go

    	// we must have a line comment that starts with a "-"
    	const prefix = "//"
    	if !bytes.HasPrefix(src, []byte(prefix)) {
    		return nil // first line is not a line comment
    	}
    	src = src[len(prefix):]
    	if i := bytes.Index(src, []byte("-")); i < 0 || len(bytes.TrimSpace(src[:i])) != 0 {
    		return nil // comment doesn't start with a "-"
    	}
    	end := bytes.Index(src, []byte("\n"))
    	const maxLen = 256
    	if end < 0 || end > maxLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. internal/grid/benchmark_test.go

    	errFatal := func(err error) {
    		b.Helper()
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(n)
    	errFatal(err)
    	b.Cleanup(grid.Cleanup)
    	const messages = 10
    	// Create n managers.
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top