- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Case (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
} block->cond_var.SignalAll(); return; case FetchState::FETCHING: block->cond_var.WaitWithTimeout(&block->mu, absl::Minutes(1)); if (block->state == FetchState::FINISHED) { return TF_SetStatus(status, TF_OK, ""); } // Re-loop in case of errors. break; case FetchState::FINISHED: return TF_SetStatus(status, TF_OK, ""); } }
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/dlpack.cc
switch (data_type) { case TF_DataType::TF_BOOL: dtype.code = DLDataTypeCode::kDLBool; break; case TF_DataType::TF_HALF: case TF_DataType::TF_FLOAT: case TF_DataType::TF_DOUBLE: dtype.code = DLDataTypeCode::kDLFloat; break; case TF_DataType::TF_INT8: case TF_DataType::TF_INT16: case TF_DataType::TF_INT32: case TF_DataType::TF_INT64:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
calls++; char c = (filename == "a") ? 'a' : (filename == "b") ? 'b' : 'x'; if (offset > 0) { // The first block is lower case and all subsequent blocks are upper case. c = toupper(c); } memset(buffer, c, n); TF_SetStatus(status, TF_OK, ""); return n; }; // This cache has space for 4 blocks; we'll read from two files.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
switch (default_value.value_case()) { case tensorflow::AttrValue::kS: { const string& v = default_value.s(); TFE_OpSetAttrString(op, attr_name, v.data(), v.size()); break; } case tensorflow::AttrValue::kI: TFE_OpSetAttrInt(op, attr_name, static_cast<int64_t>(default_value.i())); break; case tensorflow::AttrValue::kF:
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/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
#include <functional> #include <iostream> #include <list> #include <map> #include <memory> #include <string> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/synchronization/mutex.h" #include "absl/synchronization/notification.h" #include "tensorflow/c/env.h" #include "tensorflow/c/logging.h" #include "tensorflow/c/tf_status.h"
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
size_t storage_size, TF_Status* status); // Infer OpInfo::TensorProperties for graph nodes inputs/outputs. // // Typical use case, is to infer tensor properties from a graph, before doing // optimization pass. Nodes modified during optimization pass have to be // invalidated, to prevent further incorrect optimizations based on wrong shape
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
inline bool IsDtypeTrainable(DataType dtype) { switch (dtype) { case DT_HALF: case DT_BFLOAT16: case DT_FLOAT: case DT_DOUBLE: case DT_COMPLEX64: case DT_COMPLEX128: case DT_RESOURCE: case DT_VARIANT: return true; case DT_QINT8: case DT_QINT16: case DT_QINT32: case DT_QUINT8: case DT_QUINT16: return tensorflow::flags::Global()
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) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
- case 9: \ - __u->__ui = __c * 0x01010101; \ - __u = __extension__ ((void *) __u + 4); \ - case 5: \ - __u->__ui = __c * 0x01010101; \ - __u = __extension__ ((void *) __u + 4); \ - case 1: \ - __u->__uc = (unsigned char) __c; \ - break; \ - \ - case 16: \
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental_test.cc
#include "tensorflow/core/protobuf/config.pb.h" using tensorflow::string; namespace tensorflow { namespace { static bool HasSubstr(absl::string_view base, absl::string_view substr) { bool ok = absl::StrContains(base, substr); EXPECT_TRUE(ok) << base << ", expected substring " << substr; return ok; } TEST(CAPI, MonitoringCounter0) { TF_Status* status = TF_NewStatus(); auto* counter =
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/eager/c_api_experimental.h
// Creates a new TensorHandle from memory residing in the physical device // device_name. Takes ownership of the memory, and will call deleter to release // it after TF no longer needs it or in case of error. // // Custom devices must use TFE_NewCustomDeviceTensorHandle instead. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)