Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 170 for vols (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

        } else if (auto attr = mlir::dyn_cast<mlir::ArrayAttr>(a)) {
          std::vector<int64_t> vals;
          for (mlir::Attribute a : attr.getValue()) {
            auto i = mlir::dyn_cast<mlir::IntegerAttr>(a);
            if (!i)
              return errors::Unimplemented(
                  "Expected 64-bit integer array attributes!");
            vals.push_back(i.getInt());
          }
          mlir::OpBuilder builder(attr.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. src/context/x_test.go

    	const (
    		minLayers = 30
    	)
    	type value int
    	var (
    		vals      []*value
    		cancels   []CancelFunc
    		numTimers int
    		ctx       = Background()
    	)
    	for i := 0; i < minLayers || numTimers == 0 || len(cancels) == 0 || len(vals) == 0; i++ {
    		switch r.Intn(3) {
    		case 0:
    			v := new(value)
    			ctx = WithValue(ctx, v, v)
    			vals = append(vals, v)
    		case 1:
    			var cancel CancelFunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/internal/fuzz/encoding_test.go

    	}
    	for _, test := range tests {
    		t.Run(test.desc, func(t *testing.T) {
    			vals, err := unmarshalCorpusFile([]byte(test.in))
    			if test.reject {
    				if err == nil {
    					t.Fatalf("unmarshal unexpected success")
    				}
    				return
    			}
    			if err != nil {
    				t.Fatalf("unmarshal unexpected error: %v", err)
    			}
    			newB := marshalCorpusFile(vals...)
    			if newB[len(newB)-1] != '\n' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/c/kernels.cc

      }                                                                            \
      void TF_OpKernelConstruction_GetAttr##func##List(                            \
          TF_OpKernelConstruction* ctx, const char* attr_name, c_type* vals,       \
          int max_vals, TF_Status* status) {                                       \
        TF_SetStatus(status, TF_OK, "");                                           \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_plugin_test.go

    			driverName: "testdr",
    			volName:    "test-vol-name",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "testdr", "test-vol-name"), false),
    		},
    		{
    			name:       "mixchars all",
    			driverName: "test-driver",
    			volName:    "test.vol.name",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "test-driver", "test.vol.name"), false),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. src/net/tcpsockopt_windows.go

    	"os"
    	"runtime"
    	"syscall"
    	"time"
    	"unsafe"
    )
    
    // Default values of KeepAliveTime and KeepAliveInterval on Windows,
    // check out https://learn.microsoft.com/en-us/windows/win32/winsock/sio-keepalive-vals#remarks for details.
    const (
    	defaultKeepAliveIdle     = 2 * time.Hour
    	defaultKeepAliveInterval = time.Second
    )
    
    func setKeepAliveIdle(fd *netFD, d time.Duration) error {
    	if !windows.SupportTCPKeepAliveIdle() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    			}
    		})
    	}
    }
    
    func TestEqual(t *testing.T) {
    	vals := []interface{}{
    		true, []byte("bytes"), float64(1.2), int64(-42), uint64(63), time.Duration(300),
    		time.Now().UTC(), types.NullValue, NewListValue(), NewMapValue(),
    		NewObjectValue(NewObjectType("TestObject", map[string]*DeclField{})),
    	}
    	for i, v := range vals {
    		dv := testValue(t, int64(i), v)
    		if dv.Equal(dv.ExprValue()) != types.True {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins.adoc

    You can also write them in Scala or Groovy but that is not recommended.
    
    Here is a breakdown of all options for implementing Gradle plugins:
    
    [cols="~,~,~,~,~"]
    |===
    |*#* |*Using:* |*Type:* |*The Plugin is:* |*Recommended?*
    
    |1
    |Kotlin DSL
    |Script plugin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 02:15:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      int size = end - start;
    
      SmallVector<int64_t, 4> vals;
      vals.resize(size);
      std::iota(vals.begin(), vals.end(), start);
    
      TensorType ty =
          tensorflow::GetTypeFromTFTensorShape({size}, builder->getIntegerType(64));
      return DenseIntElementsAttr::get(ty, vals);
    }
    
    // Return an Attr representation of the value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. src/go/types/assignments.go

    	vars := measure(l, "variable")
    	vals := measure(r, "value")
    	rhs0 := rhs[0]
    
    	if len(rhs) == 1 {
    		if call, _ := ast.Unparen(rhs0).(*ast.CallExpr); call != nil {
    			check.errorf(rhs0, WrongAssignCount, "assignment mismatch: %s but %s returns %s", vars, call.Fun, vals)
    			return
    		}
    	}
    	check.errorf(rhs0, WrongAssignCount, "assignment mismatch: %s but %s", vars, vals)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top