- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for dong (0.15 sec)
-
tensorflow/c/eager/c_api.h
// destination tensor to be placed in host memory). // If async execution is enabled, the copy may be enqueued and the call will // return "non-ready" handle. Else, this function returns after the copy has // been done. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopyToDevice( TFE_TensorHandle* h, TFE_Context* ctx, const char* device_name, TF_Status* status); // Debugging/Profiling information for TFE_TensorHandle
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
# it, and print that list for debugging. Not really clear if this is # helpful since the only examples I've seen are enormous. bazel query "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)" done < $BATS_TEST_TMPDIR/missing_deps exit 1 fi } # The Python package is not allowed to depend on any CUDA packages. @test "Pip package doesn't depend on CUDA" { bazel cquery \
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
CONTRIBUTING.md
Use `clang-tidy` to check your C/C++ changes. To install `clang-tidy` on ubuntu:16.04, do: ```bash apt-get install -y clang-tidy ``` You can check a C/C++ file by doing: ```bash clang-format <my_cc_file> --style=google > /tmp/my_cc_file.cc diff <my_cc_file> /tmp/my_cc_file.cc ``` #### Python coding style Changes to TensorFlow Python code should conform to
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
// Set device to CPU since there is no version of split for int32 on GPU // TODO(iga): Convert all these helpers and tests to use floats because // they are usually available on GPUs. After doing this, remove TF_SetDevice // call in c_api_function_test.cc TF_SetDevice(desc, "/cpu:0"); *op = TF_FinishOperation(desc, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); ASSERT_NE(*op, nullptr); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
#include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/errors.h" namespace tensorflow { // Checks that all schemes provided by a plugin are valid. // TODO(b/139060984): More validation could be done here, based on supported // charset, maximum length, etc. Punting it for later. static Status ValidateScheme(const char* scheme) { if (scheme == nullptr) return errors::InvalidArgument(
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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// TODO(vnvo2409): We could do some cleanups like `return TF_SetStatus`. // TODO(vnvo2409): Refactor the filesystem implementation when // https://github.com/googleapis/google-cloud-cpp/issues/4482 is done. GCSFile::GCSFile(google::cloud::storage::Client&& gcs_client) : gcs_client(gcs_client), block_cache_lock() { const char* append_mode = std::getenv(kAppendMode);
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/tape.h
// Below here we do the gradient algorithm. It works as follows: // // First we filter the tape to just the subset of operations we want to // differentiate. In the process of doing so we count how many times each Tensor // is used as an input to an op (so we know when we're done computing gradients // for that Tensor). We also count, for each tape entry, how many of its output // Tensors need gradients to be computed (Tensors which are not used do not need
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.cc
auto collective_executor_handle = context->GetCollectiveExecutorHandle(); tensorflow::Notification done; collective_executor_handle->get()->remote_access()->CheckPeerHealth( task, timeout_in_ms, [&done, status](const Status& s) { status->status = s; done.Notify(); }); done.WaitForNotification(); } TF_ShapeAndTypeList* TF_NewShapeAndTypeList(int num_items) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
# it, and print that list for debugging. Not really clear if this is # helpful since the only examples I've seen are enormous. bazel cquery "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)" done < $BATS_TEST_TMPDIR/missing_deps exit 1 fi } # The Python package is not allowed to depend on any CUDA packages. @test "Pip package doesn't depend on CUDA" { bazel cquery \
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 06 21:54:13 GMT 2024 - 13.2K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad_test.cc
} TEST_P(CppGradients, TestMatMulGrad) { // TODO(vnvo2409): Figure out why `gradient_checker` does not work very // well with `MatMul` and remove `TestMatMul*` in // `mnist_gradients_test` when done. GTEST_SKIP(); float A_vals[] = {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f}; int64_t A_dims[] = {3, 3}; AbstractTensorHandlePtr A; { AbstractTensorHandle* A_raw;
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Apr 13 17:32:14 GMT 2023 - 16.3K bytes - Viewed (0)