Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 202 for Advice (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    // Verifies that the TF/XLA ops have all been lowered to MHLO.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateVerifyTFXLALegalizationPass(
        bool legalize_chlo = true);
    
    // Transforms TFXLA Device specific ops into device independent ops.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateTFXLADeviceSpecificTransformsPass(
        std::optional<StringRef> tf2xla_fallback_device_type = std::nullopt);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/reconfig_batch_op.mlir

      // CHECK-SAME: num_batch_threads = 2 : i64
      // CHECK-SAME: shared_name = "batch/"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 17:38:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor.go

    }
    
    // DeviceMountState represents device mount state in a global path.
    type DeviceMountState string
    
    const (
    	// DeviceGloballyMounted means device has been globally mounted successfully
    	DeviceGloballyMounted DeviceMountState = "DeviceGloballyMounted"
    
    	// DeviceMountUncertain means device may not be mounted but a mount operation may be
    	// in-progress which can cause device mount to succeed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

      }
      return nullptr;
    }
    
    // Returns ID for identifying a resource.
    std::tuple<StringRef, StringRef, StringRef> GetResourceKey(Operation* op) {
      StringRef device;
      if (auto attr = op->getAttrOfType<StringAttr>("device")) {
        device = attr.getValue();
      }
    
      StringRef container;
      if (auto attr = op->getAttrOfType<StringAttr>("container")) {
        container = attr.getValue();
      }
    
      StringRef shared_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_host_recv_device_context.cc

    #include "tensorflow/compiler/tf2xla/type_util.h"
    
    namespace tensorflow {
    
    void XlaHostRecvDeviceContext::CopyDeviceTensorToCPU(
        const Tensor* device_tensor, StringPiece tensor_name, Device* device,
        Tensor* cpu_tensor, StatusCallback done) {
      DataType dtype = EncodePrimitiveTypeAsDataType(shape_.element_type()).value();
      TensorShape tensor_shape;
      Status status = XLAShapeToTensorShape(shape_, &tensor_shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %0 = mhlo.composite "aten.hardswish.default" %arg0 {decomposition = @XlaCallModule_aten.hardswish.default.impl_0} : (tensor<2xf32>) -> tensor<2xf32>
      %1 = "tf.Identity"(%0) {device = ""} : (tensor<2xf32>) -> tensor<*xf32>
      %2 = "tf.Identity"(%1) {device = ""} : (tensor<*xf32>) -> tensor<*xf32>
      return %2 : tensor<*xf32>
    }
    func.func private @XlaCallModule_aten.hardswish.default.impl_0(%arg0: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

            int_attr.getSplatValue<APInt>() == raw_value)
          return true;
      }
    
      return false;
    }
    
    // Returns true if `op` is placed on GPU device, and false if it's on other
    // devices or the device is not specified.
    bool IsOnGpuDevice(mlir::Operation *op);
    
    // Wrappers for CopyDeviceAndUnderscoredAttributes
    void CopyDeviceAndUnderscoredAttributesAdaptor(mlir::OpResult src,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pkg/volume/util/util.go

    	}
    
    	// Take file descriptor lock to keep a block device opened. Otherwise, there is a case
    	// that the block device is silently removed and attached another device with the same name.
    	// Container runtime can't handle this problem. To avoid unexpected condition fd lock
    	// for the block device is required.
    	_, mapErr = blkUtil.AttachFileDevice(filepath.Join(globalMapPath, string(podUID)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{12, "ENOMEM", "cannot allocate memory"},
    	{13, "EACCES", "permission denied"},
    	{14, "EFAULT", "bad address"},
    	{15, "ENOTBLK", "block device required"},
    	{16, "EBUSY", "device or resource busy"},
    	{17, "EEXIST", "file exists"},
    	{18, "EXDEV", "invalid cross-device link"},
    	{19, "ENODEV", "no such device"},
    	{20, "ENOTDIR", "not a directory"},
    	{21, "EISDIR", "is a directory"},
    	{22, "EINVAL", "invalid argument"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi.go

    	// device: 192.168.0.10:3260-iqn.2017-05.com.example:test-lun-0
    	device, _, err := extractDeviceAndPrefix(globalMapPath)
    	if err != nil {
    		return nil, err
    	}
    	bkpPortal, iqn, err := extractPortalAndIqn(device)
    	if err != nil {
    		return nil, err
    	}
    	arr := strings.Split(device, "-lun-")
    	if len(arr) < 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top