Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for constants_ (2.99 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

    // CHECK-LABEL: conv
    // CHECK-DAG:  %[[CONSTANT:.*]] = arith.constant dense<0.000000e+00> : tensor<16xf32>
    // CHECK-DAG:  %[[CONSTANT0:.*]] = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
    // CHECK-DAG:  %[[CONSTANT1:.*]] = arith.constant dense<[{{\[}}0, 0], [1, 1], [1, 1], [0, 0]]> : tensor<4x2xi32>
    // CHECK:  %0 = "tf.Transpose"(%arg1, %[[CONSTANT0]]) : (tensor<3x3x3x16xf32>, tensor<4xi32>) -> tensor<16x3x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    	case constant.Float:
    		i := constant.ToInt(x)
    		if i.Kind() != constant.Int {
    			v, _ := constant.Float64Val(x)
    			return v
    		}
    		x = i
    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    	case constant.Float:
    		i := constant.ToInt(x)
    		if i.Kind() != constant.Int {
    			v, _ := constant.Float64Val(x)
    			return v
    		}
    		x = i
    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0x80000001
    	MOVW $2147483649, R5            // 6405800060a50001 or 0600800038a00001
    	MOVD $2147483649, R5            // 6405800060a50001 or 0600800038a00001
    	// Hex constant 0xFFFFFFFF80000001
    	MOVD $-2147483647, R5           // 3ca0800060a50001 or 0603800038a00001
    	// Hex constant 0xFFFFFFFE00000002 (load of constant on < power10, pli on >= power10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    )
    
    // Creates a SID for a well-known predefined alias, generally using the constants of the form
    // Win*Sid, for the local machine.
    func CreateWellKnownSid(sidType WELL_KNOWN_SID_TYPE) (*SID, error) {
    	return CreateWellKnownDomainSid(sidType, nil)
    }
    
    // Creates a SID for a well-known predefined alias, generally using the constants of the form
    // Win*Sid, for the domain specified by the domainSid parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        auto begin_op =
            rewriter.create<arith::ConstantOp>(op->getLoc(), type, begin_attr);
        auto end_attr = DenseElementsAttr::get<int32_t>(type, padded_end);
        auto end_op =
            rewriter.create<arith::ConstantOp>(op->getLoc(), type, end_attr);
        auto stride_attr = DenseElementsAttr::get<int32_t>(type, padded_stride);
        auto stride_op =
            rewriter.create<arith::ConstantOp>(op->getLoc(), type, stride_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conversion.go

    				vs.Http = append(vs.Http, routes...)
    				// append parents
    				cfg.Annotations[constants.InternalParentNames] = fmt.Sprintf("%s,%s/%s.%s",
    					cfg.Annotations[constants.InternalParentNames], obj.GroupVersionKind.Kind, obj.Name, obj.Namespace)
    			} else {
    				name := fmt.Sprintf("%s-%d-%s", obj.Name, count, constants.KubernetesGatewayName)
    				routeMap[routeKey][h] = &config.Config{
    					Meta: config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                          TF::TensorListStackOp, TF::TensorListResizeOp,
                          TF::TensorListConcatV2Op>();
      // TODO(hinsu): Use TFLite constant op for constants.
      target.addLegalOp<arith::ConstantOp>();
      target.addLegalOp<func::FuncOp>();
      target.addDynamicallyLegalOp<func::ReturnOp>(is_legal);
      target.addDynamicallyLegalOp<TF::YieldOp>(is_legal);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	store, sd, fx := initServiceDiscovery(t)
    	expectedServices := []*model.Service{
    		makeService("*.istio.io", "httpDNSRR", constants.UnspecifiedIP, map[string]int{"http-port": 80, "http-alt-port": 8080}, true, model.DNSRoundRobinLB),
    		makeService("*.google.com", "httpDNS", constants.UnspecifiedIP, map[string]int{"http-port": 80, "http-alt-port": 8080}, true, model.DNSLB),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    		vs := virtualServiceWithCatchAllRoute
    		if vs.Annotations == nil {
    			vs.Annotations = make(map[string]string)
    		}
    		vs.Annotations[constants.InternalRouteSemantics] = constants.RouteSemanticsIngress
    
    		routes, err := route.BuildHTTPRoutesForVirtualService(node(cg), vs,
    			serviceRegistry, nil, 8080, gatewayNames, route.RouteOptions{})
    		xdstest.ValidateRoutes(t, routes)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top