Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSame (0.22 sec)

  1. tensorflow/c/eager/c_api_test.cc

        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
          continue;
        }
        // Copy from device to the same device.
        TFE_TensorHandle* hdevice2 =
            TFE_TensorHandleCopyToDevice(hdevice, ctx, name.c_str(), status.get());
        if (TF_GetCode(status.get()) != TF_OK) {
    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

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, num_dims);
      EXPECT_EQ(2, returned_dims[0]);
      EXPECT_EQ(3, returned_dims[1]);
    
      // Try to set 'unknown' with same rank on the shape and see that
      // it doesn't change.
      dims[0] = -1;
      dims[1] = -1;
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      EXPECT_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)
Back to top