- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for shouldn (0.16 sec)
-
tensorflow/c/c_api_test.cc
} void NoOpDeallocator(void* data, size_t, void*) {} TEST(CAPI, MalformedTensor) { // See https://github.com/tensorflow/tensorflow/issues/7394 // num_dims = 0 implies a scalar, so should be backed by at least 4 bytes of // data. TF_Tensor* t = TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr); ASSERT_TRUE(t == nullptr); } TEST(CAPI, AllocateTensor) {
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/tape.h
void Watch(int64_t tensor_id, Gradient* tangent); // Removes the gradient associated with tensor_id. Should be called when the // Tensor associated with `tensor_id` is deleted. void DeleteGradient(int64_t tensor_id); // Runs forward autodiff. Should be called whenever a new operation is // available and the accumulator is active. //
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) -
tensorflow/api_template.__init__.py
importlib.import_module("tf_keras.src.optimizers") else: importlib.import_module("keras.src.optimizers") except (ImportError, AttributeError): pass del importlib # Delete modules that should be hidden from dir(). # Don't fail if these modules are not available. # For e.g. this file will be originally placed under tensorflow/_api/v1 which # does not have "python", "core" directories. Then, it will be copied
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
tensorflow/c/c_api.cc
string prefix_cmp; const char* child_scope_name; if (prefix == nullptr) { child_scope_name = "gradients"; } else { prefix_cmp = string(prefix) + "/"; // The operation should fail if the provided name prefix has already been // used in this graph for (const auto& pair : g->name_map) { const string& name = pair.first;
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) -
tensorflow/c/eager/c_api_experimental.h
TFE_MonitoringCounterCell* cell); // APIs for Counter without label. typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0; // Returns a new Counter metric object. The caller should manage lifetime of // the object. Using duplicate metric name will crash the program with fatal // error. TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
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) -
CONTRIBUTING.md
submitting PRs to fix one typo, one warning,etc. We recommend fixing the same issue at the file level at least (e.g.: fix all typos in a file, fix all compiler warnings in a file, etc.) * Tests should follow the [testing best practices](https://www.tensorflow.org/community/contribute/tests) guide. #### License Include a license at the top of new files.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/BUILD
"modular_filesystem.cc", "modular_filesystem_registration.cc", ], hdrs = [ "modular_filesystem.h", "modular_filesystem_registration.h", ], # TODO(b/139060984): Visibility should be more restrictive once we # convert to modular filesystems everywhere visibility = ["//visibility:public"], deps = [ ":filesystem_interface", "//tensorflow/c:tf_status_helper",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 2.1K bytes - Viewed (0) -
RELEASE.md
### Breaking Changes * <DOCUMENT BREAKING CHANGES HERE> * <THIS SECTION SHOULD CONTAIN API, ABI AND BEHAVIORAL BREAKING CHANGES> ### Known Caveats * <CAVEATS REGARDING THE RELEASE (BUT NOT BREAKING CHANGES).> * <ADDING/BUMPING DEPENDENCIES SHOULD GO HERE> * <KNOWN LACK OF SUPPORT ON SOME PLATFORM, SHOULD GO HERE> ### Major Features and Improvements * <INSERT MAJOR FEATURE HERE, USING MARKDOWN SYNTAX>
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
tensorflow/BUILD
# Config setting that is satisfied when CUDA device code should be compiled # with clang. It does not imply that CUDA support has been enabled. alias( name = "is_cuda_compiler_clang", actual = if_oss( "@local_config_cuda//:is_cuda_compiler_clang", "@local_config_cuda//cuda:TRUE", ), ) # Config setting that is satisfied when CUDA device code should be compiled
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/eager/c_api.cc
#endif // !IS_MOBILE_PLATFORM return tensorflow::wrap(eager_context); } void TFE_DeleteContext(TFE_Context* ctx) { if (ctx == nullptr) { return; } // ctx->RefCountIsOne() should be true here. tensorflow::unwrap(ctx)->Release(); } TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status) { TF_DeviceList* l = new TF_DeviceList;
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)