Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,177 for kDevice (0.12 sec)

  1. tensorflow/c/eager/c_api_test.cc

        }
        auto tag = tensorflow::strings::StrCat("Device #", i, " (", name, ")");
        // Copy to device
        TFE_TensorHandle* hdevice =
            TFE_TensorHandleCopyToDevice(hcpu, ctx, name.c_str(), status.get());
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
          continue;
        }
        // Copy from device to the same device.
        TFE_TensorHandle* hdevice2 =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_ops_on_regular_devices.cc

                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaSvd").Device(DEVICE),                       \
                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaDot").Device(DEVICE),                       \
                              XlaCompileOnDemandOp);                               \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 19 19:55:14 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_ops.h

                                                                                   \
      REGISTER_KERNEL_BUILDER(                                                     \
          Name("VarHandleOp").Device(DEVICE).HostMemory("resource"), VarHandleOp); \
      REGISTER_KERNEL_BUILDER(                                                     \
          Name("_VarHandlesOp").Device(DEVICE).HostMemory("resources"),            \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 23 19:28:25 UTC 2021
    - 17.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/outside_compilation.mlir

          %control_31 = tf_executor.island wraps "tf.NoOp"() {device = "/device:CPU:0"} : () -> ()
          %outputs_32, %control_33 = tf_executor.island wraps "tf.Const"() {device = "/device:CPU:0", value = dense<4> : tensor<i32>} : () -> tensor<i32>
          %control_34 = tf_executor.island wraps "tf.NoOp"() {device = "/device:CPU:0"} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:19:45 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

                                           mlir::Builder* builder) {
      // Parse GPU device compute capability from physical device description.
      static auto* r = new llvm::Regex("compute capability: ([0-9]+)\\.([0-9]+)");
    
      llvm::SmallVector<llvm::StringRef, 3> cc;
      if (r->match(device.attributes().physical_device_desc(), &cc)) {
        return mlir::TF::GpuDeviceMetadata::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/convert_to_legacy_compile_and_replicate_attributes.mlir

        %outputs, %control = tf_executor.island wraps "tf.GuaranteeConst"(%arg1) {T = f32, device = ""} : (tensor<f32>) -> tensor<f32>
        %outputs_0, %control_1 = tf_executor.island wraps "tf.GuaranteeConst"(%arg2) {T = f32, device = ""} : (tensor<f32>) -> tensor<f32>
        %control_2 = tf_executor.island wraps "tf.NoOp"() {_pivot_for_cluster = "cluster", device = ""} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

      %outputs_8 =  "tf.Const"() {device = "", value = dense<1> : tensor<i32>} : () -> tensor<i32>
      %outputs_10 =  "tf.Const"() {device = "", value = dense<256> : tensor<i32>} : () -> tensor<i32>
      %outputs_12 =  "tf.Const"() {device = "", value = dense<0> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_platform_info_test.cc

      device_setup_.AddDevicesAndSetUp({DEVICE_GPU});
      Device* device = device_setup_.GetDevice(DEVICE_GPU);
      XlaPlatformInfo platform_info = XlaPlatformInfoFromDevice(device);
    
      ResourceMgr resource_mgr("");
      OpKernelContext::Params params;
      params.resource_manager = &resource_mgr;
      params.device = device;
      OpKernelContext ctx(&params, 0);
    
      PjRtDeviceCompiler* pjrt_device_compiler = nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/tests/pick-subgraphs.mlir

        func.return %0 : tensor<2x100xf32>
      }
      func.func @func_0_GPU_FLOAT(%arg0: tensor<100xf32>, %arg1: tensor<100xf32>, %arg2: tensor<100xf32>) -> tensor<100xf32> attributes {tac.cost = 4.000000e+01 : f32, tac.device = "GPU", tac.inference_type = "FLOAT", tac.interface_name = "func_0"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir

      // CHECK-DAG: %[[COPY1:.*]] = "tf.TPUCopyWithLayout"(%[[ITER0]]#1, %[[LAYOUT1]]) {device = "/device:TPU:0"}
      // CHECK-DAG: %[[COPY2:.*]] = "tf.TPUCopyWithLayout"(%[[ITER1]]#0, %[[LAYOUT0]]) {device = "/device:TPU:1"}
      // CHECK-DAG: %[[COPY3:.*]] = "tf.TPUCopyWithLayout"(%[[ITER1]]#1, %[[LAYOUT1]]) {device = "/device:TPU:1"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.6K bytes
    - Viewed (0)
Back to top