Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_TensorData (0.34 sec)

  1. tensorflow/c/c_api_test.cc

      // Check that a write to one tensor shows up in the other.
      *(static_cast<int64_t*>(TF_TensorData(a))) = 4;
      EXPECT_EQ(4, *(static_cast<int64_t*>(TF_TensorData(b))));
      *(static_cast<int64_t*>(TF_TensorData(b))) = 6;
      EXPECT_EQ(6, *(static_cast<int64_t*>(TF_TensorData(a))));
    
      TF_DeleteTensor(a);
      TF_DeleteTensor(b);
    }
    
    TEST(CAPI, TestFromProto) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top