- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for TestMatrixTensorHandle100x100 (0.27 seconds)
-
tensorflow/c/eager/c_api_test_util.h
T data[] = {value}; return TestTensorHandleWithDims<T, datatype>(ctx, data, nullptr, 0); } // Return a tensor handle containing a 100x100 matrix of floats TFE_TensorHandle* TestMatrixTensorHandle100x100(TFE_Context* ctx); // Return a tensor handle containing a 3x2 matrix of doubles TFE_TensorHandle* DoubleTestMatrixTensorHandle3X2(TFE_Context* ctx); // Return a tensor handle containing a 3x2 matrix of floats
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
TFE_Context* ctx = TFE_NewContext(opts, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteContextOptions(opts); TFE_TensorHandle* n = TestMatrixTensorHandle100x100(ctx); // If a GPU exists, copy the handle to GPU so that we can exercise // unprotecting a mirror. std::string gpu_device_name; if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteTensor(t); TF_DeleteStatus(status); return th; } TFE_TensorHandle* TestMatrixTensorHandle100x100(TFE_Context* ctx) { constexpr int64_t dims[] = {100, 100}; constexpr int num_elements = dims[0] * dims[1]; float data[num_elements]; for (int i = 0; i < num_elements; ++i) { data[i] = 1.0f;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 23.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_remote_test.cc
Yujing Zhang <******@****.***> 1597190920 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Aug 12 00:14:22 GMT 2020 - 5.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
Yujing Zhang <******@****.***> 1607726961 -0800
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Click Count (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// Use large matrices so that RPCs don't return before we get a chance // to call TFE_DeleteContext. TFE_TensorHandle* h0_task0 = TestMatrixTensorHandle100x100(ctx); TFE_TensorHandle* h1_task0 = TestMatrixTensorHandle100x100(ctx); const char remote_device_name[] = "/job:localhost/replica:0/task:1/device:CPU:0"; auto* h0_task1 =
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 23.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_debug_test.cc
Gaurav Jain <******@****.***> 1586210724 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Apr 06 22:10:09 GMT 2020 - 2.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
A. Unique TensorFlower <******@****.***> 1728709129 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 39.1K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_test.cc
Allen Lavoie <******@****.***> 1598571038 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
A. Unique TensorFlower <******@****.***> 1759988790 -0700
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0)