- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for where (0.12 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
// // If the numbers don't match, plugin cannot be loaded. static Status CheckABI(int pluginABI, int coreABI, StringPiece where) { if (pluginABI != coreABI) return errors::FailedPrecondition( strings::StrCat("Plugin ABI (", pluginABI, ") for ", where, " operations doesn't match expected core ABI (", coreABI, "). Plugin cannot be loaded."));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
using ExecutorPtr = std::unique_ptr<TFE_Executor, ExecutorDeleter>; } // namespace // Allows a single op at a time to be launched without blocking. // // DeviceThread itself is thread-safe, in that StartExecute will block if there // is a pending execution. Since StartExecute is equivalent to grabbing a lock, // multiple DeviceThreads should always be accessed in the same order to avoid // deadlocks. class DeviceThread { public:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
} status->status = cc_status; } // ------------------------- VariableInfo ------------------------------------ struct TF_VariableInfo { TF_VariableInfo() = delete; // TF_VariableInfo is constructed here by TensorFlow, and will be passed to // plugin as a opaque pointer. Plugin will need to call C APIs below to // operate on TF_VariableInfo (such as allocate temp tensor for the `var` held
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/math_grad.cc
absl::Span<AbstractTensorHandle*> grad_inputs) override { /* Given upstream grad U and a matmul op A*B, the gradients are: * * dA = U * B.T * dB = A.T * U * * where A.T means `transpose(A)` */ AbstractTensorHandle* upstream_grad = grad_outputs[0]; // Get transpose attrs bool t_a; TF_RETURN_IF_ERROR(forward_attrs_.Get("transpose_a", &t_a));
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
/*input_tensors*/ {}, /*expected_shape*/ make_shape({kUnknownDim, kUnknownDim})); TFE_DeleteOp(matmul_op); // TODO(bgogul): Add some death tests where status is not OK. } TEST_F(ShapeInferenceTest, InfersShapesFromInputTensors) { // Prepare some tensors for shape. TF_Tensor* tensor_1X6 = Int32Tensor({1, 6});
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
// Remove the blocks from "a". cache.RemoveFile("a"); // Both blocks from "b" should still be there. TF_EXPECT_OK(ReadCache(&cache, "b", 0, n, &out)); EXPECT_EQ(out, b); TF_EXPECT_OK(ReadCache(&cache, "b", 8, n, &out)); EXPECT_EQ(out, B); EXPECT_EQ(calls, 4); // The blocks from "a" should not be there. TF_EXPECT_OK(ReadCache(&cache, "a", 0, n, &out)); EXPECT_EQ(out, a); EXPECT_EQ(calls, 5);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
void DeleteDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { // A directory is considered empty either if there are no matching objects // with the corresponding name prefix or if there is exactly one matching // object and it is the directory marker. Therefore we need to retrieve // at most two children for the prefix to detect if a directory is empty.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
} // TODO(vnvo2409): Add more tests from `python/ops/gradient_checker_v2_test.py`. // These tests should not be confused with `[*]_grad_test` which compare the // result of `gradient_checker` and `[*]_grad`. The tests here test the // functionality of `gradient_checker` by comparing the result with expected // manual user-provided gradients. class GradientCheckerTest : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 6.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
TFE_TensorHandle* h1_task0 = TestMatrixTensorHandle(ctx); std::vector<TFE_TensorHandle*> handles_task0; if (heavy_load_on_streaming_rpc) { // Send 50 tensor copy requests to simulate that there have been some RPC // requests been enqueued. for (int i = 0; i < 50; ++i) { handles_task0.push_back(TestMatrixTensorHandle(ctx)); } }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
// TODO(b/175427838): It would be nice to be able to use tensorflow::isa here. if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) { return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>( unwrapped_handle) ->DevicePointer(); } // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here. if (!tensorflow::TensorHandle::classof(unwrapped_handle)) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)