- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Read (0.26 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
std::unique_ptr<RandomAccessFile> read_file; status = env_->NewRandomAccessFile(filepath, &read_file); if (!status.ok()) GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status; char scratch[64 /* must be bigger than test_data */] = {0}; StringPiece result; // read at least 1 byte more than test_data status = read_file->Read(0, test_data.size() + 1, &result, scratch);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
ASSERT_TRUE(std::find(device_names.begin(), device_names.end(), remote_device) != device_names.end()); } // Create a variable using `ctx_0`. // Read the variable using `ctx_1`. This read should succeed. // 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
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/filesystem_interface.h
ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API; ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE; ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI; ops->read_only_memory_region_ops_api = TF_READ_ONLY_MEMORY_REGION_OPS_API; ops->read_only_memory_region_ops_size = TF_READ_ONLY_MEMORY_REGION_OPS_SIZE; } /// Initializes a TensorFlow plugin. ///
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/c/c_api_function_test.cc
// Get attr AttrValue read_attr; GetAttr("test_attr_name", &read_attr); ASSERT_EQ(attr.DebugString(), read_attr.DebugString()); // Retrieve the same attr after save/restore Reincarnate(); AttrValue read_attr2; GetAttr("test_attr_name", &read_attr2); ASSERT_EQ(attr.DebugString(), read_attr2.DebugString()); } TEST_F(CApiFunctionTest, Description) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
configure.py
n_ask_attempts=_DEFAULT_PROMPT_ASK_ATTEMPTS): """Loop over user prompts for an ENV param until receiving a valid response. For the env param var_name, read from the environment or verify user input until receiving valid input. When done, set var_name in the environ_cp to its new value. Args: environ_cp: (Dict) copy of the os.environ.
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1)