Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for what (0.23 sec)

  1. tensorflow/c/c_api_test.cc

      // Fetch and see that the new value is returned.
      TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, num_dims, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(dims[0], returned_dims[0]);
      EXPECT_EQ(dims[1], returned_dims[1]);
    
      // Try to set 'unknown' with unknown rank on the shape and see that
      // it doesn't change.
    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)
  2. tensorflow/c/eager/c_api_test.cc

        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
          continue;
        }
        TFE_DeleteTensorHandle(hdevice2);
    
        // Ensure that the contents are the same!
        TF_Tensor* tcopy = TFE_TensorHandleResolve(hcopy, status.get());
        TFE_DeleteTensorHandle(hcopy);
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag;
          continue;
    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)
Back to top