Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for mytype (0.11 sec)

  1. src/cmd/compile/internal/types2/issues_test.go

    }
    
    func TestIssue50646(t *testing.T) {
    	anyType := Universe.Lookup("any").Type().Underlying()
    	comparableType := Universe.Lookup("comparable").Type()
    
    	if !Comparable(anyType) {
    		t.Error("any is not a comparable type")
    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

                                         zero_points[0], q_type.getStorageTypeMin(),
                                         q_type.getStorageTypeMax());
      } else if (auto q_type = dyn_cast<quant::UniformQuantizedPerAxisType>(type)) {
        return quant::UniformQuantizedPerAxisType::get(
            q_type.getFlags(), q_type.getStorageType(), q_type.getExpressedType(),
            scales, zero_points, q_type.getQuantizedDimension(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            QType::getDefaultMinimumForInteger(/*isSigned=*/true, num_bits);
    
        auto flags = quant::QuantizationFlags::Signed;
        QType new_qtype;
        if (auto uqtype = qtype.template dyn_cast<quant::UniformQuantizedType>()) {
          new_qtype = quant::UniformQuantizedType::getChecked(
              op.getLoc(), flags, qtype.getStorageType(), qtype.getExpressedType(),
              uqtype.getScale(), uqtype.getZeroPoint() - offset,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collectors.java

            private final Class<? extends T> type;
            protected final Collector<T> delegate;
            private final ValueCollector<T> valueCollector;
    
            public TypedCollector(@Nullable Class<? extends T> type, Collector<T> delegate) {
                this.type = type;
                this.delegate = delegate;
                this.valueCollector = ValueSanitizers.collectorFor(type);
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/go/types/issues_test.go

    }
    
    func TestIssue50646(t *testing.T) {
    	anyType := Universe.Lookup("any").Type().Underlying()
    	comparableType := Universe.Lookup("comparable").Type()
    
    	if !Comparable(anyType) {
    		t.Error("any is not a comparable type")
    	}
    	if !Comparable(comparableType) {
    		t.Error("comparable is not a comparable type")
    	}
    
    	if Implements(anyType, comparableType.Underlying().(*Interface)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. schema/schema.go

    	callbackTypeAfterFind    callbackType = "AfterFind"
    )
    
    // ErrUnsupportedDataType unsupported data type
    var ErrUnsupportedDataType = errors.New("unsupported data type")
    
    type Schema struct {
    	Name                      string
    	ModelType                 reflect.Type
    	Table                     string
    	PrioritizedPrimaryField   *Field
    	DBNames                   []string
    	PrimaryFields             []*Field
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	if response != nil {
    		w.Write(response)
    	}
    }
    
    // mimeType represents various MIME type used API responses.
    type mimeType string
    
    const (
    	// Means no response type.
    	mimeNone mimeType = ""
    	// Means response type is JSON.
    	mimeJSON mimeType = "application/json"
    	// Means response type is XML.
    	mimeXML mimeType = "application/xml"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

    // RUN: odml-to-stablehlo-opt --compose-uniform-quantized-type \
    // RUN:     --split-input-file --verify-diagnostics %s | FileCheck %s
    
    module {
    // CHECK-LABEL: quantized_conv_op
    // CHECK-SAME: %[[ARG:.*]]: tensor<1x3x3x4xf32>
      func.func @quantized_conv_op(%arg0: tensor<1x3x3x4xf32>) -> tensor<1x3x3x4xf32> {
        %1 = stablehlo.constant dense<1.000000e+03> : tensor<1x1x1x1xf32>  // Input inverse scale.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/iimport.go

    }
    
    // canReuse reports whether the type rhs on the RHS of the declaration for def
    // may be re-used.
    //
    // Specifically, if def is non-nil and rhs is an interface type with methods, it
    // may not be re-used because we have a convention of setting the receiver type
    // for interface methods to def.
    func canReuse(def *types.Named, rhs types.Type) bool {
    	if def == nil {
    		return true
    	}
    	iface, _ := rhs.(*types.Interface)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    func isFormatter(typ types.Type) bool {
    	// If the type is an interface, the value it holds might satisfy fmt.Formatter.
    	if _, ok := typ.Underlying().(*types.Interface); ok {
    		// Don't assume type parameters could be formatters. With the greater
    		// expressiveness of constraint interface syntax we expect more type safety
    		// when using type parameters.
    		if !typeparams.IsTypeParam(typ) {
    			return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top