Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ScalarFloatFromTensor (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      TF_DeleteSession(sess, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      float dxy_dxValue = 0.0f, dxy_dyValue = 0.0f;
      ScalarFloatFromTensor(fetchValues[0], &dxy_dxValue);
      EXPECT_EQ(Y, dxy_dxValue);
    
      ScalarFloatFromTensor(fetchValues[1], &dxy_dyValue);
      EXPECT_EQ(X, dxy_dyValue);
    
      TF_DeleteTensor(fetchValues[0]);
      TF_DeleteTensor(fetchValues[1]);
    }
    
    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