- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for else (0.17 sec)
-
tensorflow/c/c_api_macros.h
#ifdef SWIG #define TF_CAPI_EXPORT #else #if defined(_WIN32) #ifdef TF_COMPILE_LIBRARY #define TF_CAPI_EXPORT __declspec(dllexport) #else #define TF_CAPI_EXPORT __declspec(dllimport) #endif // TF_COMPILE_LIBRARY #else #ifdef TF_CAPI_WEAK #define TF_CAPI_EXPORT \ __attribute__((visibility("default"))) __attribute((weak)) #else #define TF_CAPI_EXPORT __attribute__((visibility("default")))
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 04:44:45 GMT 2023 - 1.6K bytes - Viewed (1) -
tensorflow/c/checkpoint_reader.cc
tsl::Set_TF_Status_from_Status(status, v2_reader_->status()); return; } auto result = BuildV2VarMaps(); var_to_shape_map_.swap(result.first); var_to_data_type_map_.swap(result.second); } else { reader_.reset(new TensorSliceReader(filename)); if (!reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, reader_->status()); return; } var_to_shape_map_.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) -
.github/workflows/arm-ci.yml
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.2K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
TensorShape::MaxDimensions(), "."); } TensorShapeProto proto; if (num_dims < 0) { proto.set_unknown_rank(true); } else { for (int d = 0; d < num_dims; ++d) { proto.add_dim()->set_size(dims[d]); } } forward_op_.attrs.Set(attr_name, proto); return parent_op_->SetAttrShape(attr_name, dims, num_dims); }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler_internal.h
: optimizer_(optimizer), device_type_(device_type) { if (optimizer.create_func != nullptr) { c_optimizer_ = (*optimizer_.create_func)(); } else { c_optimizer_ = nullptr; } } std::string name() const override { return "PluggableGraphOptimizer"; } bool UsesFunctionLibrary() const override { return false; } Status Init(
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
tensorflow/c/eager/unified_api_testutil.h
// Runs `model` maybe wrapped in a function call op. This can be thought as // being equivalent to the following python code. // // if use_function: // outputs = tf.function(model)(inputs) // else: // outputs = model(inputs) Status RunModel(Model model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs, bool use_function);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
const Key& key) { absl::MutexLock lock(&mu_); auto entry = block_map_.find(key); if (entry != block_map_.end()) { if (BlockNotStale(entry->second)) { return entry->second; } else { // Remove the stale block and continue. RemoveFile_Locked(key.first); } } // Insert a new empty block, setting the bookkeeping to sentinel values // in order to update them as appropriate.
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) -
ci/official/utilities/code_check_changed_files.bats
# To get the as-merged branch during the CI tests git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files else # If the branch is not present, then diff against origin/master git diff --diff-filter ACMRT --name-only origin/master > $BATS_FILE_TMPDIR/changed_files fi }
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
if (offset < buf.size()) { size_t bytes_to_copy = std::min<size_t>(buf.size() - offset, n); memcpy(buffer, buf.data() + offset, bytes_to_copy); bytes_transferred = bytes_to_copy; } else { bytes_transferred = 0; } TF_SetStatus(status, TF_OK, ""); return bytes_transferred; }; for (size_t block_size = 2; block_size <= 4; block_size++) {
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/experimental/gradients/nn_grad_test.cc
UnifiedCAPI, CppGradients, ::testing::Combine(::testing::Values("graphdef", "mlir"), /*tfrt*/ ::testing::Values(false), /*use_function*/ ::testing::Values(true, false))); #else INSTANTIATE_TEST_SUITE_P( UnifiedCAPI, CppGradients, ::testing::Combine(::testing::Values("graphdef", "mlir"), /*tfrt*/ ::testing::Values(false),
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 8.3K bytes - Viewed (0)