Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dev_dims (0.05 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(a));
      EXPECT_EQ(TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(b));
    
      int64_t new_dims[] = {3, 2};
      TF_Status* status = TF_NewStatus();
      TF_TensorBitcastFrom(a, TF_UINT64, b, new_dims, 2, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status));
      TF_DeleteStatus(status);
    
      EXPECT_EQ(6, TF_TensorElementCount(a));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top