- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for Resource (0.21 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) -
SECURITY.md
implement, and therefore security issues deriving from their absence are not considered a vulnerability in TensorFlow. ### Resource allocation A denial of service caused by one model could bring down the entire server, but we don't consider this as a vulnerability, given that models can exhaust resources in many different ways and solutions exist to prevent this from happening (e.g., rate limits, ACLs, monitors to restart broken servers).
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Sun Oct 01 06:06:35 GMT 2023 - 9.6K bytes - Viewed (0) -
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/eager/immediate_execution_context.h
virtual void ClearCachesAndThreadExecutors() = 0; // Initialize the step resource container for a training step. This is used // in current TF runtime. For tfrt, it is used by fallback op handler. virtual void StartStep() = 0; // Destroy the step resource container for a training step. virtual void EndStep() = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
*dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape()); if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString( string(static_cast<const char*>(tensor_interface->Data()), tensor_interface->ByteSize()))) { return InvalidArgument( "Malformed TF_RESOURCE tensor: unable to parse resource handle"); } return absl::OkStatus(); } return absl::OkStatus(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
ci/official/wheel_test/test_import_api_packages.py
""" import logging import unittest import pkg_resources logging.basicConfig(level=logging.INFO) class ImportApiPackagesTest(unittest.TestCase): """ImportApiPackagesTest class. See description at the top of the file.""" def setUp(self): def _get_api_packages_v2(): api_packages_path = pkg_resources.resource_filename( "tensorflow", "_api/v2/api_packages.txt" )
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 13 15:52:07 GMT 2023 - 3.3K bytes - Viewed (1) -
ci/official/code_check_full.sh
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== source "${BASH_SOURCE%/*}/utilities/setup.sh"
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Feb 06 17:29:44 GMT 2024 - 840 bytes - Viewed (0) -
ci/official/envs/linux_x86_cuda
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== source ci/official/envs/linux_x86 TFCI_BAZEL_COMMON_ARGS="--repo_env=TF_PYTHON_VERSION=$TFCI_PYTHON_VERSION --config release_gpu_linux" TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_cuda
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 19 00:24:30 GMT 2024 - 1K bytes - Viewed (0) -
ci/official/utilities/get_versions.sh
# Variables containing version strings extracted from the canonical sources: # tensorflow/core/public/version.h and tools/pip_package/setup.py. # # These variables aren't available by default. Scripts must source this file # explicitly, *after* checking if update_version.py needs to be run for a # nightly job. update_version.py affects TF_VER_SUFFIX, TF_VER_PYTHON, and # TF_VER_FULL.
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 2.3K bytes - Viewed (0) -
ci/official/utilities/generate_index_html.sh
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Sep 29 20:26:13 GMT 2023 - 2.3K bytes - Viewed (0)