Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Services (0.25 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TF_DeviceList* devices = TFE_ContextListDevices(ctx, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_DeleteContext(ctx);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const int num_devices = TF_DeviceListCount(devices);
      EXPECT_GE(num_devices, 1) << "At least one CPU device should exist";
      for (int i = 0; i < num_devices; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      float* m_float = static_cast<float*>(TF_TensorData(m_data));
      TF_DeviceList* devices = TFE_ContextListDevices(ctx, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      int num_devices = TF_DeviceListCount(devices);
      for (int d = 0; d < num_devices; ++d) {
        const char* name = TF_DeviceListName(devices, d, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    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)
  3. tensorflow/c/c_api_test.cc

      TF_DeviceList* device_list = list.get();
    
      CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      const int num_devices = TF_DeviceListCount(device_list);
      LOG(INFO) << "There are " << num_devices << " devices.";
      for (int i = 0; i < num_devices; ++i) {
        const char* device_name = TF_DeviceListName(device_list, i, s);
        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. ci/devinfra/docker_windows/Dockerfile

        sdkmanager 'sources;android-27'; \
        sdkmanager 'extras;google;Android_Emulator_Hypervisor_Driver'; \
        sdkmanager 'extras;google;auto'; \
        sdkmanager 'extras;google;google_play_services'; \
        sdkmanager 'extras;google;instantapps'; \
        sdkmanager 'extras;google;m2repository'; \
        sdkmanager 'extras;google;market_apk_expansion'; \
        sdkmanager 'extras;google;market_licensing'; \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

                                                       size_t proto_len,
                                                       TF_Status* status);
    
    // TODO(b/166642410): It would be nice, for custom devices and for other users,
    // to have a non-string representation of devices (TF_Device) extracted from
    // tensors/ops/etc. and usable in APIs like OpSetDevice/ResetOp/etc.
    
    #define TFE_CUSTOM_DEVICE_VERSION 4
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. ci/official/envs/versions_upload

    # pretend the path is a directory.
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    TFCI_ARTIFACT_FINAL_GCS_SA_PATH="${KOKORO_KEYSTORE_DIR}/73361_tensorflow_release_binary_uploader_service_account"
    TFCI_ARTIFACT_FINAL_GCS_URI="gs://tensorflow/versions/"
    TFCI_ARTIFACT_FINAL_PYPI_ARGS="--config-file=$KOKORO_KEYSTORE_DIR/73361_tensorflow_pypirc_using_global_api_token --repository pypi-warehouse"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 19 19:07:48 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Check if the remote task is alive.
      virtual Status CheckRemoteAlive(const std::string& remote_task_name,
                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
      virtual tsl::CoordinationServiceAgent* GetCoordinationServiceAgent() = 0;
    };
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  9. tensorflow/c/eager/c_api_test_util.cc

          TF_NewStatus(), TF_DeleteStatus);
      TF_DeviceList* devices = TFE_ContextListDevices(ctx, status.get());
      CHECK_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      const int num_devices = TF_DeviceListCount(devices);
      for (int i = 0; i < num_devices; ++i) {
        const string dev_type(TF_DeviceListType(devices, i, status.get()));
    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/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top