Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setperf (0.25 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          if (axis != i / 2) return failure();
          ++i;
        }
    
        // Check whether first tranpose's perm has [2, 1, 0, 3].
        DenseIntElementsAttr perm;
        if (!matchPattern(transpose_first.getPerm(), m_Constant(&perm)))
          return failure();
        SmallVector<int64_t, 4> axes;
        for (const auto &axis_int : perm.getValues<APInt>()) {
          axes.push_back(axis_int.getSExtValue());
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    					v1.ResourceEphemeralStorage: *resource.NewQuantity(5000, resource.BinarySI),
    				},
    			}
    			// Since this test retroactively overrides the stub container manager,
    			// we have to regenerate default status setters.
    			kubelet.setNodeStatusFuncs = kubelet.defaultNodeStatusFuncs()
    
    			kubeClient := testKubelet.fakeKubeClient
    			existingNode := v1.Node{ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          }
        }
      }
    
      // Permutations defined by constant operations.
      DenseIntElementsAttr perm0;
      DenseIntElementsAttr perm1;
      if (!matchPattern(op.getPerm(), m_Constant(&perm0)) ||
          !matchPattern(transpose.getPerm(), m_Constant(&perm1)))
        return {};
    
      // With permutation indices that cancel each other
      if (!AreCancellablePermutations(perm0, perm1)) return {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(results); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. src/reflect/value.go

    			w[28] != 0 || w[29] != 0 || w[30] != 0 || w[31] != 0 {
    			return false
    		}
    		w = w[n:]
    	}
    	return true
    }
    
    // SetZero sets v to be the zero value of v's type.
    // It panics if [Value.CanSet] returns false.
    func (v Value) SetZero() {
    	v.mustBeAssignable()
    	switch v.kind() {
    	case Bool:
    		*(*bool)(v.ptr) = false
    	case Int:
    		*(*int)(v.ptr) = 0
    	case Int8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    mlir::LogicalResult TransposeOp::verify() {
      TransposeOp op = *this;
      auto input_type = op.getInput().getType().cast<ShapedType>();
      auto perm_type = op.getPerm().getType().cast<ShapedType>();
      auto output_type = op.getOutput().getType().cast<ShapedType>();
      if (input_type.hasStaticShape() && perm_type.hasStaticShape()) {
        if (perm_type.getNumElements() != input_type.getRank()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    		if !reflect.DeepEqual(s[i], s[0]) {
    			return errSRIAMConfigMismatch(peers[0].Name, peers[i].Name, s[0], s[i])
    		}
    	}
    
    	return nil
    }
    
    // Netperf for site-replication net perf
    func (c *SiteReplicationSys) Netperf(ctx context.Context, duration time.Duration) (results madmin.SiteNetPerfResult, err error) {
    	infos, err := globalSiteReplicationSys.GetClusterInfo(ctx)
    	if err != nil {
    		return results, err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		// any comparison involving a NaN is always FALSE and thus
    		// the patterns for inverting conditions cannot be used.
    		{name: "SETEQF", argLength: 1, reg: flagsgp, asm: "SETEQ", clobberFlags: true, needIntTemp: true}, // extract == condition from arg0
    		{name: "SETNEF", argLength: 1, reg: flagsgp, asm: "SETNE", clobberFlags: true, needIntTemp: true}, // extract != condition from arg0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  9. src/reflect/all_test.go

    		if !Zero(TypeOf(tt.x)).IsZero() {
    			t.Errorf("%d: IsZero(Zero(TypeOf((%s)(%+v)))) is false", i, x.Kind(), tt.x)
    		}
    
    		p := New(x.Type()).Elem()
    		p.Set(x)
    		p.SetZero()
    		if !p.IsZero() {
    			t.Errorf("%d: IsZero((%s)(%+v)) is true after SetZero", i, p.Kind(), tt.x)
    		}
    	}
    
    	func() {
    		defer func() {
    			if r := recover(); r == nil {
    				t.Error("should panic for invalid value")
    			}
    		}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top