Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for Advice (0.18 sec)

  1. tensorflow/compiler/jit/xla_host_send_device_context.h

      }
    
      void CopyTensorInSameDevice(const Tensor* input_tensor, Device* device,
                                  Tensor* output_tensor,
                                  StatusCallback done) const override {
        done(errors::Internal("device->device copy not implemented."));
      }
    
     private:
      se::Stream* stream_;                        // Not owned.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlprogram.mlir

        %0 = tf_executor.graph {
          %outputs, %control = tf_executor.island wraps "tf.Const"() {device = "", value = dense<1> : tensor<i32>} : () -> tensor<i32>
          %outputs_0, %control_1 = tf_executor.island wraps "tf.Const"() {device = "", value = dense<20> : tensor<i32>} : () -> tensor<i32>
          %outputs_2, %control_3 = tf_executor.island wraps "tf.Const"() {device = "", value = dense<0> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 19:27:16 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

    }
    
    void FakeSession::BuildDeviceManager() {
      auto device =
          tensorflow::DeviceFactory::NewDevice("CPU", {}, kDeviceNamePrefix);
      device_mgr_ =
          std::make_unique<tensorflow::StaticDeviceMgr>(std::move(device));
    }
    
    void FakeSession::InitVariables() {
      tensorflow::Device* device = nullptr;
      auto status = device_mgr_->LookupDevice(kDeviceName, &device);
      if (status != absl::OkStatus()) return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/basic.mlir

      attributes {tf_saved_model.exported_names = ["basic"]} {
      %handle = "tf.VarHandleOp"() {device = "/device:CPU:0", container = "", shared_name = "x"} : () -> tensor<!tf_type.resource<tensor<3xf32>>>
      %0 = "tf.ReadVariableOp"(%handle) {_output_shapes = ["tfshape$dim { size: 3 }"], device = "/device:CPU:0", dtype = f32} : (tensor<!tf_type.resource<tensor<3xf32>>>) -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/whileop.mlir

        %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<9> : tensor<i32>} : () -> tensor<i32>
        %1 = "tf.Less"(%arg0, %0) {device = "/device:CPU:0"} : (tensor<i32>, tensor<i32>) -> tensor<i1>
        func.return %1 : tensor<i1>
      }
    
      func.func @while_body_add2(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/pjrt_base_device.h

        void operator=(const Metadata&) = delete;
      };
    
      struct Options {
        // The device name's prefix (e.g., "/task:7")
        std::string device_name_prefix;
    
        // The name of the  device (e.g., "TPU")
        std::string device_name;
    
        // The index of the device.
        int device_ordinal = -1;
    
        // The name of the compilation device, also referred to as jit_device_type.
        // (e.g., "XLA_CPU_JIT");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc

      tensorflow::Device* device = nullptr;
      if (!mgr || !mgr->LookupDevice(StringRefToView(device_name), &device).ok())
        return nullptr;
      tensorflow::Var* var_ptr = nullptr;
      const auto& container = var_handle_op.getContainer().str();
      auto status = device->resource_manager()->Lookup(
          (container.empty() ? device->resource_manager()->default_container()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/tests/e2e/simple-graph.mlir

    }
    
    // CHECK: %[[CST:.*]] = arith.constant dense<1> : tensor<4xi32>
    // CHECK:  [[VAL_0:%.*]] = "tfl.reshape"(%1, %[[CST]]) {tac.device = "GPU",  tac.inference_type = "FLOAT"} : (tensor<1xf32>, tensor<4xi32>) -> tensor<1x1x1x1xf32>
    // CHECK:  [[VAL_1:%.*]] = "tfl.reshape"(%2, %[[CST]]) {tac.device = "GPU",  tac.inference_type = "FLOAT"} : (tensor<1xf32>, tensor<4xi32>) -> tensor<1x1x1x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager_linux_test.go

    		[]mount.MountPoint{
    			{
    				Device: "cgroup",
    				Type:   "cgroup",
    				Opts:   []string{"rw", "relatime", "cpuset"},
    			},
    			{
    				Device: "cgroup",
    				Type:   "cgroup",
    				Opts:   []string{"rw", "relatime", "cpu"},
    			},
    			{
    				Device: "cgroup",
    				Type:   "cgroup",
    				Opts:   []string{"rw", "relatime", "cpuacct"},
    			},
    			{
    				Device: "cgroup",
    				Type:   "cgroup",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_cpu_device.cc

                           std::vector<std::unique_ptr<Device>>* devices) override;
    };
    
    Status XlaCpuDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) {
      XlaDeviceFlags* flags = GetXlaDeviceFlags();
      if (!flags->tf_xla_enable_xla_devices && !XlaDevicesCreationRequired()) {
        VLOG(1) << "Not creating XLA devices, tf_xla_enable_xla_devices not set "
                   "and XLA device creation not requested";
        return absl::OkStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top