Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 202 for Advice (0.14 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let description = [{
        The ExecuteOp executes an operation on the specified device using a custom device.
      }];
    
      let arguments = (ins
        TFDeviceType:$device,
        Variadic<TFTensorType>:$args,
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device.cc

        DeviceBase* device, const XlaDevice::Metadata** metadata) {
      *metadata = nullptr;
      XlaDevice* xla_device = dynamic_cast<XlaDevice*>(device->UnderlyingDevice());
      if (xla_device == nullptr) {
        return errors::Internal(
            "Cannot get XLA metadata from non-XLA device \"", device->name(),
            "\". GetMetadata must only be called on an XLA device. Either an "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    CreateConvertReadonlyReferenceVariablesToResourceVariablesPass();
    
    // Creates a simple device assignment pass on TF dialect for CoreRT use case.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateSimpleTFDeviceAssignmentPass(
        llvm::StringRef default_device = "cpu");
    
    // Creates a pass to perform device assignment for TF dialect ops that do not
    // have device assignment, by using the device attribute of the function.
    std::unique_ptr<OperationPass<func::FuncOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

    }
    
    def SimpleTFDeviceAssignmentPass : Pass<"tf-simple-device-assignment", "mlir::func::FuncOp"> {
      let summary = "Simple device assignment in TF dialect.";
      let constructor = "TF::CreateSimpleTFDeviceAssignmentPass()";
      let options = [
        Option<"default_device_", "default-device", "std::string", /*default=*/"\"cpu\"",
               "The default device to assign.">
      ];
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

        const ResourceHandle& resource_handle =
            resource_tensor.scalar<ResourceHandle>()();
    
        Device* device;
        if (!(device_manager->LookupDevice(resource_handle.device(), &device)
                  .ok())) {
          return module.emitOpError() << "failed to look up device";
        }
    
        tensorflow::Var* var_ptr;
        if (!(device->resource_manager()
                  ->Lookup(resource_handle.container(), resource_handle.name(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

      });
    }
    
    // Copies attributes that are either `device` or whose name begins with an _
    // from `from` to `to`.
    // TODO(b/158769932): This should be a general feature instead post some policy
    // discussion.
    inline void CopyDeviceAndUnderscoredAttributes(Operation *from, Operation *to) {
      auto device = mlir::StringAttr::get(from->getContext(), "device");
      CopyAttributes(from, to, [&device](const NamedAttribute &attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/manager_test.go

    	require.NoError(t, err)
    	defer os.RemoveAll(socketDir)
    	m, _, p, _ := setupInProbeMode(t, []*pluginapi.Device{}, func(n string, d []pluginapi.Device) {}, socketName, pluginSocketName)
    	cleanup(t, m, p)
    }
    
    // Tests that the device plugin manager correctly handles registration and re-registration by
    // making sure that after registration, devices are correctly updated and if a re-registration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

      %cst = "tf.Const"() <{value = dense<1> : tensor<i32>}> {device = ""} : () -> tensor<i32>
      %0 = "tf.MultiDeviceIteratorFromStringHandle"(%arg0) <{output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]}> {device = ""} : (tensor<!tf_type.string>) -> tensor<!tf_type.resource>
      %1 = "tf.MultiDeviceIteratorGetNextFromShard"(%0, %cst, %arg1) {device = ""} : (tensor<!tf_type.resource>, tensor<i32>, tensor<i64>) -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor.cc

        const StreamExecutorConfig& config) {
      // Fill device creation params
      SE_CreateDeviceParams device_params{SE_CREATE_DEVICE_PARAMS_STRUCT_SIZE};
      SP_Device device{SP_DEVICE_STRUCT_SIZE};
      device_params.device = &device;
      device_params.ext = nullptr;
      device_params.ordinal = config.ordinal;
      OwnedTFStatus c_status(TF_NewStatus());
    
      // Create Device
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. pkg/volume/volume.go

    // and pod device map path.
    type BlockVolume interface {
    	// GetGlobalMapPath returns a global map path which contains
    	// bind mount associated to a block device.
    	// ex. plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid}
    	GetGlobalMapPath(spec *Spec) (string, error)
    	// GetPodDeviceMapPath returns a pod device map path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top