- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for initialized (0.14 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
// // 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var"); // 2. Wait for `var` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api_function_test.cc
typedef std::pair<string, DataType> IOSpec; const char* kFeedStackToString = "File \"feed.cc\", line 10, in alpha"; const char* kNegStackToString = "File \"neg.cc\", line 15, in beta"; std::vector<IOSpec> M(const std::initializer_list<string>& names) { std::vector<IOSpec> v; for (const string& name : names) { v.push_back(IOSpec(name, DT_INVALID)); } return v; } // Specification for an expected edge. // src is either:
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) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
auto core_read_only_memory_region_ops = CopyToCore<TF_ReadOnlyMemoryRegionOps>( info->ops[index].read_only_memory_region_ops, info->ops[index].read_only_memory_region_ops_size); // Step 2: Initialize the opaque filesystem structure auto filesystem = std::make_unique<TF_Filesystem>(); TF_Status* c_status = TF_NewStatus(); Status status = OkStatus(); core_filesystem_ops->init(filesystem.get(), c_status);
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/c_api_test.cc
// 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2"); // 2. Wait for `var2` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(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/eager/c_api.cc
tensorflow::errors::InvalidArgument("Unparseable AttrValue proto"); return; } if (op == nullptr) { status->status = tensorflow::errors::InvalidArgument( "Got a null or uninitialized `op` argument"); return; } tensorflow::EagerOperation* operation = OperationFromInterface(tensorflow::unwrap(const_cast<TFE_Op*>(op))); operation->MutableAttrs()->Set(attr_name, attr_value); }
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) -
tensorflow/c/checkpoint_reader.cc
: reader_(nullptr), v2_reader_(nullptr), var_to_shape_map_(nullptr), var_to_data_type_map_(nullptr) { // Depending on whether this is a V2 ckpt, initializes "reader_" or // "v2_reader_". std::vector<string> v2_path; if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() && !v2_path.empty()) { v2_reader_.reset(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// `::testing::TempDir()`, will use a RNG component and the test name. This // ensures that two consecutive runs are unlikely to clash. class ModularFileSystemTest : public ::testing::TestWithParam<std::string> { public: // Initializes `root_dir_` to a unique value made of `::testing::TempDir()`, a // static random value unique for all the tests in one invocation, and the // current test name. //
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)