- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for FloatTensor2x2 (0.15 sec)
-
tensorflow/c/c_api_test.cc
"gradients/MatMul_1", true, false); expected_grad_outputs[0] = {matmul1, 0}; expected_grad_outputs[1] = {matmul2, 0}; } TF_Tensor* FloatTensor2x2(const float* values) { const int64_t dims[2] = {2, 2}; TF_Tensor* t = TF_AllocateTensor(TF_FLOAT, dims, 2, sizeof(float) * 4); memcpy(TF_TensorData(t), values, sizeof(float) * 4); return t; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)