- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 78 for Done (0.13 sec)
-
tensorflow/c/c_api_test.cc
TF_Graph* graph = TF_NewGraph(); // Make two scalar constants. TF_Operation* one = ScalarConst(1, graph, s, "one"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_Operation* two = ScalarConst(2, graph, s, "two"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Add oper. TF_Operation* add = Add(one, two, graph, s, "add"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
size_t finish = block_size_ * ((offset + n) / block_size_); if (finish < offset + n) { finish += block_size_; } size_t total_bytes_transferred = 0; // Now iterate through the blocks, reading them one at a time. for (size_t pos = start; pos < finish; pos += block_size_) { Key key = std::make_pair(filename, pos); // Look up the block, fetching and inserting it if necessary, and update the
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TFE_DeleteContext(ctx); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); const int num_devices = TF_DeviceListCount(devices); EXPECT_GE(num_devices, 1) << "At least one CPU device should exist"; for (int i = 0; i < num_devices; ++i) { EXPECT_NE("", TF_DeviceListName(devices, i, status)) << i; EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
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
} return absl::OkStatus(); } // TODO(agarwal): use an automatic mechanism for handling None arguments to // gradient functions. // // Some gradient functions can accept None arguments for gradients. The // following maps the operation name to the indices at which the corresponding // gradient function can accept None values. e.g. FusedBatchNorm outputs 5 // values and hence receives 5 gradient values during backprop. However the
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/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) -
ci/official/utilities/setup.sh
# Sources every env, in order, from the comma-separated list "TFCI" # Assumes variables will resolve themselves correctly. set +u for env_file in ${TFCI//,/ }; do source "./ci/official/envs/$env_file" done set -u echo '==TFCI==: Evaluated the following TFCI variables from $TFCI:' export -p | grep TFCI # Load those stored pre-existing TFCI_ vars, if any if [[ -s "$FROM_ENV" ]]; then
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 00:33:34 GMT 2024 - 5.2K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// operation tables as read-only. Once a plugin is loaded, none of these /// operation pointers may change. /// /// There are 4 function tables: one for each of the 3 file objects in /// TensorFlow (i.e., `RandomAccessFile`, `WritableFile`, /// `ReadOnlyMemoryRegion`) and one for all the operations a `Filesystem` /// implements. Each of them is in a 1-to-1 correspondence with the wrapper
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/BUILD
# copybara:comment_begin(OSS Windows only: DEF file for exported symbols) win_def_file = select({ "//tensorflow:windows": ":tensorflow_filtered_def_file", "//conditions:default": None, }), # copybara:comment_end deps = [ "//tensorflow/c:c_api", "//tensorflow/c:c_api_experimental", "//tensorflow/c:exported_symbols.lds",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8)