Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 188 for const2 (2.08 sec)

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

    		val  string // constant value
    	}{
    		{`package a0; const _ = false`, `false`, `untyped bool`, `false`},
    		{`package a1; const _ = 0`, `0`, `untyped int`, `0`},
    		{`package a2; const _ = 'A'`, `'A'`, `untyped rune`, `65`},
    		{`package a3; const _ = 0.`, `0.`, `untyped float`, `0`},
    		{`package a4; const _ = 0i`, `0i`, `untyped complex`, `(0 + 0i)`},
    		{`package a5; const _ = "foo"`, `"foo"`, `untyped string`, `"foo"`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

    func.func @resource_after_cluster(%arg0: tensor<*x!tf_type.resource<tensor<f32>>>, %arg1: tensor<*x!tf_type.resource<tensor<f32>>>) {
      // CHECK-NEXT: [[CONST:%.*]] = "tf.Const"
      %0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<f32>} : () -> tensor<f32>
    
      // CHECK-NEXT: "tf.AssignSubVariableOp"([[UNUSED_RESOURCE]], [[CONST]])
    
      // CHECK:      "tf_device.cluster"
      // CHECK-NEXT:   "tf.ReadVariableOp"([[USED_RESOURCE]])
      // CHECK-NEXT:   "tf.NoOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    func.func @decomposition_outside_cluster() {
      %0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<tensor<2x8xi32>>>
      // CHECK:      %[[ONE:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}>
      %1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CLUSTER-ONLY: "tf.AssignAddVariableOp"
      // ALWAYS-DECOMPOSE-NOT:  "tf.AssignAddVariableOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

        tf_device.return %identity : tensor<i32>
      }) : () -> (tensor<i32>)
      return %cluster : tensor<i32>
    }
    ```
    
    will be transformed into:
    
    ```mlir
    func @cluster() -> tensor<i32> {
      %cluster = "tf_device.cluster"() ( {
        %const = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %identity = "tf.Identity"(%const) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390X.rules

    ((AND|ANDW)const [c] ((AND|ANDW)const [d] x)) => ((AND|ANDW)const [c&d] x)
    
    ((OR|XOR) x (MOVDconst [c])) && isU32Bit(c) => ((OR|XOR)const [c] x)
    ((OR|XOR)W x (MOVDconst [c])) => ((OR|XOR)Wconst [int32(c)] x)
    
    // Constant shifts.
    (S(LD|RD|RAD) x (MOVDconst [c])) => (S(LD|RD|RAD)const x [uint8(c&63)])
    (S(LW|RW|RAW) x (MOVDconst [c])) && c&32 == 0 => (S(LW|RW|RAW)const x [uint8(c&31)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      return false;
    }
    
    // Returns true if any op in `cluster_ops` has outputs consumed by ops not
    // `cluster_ops` with a non-static shape.
    bool HasDynamicOutputs(const llvm::SmallSetVector<Operation*, 4>& cluster_ops) {
      for (Operation* op : cluster_ops) {
        for (const OpOperand& use : op->getUses()) {
          if (cluster_ops.count(use.getOwner())) {
            continue;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  7. 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)
  8. src/net/http/httputil/reverseproxy_test.go

    	"os"
    	"reflect"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    const fakeHopHeader = "X-Fake-Hop-Header-For-Test"
    
    func init() {
    	inOurTests = true
    	hopHeaders = append(hopHeaders, fakeHopHeader)
    }
    
    func TestReverseProxy(t *testing.T) {
    	const backendResponse = "I am the backend"
    	const backendStatus = 404
    	backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Rsh32Ux64 _ (Const64 [c])) && uint64(c) >= 32 => (Const32 [0])
    (Lsh16x64 _ (Const64 [c])) && uint64(c) >= 16 => (Const16 [0])
    (Rsh16Ux64 _ (Const64 [c])) && uint64(c) >= 16 => (Const16 [0])
    (Lsh8x64 _ (Const64 [c])) && uint64(c) >= 8 => (Const8 [0])
    (Rsh8Ux64 _ (Const64 [c])) && uint64(c) >= 8 => (Const8 [0])
    
    // large constant signed right shift, we leave the sign bit
    (Rsh32x64 x (Const64 [c])) && uint64(c) >= 32 => (SRAconst x [31])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/xcoff.go

    	Nnumaux int8   // Number of auxiliary entries
    }
    
    const SYMESZ = 18
    
    const (
    	// Nscnum
    	N_DEBUG = -2
    	N_ABS   = -1
    	N_UNDEF = 0
    
    	//Ntype
    	SYM_V_INTERNAL  = 0x1000
    	SYM_V_HIDDEN    = 0x2000
    	SYM_V_PROTECTED = 0x3000
    	SYM_V_EXPORTED  = 0x4000
    	SYM_TYPE_FUNC   = 0x0020 // is function
    )
    
    // Storage Class.
    const (
    	C_NULL    = 0   // Symbol table entry marked for deletion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top