Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for James (0.38 sec)

  1. tensorflow/c/eager/c_api_test.cc

      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_0);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      {
        const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
    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/c_api_test.cc

      // Check unused input mappings
      int num_unused_input_mappings;
      const char** src_names;
      int* src_indexes;
      TF_ImportGraphDefResultsMissingUnusedInputMappings(
          results, &num_unused_input_mappings, &src_names, &src_indexes);
      ASSERT_EQ(1, num_unused_input_mappings);
      EXPECT_EQ(string("fake"), string(src_names[0]));
      EXPECT_EQ(0, src_indexes[0]);
    
      TF_DeleteImportGraphDefResults(results);
    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)
Back to top