Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for dev2_name (0.17 sec)

  1. tensorflow/c/eager/c_api_distributed_test.cc

                      .ok());
      ASSERT_TRUE(worker_server2->Start().ok());
      const char dev2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0";
    
      if (inject_error) {
        // Inject a function optimization pass failure when it sees the
        // 'read0_maybe_with_graph_error' op having a requested device `dev2_name`.
        // During execution:
        //   * task:0 processes main function `VariableAddFunctionWithGraphError`
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const string dev2_name = "/job:def/replica:0/task:0/device:CPU:0";
      TFE_TensorHandle* var_handle2 = TestVariable(ctx, 2.0, dev2_name);
      EXPECT_NE(var_handle2, nullptr);
      EXPECT_EQ(tensorflow::unwrap(var_handle2)->DeviceName(&status2), dev2_name);
    
      TFE_DeleteTensorHandle(var_handle0);
      TFE_DeleteTensorHandle(var_handle1);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. internal/disk/stat_linux.go

    		if err == nil {
    			devName := ""
    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    					devName = dstat.DeviceName
    					break
    				}
    			}
    			if devName != "" {
    				info.Name = devName
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. internal/disk/disk.go

    // Free - free size of the volume / disk
    // Files - total inodes available
    // Ffree - free inodes available
    // FSType - file system type
    // Major - major dev id
    // Minor - minor dev id
    // Devname - device name
    type Info struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/debugging/reorder-disks/main.go

    			continue
    		}
    		mami, err := getMajorMinor(diskName)
    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    		fmt.Printf("UUID=%s\t%s\txfs\tdefaults,noatime\t0\t2\n", uuid, expectedDiskName)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top