Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for device_type (0.21 sec)

  1. tensorflow/c/experimental/next_pluggable_device/c_api.cc

          tensorflow::DeviceType(device_type), std::move(*pjrt_client));
      status->status = s;
    }
    
    void TF_ResetPjRtCClient(const char* device_type, TF_Status* status) {
      status->status =
          tensorflow::ResetPjRtClient(tensorflow::DeviceType(device_type));
    }
    
    PJRT_Client* TF_GetPjRtCClient(const char* device_type, TF_Status* status) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  2. tensorflow/c/eager/dlpack.cc

      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
        ctx.device_type = DLDeviceType::kDLCPU;
      } else if (device_type == "GPU") {
    #if TENSORFLOW_USE_ROCM
        ctx.device_type = DLDeviceType::kDLROCM;
    #else
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_TensorHandle* hcpu = TestMatrixTensorHandle(ctx);
      const char* device_type = TFE_TensorHandleDeviceType(hcpu, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_TRUE(absl::StrContains(device_type, "CPU")) << device_type;
      int device_id = TFE_TensorHandleDeviceID(hcpu, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/grappler/grappler_test.cc

        TF_SetStatus(status, TF_OK, "");
        PopulateDefaultParam(params);
        params->device_type = "Device0";
      };
      auto plugin_init_1 = [](TP_OptimizerRegistrationParams* const params,
                              TF_Status* const status) -> void {
        TF_SetStatus(status, TF_OK, "");
        PopulateDefaultParam(params);
        params->device_type = "Device1";
      };
    
      TF_ASSERT_OK(InitGraphPlugin(plugin_init_0));
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/grappler/grappler.cc

      TF_RETURN_IF_ERROR(ValidateTPOptimizerConfigs(optimizer_configs));
    
      CGraphOptimizerRegister(
          [=]() { return new CGraphOptimizer(optimizer, params.device_type); },
          optimizer_configs, params.device_type);
    
      return absl::OkStatus();
    }
    
    }  // namespace grappler
    }  // namespace tensorflow
    
    void TF_GetNodesToPreserveListSize(const TF_GrapplerItem* item, int* num_values,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb/NtStatus.java

        public static final int NT_STATUS_NETWORK_NAME_DELETED = 0xC00000c9;
        public static final int NT_STATUS_NETWORK_ACCESS_DENIED = 0xC00000ca;
        public static final int NT_STATUS_BAD_DEVICE_TYPE = 0xC00000cb;
        public static final int NT_STATUS_BAD_NETWORK_NAME = 0xC00000cc;
        public static final int NT_STATUS_REQUEST_NOT_ACCEPTED = 0xC00000d0;
        public static final int NT_STATUS_CANT_ACCESS_DOMAIN_INFO = 0xC00000da;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.h

    //    void TF_InitGraph(TP_OptimizerRegistrationParams* params,
    //                            TF_Status* status) {
    //      params->struct_size = TP_OPTIMIZER_REGISTRATION_PARAMS_STRUCT_SIZE;
    //      params->device_type = "MY_DEVICE";
    //
    //      // Disable certain optimizer.
    //      params->optimizer_configs->struct_size =
    //      TP_OPTIMIZER_CONFIGS_STRUCT_SIZE; params->optimizer_configs->remapping =
    //      TF_TriState_Off;
    //
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.h

                                                         int num_values);
    
    // Checks the tensorflow::NodeDef built via the methods above to see if it can
    // run on device_type.
    TF_CAPI_EXPORT extern void TF_AttrBuilderCheckCanRunOnDevice(
        TF_AttrBuilder* builder, const char* device_type, TF_Status* status);
    
    // For argument number input_index, fetch the corresponding number_attr that
    // needs to be updated with the argument length of the input list.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test_util.cc

        const string dev_name(TF_DeviceListName(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (dev_type == device_type) {
          *device_name = dev_name;
          LOG(INFO) << "Found " << device_type << " device " << *device_name;
          TF_DeleteDeviceList(devices);
          return true;
        }
      }
      TF_DeleteDeviceList(devices);
      return false;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  10. tensorflow/c/c_api_experimental.cc

    }
    
    void TF_AttrBuilderCheckCanRunOnDevice(TF_AttrBuilder* builder,
                                           const char* device_type,
                                           TF_Status* status) {
      status->status = tensorflow::FindKernelDef(
          tensorflow::DeviceType(device_type), builder->BuildNodeDef(),
          /* def = */ nullptr, /* kernel_class_name = */ nullptr);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top