Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for James (1.39 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)
  3. tensorflow/c/c_api_function_test.cc

      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
      GetGraphDef(host_graph_, &gdef);
      std::vector<string> func_names = GetFuncNames(gdef);
      ASSERT_EQ(2, func_names.size());
      ASSERT_EQ(func_name_, func_names[0]);
      ASSERT_EQ("MyGrad", func_names[1]);
      std::vector<std::pair<string, string>> grads = GetGradDefs(gdef);
      ASSERT_EQ(1, grads.size());
      ASSERT_EQ(func_name_, grads[0].first);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top