- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Resource (0.23 sec)
-
tensorflow/c/c_api_test.cc
TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length()); } TF_DeleteTensor(t); } } // namespace } // namespace tensorflow // TODO(josh11b): Test:
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/eager/c_api_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); } BENCHMARK(BM_ExecuteFunction)->Arg(0)->Arg(1); TEST(CAPI, Variables) { // Variables use resource handles, so this is really a test for resource // tensor handling. TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, 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/filesystem_interface.h
// LINT.IfChange typedef struct TF_FilesystemOps { /// Acquires all resources used by the filesystem. /// /// This operation must be provided. See "REQUIRED OPERATIONS" above. void (*init)(TF_Filesystem* filesystem, TF_Status* status); /// Releases all resources used by the filesystem /// /// NOTE: TensorFlow does not unload DSOs. Thus, the only way a filesystem
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
EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); Define(1, {add}, {feed1, feed2}, {add}, {}, true); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("The source of control edge [id=3 scalar:-1 -> add:-1] " "is not in the body. Encountered while creating " "function 'MyFunc'"), string(TF_Message(s_))); }
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/BUILD
selects.config_setting_group( name = "is_cuda_enabled_and_windows", match_all = [ ":is_cuda_enabled", ":windows", ], ) # Config setting to use in select()s to distinguish open source build from # google internal build on configurable attributes. # # For non-configurable distinction between OSS and Google builds, see # `if_oss()` and `if_google()` macros in tensorflow.bzl. config_setting(
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) -
tensorflow/c/c_api.h
// `output` if its a resource or variant tensor, or otherwise returns the empty // string. TF_CAPI_EXPORT extern TF_Buffer* TF_GetHandleShapeAndType(TF_Graph* graph, TF_Output output); // Sets `output` based on `proto`, which should be a serialized // CppShapeInferenceResult::HandleData proto. `output` should be a resource // or variant tensor.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
configure.py
os.path.exists(os.path.join(path, 'source.properties'))) android_ndk_home_path = prompt_loop_or_load_from_env( environ_cp, var_name='ANDROID_NDK_HOME', var_default=default_ndk_path, ask_for_var='Please specify the home path of the Android NDK to use.', check_success=valid_ndk_path, error_msg=('The path %s or its child file "source.properties" ' 'does not exist.'))
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) -
.bazelrc
build:resultstore --google_default_credentials build:resultstore --bes_backend=buildeventservice.googleapis.com build:resultstore --bes_instance_name="tensorflow-testing" build:resultstore --bes_results_url="https://source.cloud.google.com/results/invocations" build:resultstore --bes_timeout=600s # Flag to enable remote config common --experimental_repo_remote_exec # Make Bazel not try to probe the host system for a C++ toolchain.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu May 02 19:34:20 GMT 2024 - 52.8K bytes - Viewed (2)