Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 169 for Dtype (0.04 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    	}
    
    	for _, tc := range testcases {
    		aType := reflect.TypeOf(tc.a)
    		bType := reflect.TypeOf(tc.b)
    		t.Run(aType.String(), func(t *testing.T) {
    			assertEqualTypes(t, nil, aType, bType)
    		})
    	}
    }
    
    func assertEqualTypes(t *testing.T, path []string, a, b reflect.Type) {
    	if a == b {
    		return
    	}
    
    	if a.Kind() != b.Kind() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

    LogicalResult ConstantFoldMul(mhlo::MulOp op, PatternRewriter &rewriter) {
      ShapedType type = mlir::dyn_cast<ShapedType>(op.getType());
      Type etype = type.getElementType();
      Attribute result = {};
      if (mlir::isa<FloatType>(etype)) {
        result =
            BinaryFolder<mhlo::MulOp, FloatType, APFloat, std::multiplies<APFloat>>(
                &op);
      } else if (mlir::isa<IntegerType>(etype)) {
        result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/mbarrier.go

    // wbMove performs the write barrier operations necessary before
    // copying a region of memory from src to dst of type typ.
    // Does not actually do the copying.
    //
    //go:nowritebarrierrec
    //go:nosplit
    func wbMove(typ *_type, dst, src unsafe.Pointer) {
    	// This always copies a full value of type typ so it's safe to
    	// pass a type here.
    	//
    	// See the comment on bulkBarrierPreWrite.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

        fun createConversion(type: KType): HLParameterConversion {
            val nullable = type.isMarkedNullable
            val kClass = type.classifier as KClass<*>
            return tryMapAllowedType(kClass)
                ?: tryMapPsiElementType(kClass)
                ?: tryMapFirTypeToKtType(kClass, nullable)
                ?: tryMapPlatformType(type, kClass)
                ?: error("Unsupported type $type, consider add corresponding mapping")
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/runtime/error.go

    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    // A TypeAssertionError explains a failed type assertion.
    type TypeAssertionError struct {
    	_interface    *_type
    	concrete      *_type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. docs/pt/docs/alternatives.md

    Ele foi uma das primeiras implementações de um framework usando Python _type hints_ para declarar parâmetros e requisições que eu nunca vi (antes no NestJS e Molten). Eu encontrei ele mais ou menos na mesma época que o Hug. Mas o APIStar utilizava o padrão OpenAPI.
    
    Ele tinha validação de dados automática, serialização de dados e geração de _schema_ OpenAPI baseado nos mesmos _type hints_ em vários locais.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/runtime/alg.go

    }
    func nilinterequal(p, q unsafe.Pointer) bool {
    	x := *(*eface)(p)
    	y := *(*eface)(q)
    	return x._type == y._type && efaceeq(x._type, x.data, y.data)
    }
    func efaceeq(t *_type, x, y unsafe.Pointer) bool {
    	if t == nil {
    		return true
    	}
    	eq := t.Equal
    	if eq == nil {
    		panic(errorString("comparing uncomparable type " + toRType(t).string()))
    	}
    	if isDirectIface(t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    		return doesSignatureMatch(sha256sum, r, region, stype)
    	case isRequestPresignedSignatureV4(r):
    		return doesPresignedSignatureMatch(sha256sum, r, region, stype)
    	default:
    		return ErrAccessDenied
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/runtime/mfinal.go

    var allfin *finblock // list of all blocks
    
    // NOTE: Layout known to queuefinalizer.
    type finalizer struct {
    	fn   *funcval       // function to call (may be a heap pointer)
    	arg  unsafe.Pointer // ptr to object (may be a heap pointer)
    	nret uintptr        // bytes of return values from fn
    	fint *_type         // type of first argument of fn
    	ot   *ptrtype       // type of ptr to object (may be a heap pointer)
    }
    
    var finalizer1 = [...]byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top