Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 376 for r2devices (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

          // The tf_device.launch is empty (except for the return).
          // Remove the whole tf_device.launch, since later passes will make it send
          // the arguments back and forth between the devices.
          Operation* return_op = &block.back();
          assert(llvm::isa<tf_device::ReturnOp>(return_op));
          for (auto [inner, outer] :
               llvm::zip(return_op->getOperands(), launch_op->getResults())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

    // RUN: tf-tfrt-opt -split-input-file -tf-device-decompose-resource-ops -sink-variable-as-named-array %s | FileCheck %s
    
    // -----
    // Basic test: all variables tensors are for devices and sinked as named ifrt arrays
    //
    //
    // CHECK-LABEL:  func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
    // CHECK-NEXT:   [[HANDLE2:%.*]] = "tf.VarHandleOp"
    // CHECK-NEXT:   [[KEY:%.*]], [[FUTURE:%.*]] = "tf.IfrtLoadVariable"([[HANDLE2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-extract-outside-compilation | FILECHECK_OPTS="" FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      // Tests that TPU cluster with no outside compilation does not generate parallel_execute.
    
      // CHECK-LABEL: func @no_outside_compilation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.h

    // Destroy an options object.
    TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*);
    
    // "Context" under which operations/functions are executed. It encapsulates
    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  5. pkg/volume/util/hostutil/hostutil_windows.go

    	if fserr, ok := err.(*fs.PathError); ok {
    		errno, ok := fserr.Err.(syscall.Errno)
    		return ok && errno == windows.ERROR_CANT_ACCESS_FILE
    	}
    
    	return false
    }
    
    // GetFileType checks for sockets/block/character devices
    func (hu *(HostUtil)) GetFileType(pathname string) (FileType, error) {
    	filetype, err := getFileType(pathname)
    
    	// os.Stat will return a 1920 error (windows.ERROR_CANT_ACCESS_FILE) if we use it on a Unix Socket
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

    	if firstTime {
    		bfs, err := blockdevice.NewDefaultFS()
    		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
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    	DI_NOVCP         DI_FLAGS = 0x00000008 // don't create a new copy queue--use caller-supplied FileQueue
    	DI_DIDCOMPAT     DI_FLAGS = 0x00000010 // Searched for compatible devices
    	DI_DIDCLASS      DI_FLAGS = 0x00000020 // Searched for class devices
    	DI_AUTOASSIGNRES DI_FLAGS = 0x00000040 // No UI for resources if possible
    
    	// Flags returned by DiInstallDevice to indicate need to reboot/restart
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/BUILD

            ":__subpackages__",
            "//tensorflow/python:__subpackages__",
        ],
        deps = [
            "@llvm-project//mlir:AffineDialect",
            "@llvm-project//mlir:QuantOps",
            # Link jit lib to link JIT devices required to run
            # xla-legalize-tf-with-tf2xla pass.
            "//tensorflow/compiler/jit",
            "//tensorflow/compiler/mlir/lite:tensorflow_lite",
            "//tensorflow/compiler/mlir/lite:tensorflow_lite_legalize_tf",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

        if (func_names.empty()) return mlir::WalkResult::advance();
    
        auto func_type = func.getFunctionType();
    
        // Here we walk through each arguments and find out the input/output names,
        // and input devices, variables used by this function.
        llvm::SmallVector<llvm::StringRef, 4> input_names;
        llvm::SmallVector<
            std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>, 4>
            input_specs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. cluster/gce/gci/configure-helper.sh

        return
      fi
    
      local device="${devices[0]}"
      if [ "${#devices[@]}" -ne 1 ]; then
        seen_arrays=(/dev/md/*)
        device=${seen_arrays[0]}
        echo "Setting RAID array with local SSDs on device ${device}"
        if [ ! -e "$device" ]; then
          device="/dev/md/0"
          echo "y" | mdadm --create "${device}" --level=0 --raid-devices=${#devices[@]} "${devices[@]}"
        fi
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top