Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DeviceName (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      const NodeDef& ndef = orig_op->MutableAttrs()->BuildNodeDef();
      auto& ctx = orig_op->EagerContext();
      Fprint128 cache_key =
          orig_op->MutableAttrs()->CacheKey(orig_op->DeviceName());
      // Include soft placement policy in cache key since the placement strategy
      // can change and thus affect which kernel is picked.
      auto x = FingerprintCat64(cache_key.high64, cache_key.low64);
      std::string fname =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    			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
    				qst, err := bfs.SysBlockDeviceQueueStats(devName)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_tensor_handle.cc

        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
      return absl::StrCat("TensorHandle(", value_string, ", shape=", shape_string,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      forward_op_.outputs.clear();
      return parent_op_->Reset(op, raw_device_name);
    }
    const string& TapeOperation::Name() const { return parent_op_->Name(); }
    const string& TapeOperation::DeviceName() const {
      return parent_op_->DeviceName();
    }
    Status TapeOperation::SetDeviceName(const char* name) {
      return parent_op_->SetDeviceName(name);
    }
    Status TapeOperation::AddInput(AbstractTensorHandle* input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

    #if !defined(IS_MOBILE_PLATFORM)
    #include "tensorflow/core/common_runtime/eager/context_distributed_manager.h"
    #endif  // !IS_MOBILE_PLATFORM
    
    using tensorflow::string;
    
    namespace {
    
    string DeviceName(const tensorflow::Device* d) {
      return (d == nullptr) ? "cpu:0" : d->name();
    }
    
    // Annotate eager runtime construction context to the given `function_def` as
    // an attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      void Release() override { delete this; }
    
      Status Reset(const char* op, const char* raw_device_name) override;
    
      const string& Name() const override;
    
      const string& DeviceName() const override;
    
      Status SetDeviceName(const char* name) override;
    
      Status AddInput(AbstractTensorHandle* input) override;
      Status AddInputList(absl::Span<AbstractTensorHandle* const> inputs) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/manager_test.go

    	s.prepareResourceCalls.Add(1)
    
    	if s.timeout != nil {
    		time.Sleep(*s.timeout)
    	}
    
    	if s.prepareResourcesResponse == nil {
    		deviceName := "claim-" + req.Claims[0].Uid
    		result := s.driverName + "/" + driverClassName + "=" + deviceName
    		return &drapbv1.NodePrepareResourcesResponse{
    			Claims: map[string]*drapbv1.NodePrepareResourceResponse{
    				req.Claims[0].Uid: {
    					CDIDevices: []string{result},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                                              g_->graph.NewName(op_name).c_str()));
        return absl::OkStatus();
      }
      const string& Name() const override { return op_type_; }
      const string& DeviceName() const override { return device_name_; }
    
      Status SetDeviceName(const char* name) override {
        // TODO(srbs): Implement this.
        device_name_ = name;
        return absl::OkStatus();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	handle = Handle(r0)
    	if handle == InvalidHandle {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) {
    	r1, _, e1 := syscall.Syscall(procDefineDosDeviceW.Addr(), 3, uintptr(flags), uintptr(unsafe.Pointer(deviceName)), uintptr(unsafe.Pointer(targetPath)))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) = user32.GetGUIThreadInfo
    //sys	GetLargePageMinimum() (size uintptr)
    
    // Volume Management Functions
    //sys	DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) = DefineDosDeviceW
    //sys	DeleteVolumeMountPoint(volumeMountPoint *uint16) (err error) = DeleteVolumeMountPointW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top