Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_Version (0.06 sec)

  1. tensorflow/c/c_api.h

    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // --------------------------------------------------------------------------
    // TF_Version returns a string describing version information of the
    // TensorFlow library. TensorFlow uses semantic versioning.
    TF_CAPI_EXPORT extern const char* TF_Version(void);
    
    // Parsing a serialized TensorProto into a TF_Tensor.
    TF_CAPI_EXPORT extern void TF_TensorFromProto(const TF_Buffer* from,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      const string gpu_device_name = GPUDeviceName(sess);
      TF_DeleteSession(sess, s);
      CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      return gpu_device_name;
    }
    
    TEST(CAPI, Version) { EXPECT_STRNE("", TF_Version()); }
    
    TEST(CAPI, Status) {
      TF_Status* s = TF_NewStatus();
      EXPECT_EQ(TF_OK, TF_GetCode(s));
      EXPECT_EQ(string(), TF_Message(s));
      TF_SetStatus(s, TF_CANCELLED, "cancel");
    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