Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for __component (0.67 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          underlying_devices_.size());
      for (int component_index = 0; component_index < underlying_devices_.size();
           ++component_index) {
        if (!DeviceNameUtils::ParseFullName(underlying_devices_[component_index],
                                            &parsed_components[component_index]) ||
            !DeviceNameUtils::IsSameAddressSpace(
                underlying_devices_[component_index], underlying_devices_[0])) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

                           status.get()),
          variable_deleter);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      // Assign an initial value to the variable, mirroring it to each component
      // device.
      {
        TensorHandlePtr initial_value_cpu = FloatTensorHandle(20., status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
      ExpectScalarEq<float>(second_components[1].get(), 9.);
    
      // Verify that the mirrors are placed on the component devices.
      std::string first_device = TFE_TensorHandleBackingDeviceName(
          second_components[0].get(), status.get());
      ASSERT_EQ(second_underlying_devices[0], first_device);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_distributed_test.cc

    // second worker, and run a distributed function (VariableAddFunction) whose ops
    // span the local and remote workers. If the graph optimization pass is executed
    // on both the main function side and the component function side, an error will
    // be thrown in the registered graph optimization pass.
    TEST(CAPI, DistributedFunctionGraphPassOnlyOnce) {
      // Register graph pass that will raise error if called more than once.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    class ModularFileSystemTest : public ::testing::TestWithParam<std::string> {
     public:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top