- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FloatTensor (0.08 sec)
-
tensorflow/c/c_test_util.cc
double* values = new double[1]; values[0] = v; return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes, &DoubleDeallocator, nullptr); } TF_Tensor* FloatTensor(float v) { const int num_bytes = sizeof(float); float* values = new float[1]; values[0] = v; return TF_NewTensor(TF_FLOAT, nullptr, 0, values, num_bytes, &FloatDeallocator, nullptr); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0)