Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for elseif (0.3 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        auto insert = cache_.insert(std::make_pair(key, entry));
        if (!insert.second) {
          lru_list_.erase(insert.first->second.lru_iterator);
          insert.first->second = entry;
        } else if (max_entries_ > 0 && cache_.size() > max_entries_) {
          cache_.erase(lru_list_.back());
          lru_list_.pop_back();
        }
      }
    
      bool DeleteLocked(const std::string& key) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // `max_func`. In usual usage, max_func should be set to the result of
    // TF_GraphNumFunctions(g). In this case, all the functions registered in
    // `g` will be returned. Else, an unspecified subset.
    //
    // If successful, returns the number of TF_Function* successfully set in
    // `funcs` and sets status to OK. The caller takes ownership of
    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)
  3. tensorflow/c/eager/tape.h

                zero_indices.push_back(i);
              }
            }
          } else {
            any_gradient_nonzero = true;
            Gradient* new_gradients = nullptr;
            if (grad_it->second.size() == 1) {
              new_gradients = grad_it->second.at(0);
            } else {
              new_gradients = vspace.AggregateGradients(grad_it->second);
            }
    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)
  4. tensorflow/c/eager/c_api.h

    // destination tensor to be placed in host memory).
    // If async execution is enabled, the copy may be enqueued and the call will
    // return "non-ready" handle. Else, this function returns after the copy has
    // been done.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopyToDevice(
        TFE_TensorHandle* h, TFE_Context* ctx, const char* device_name,
        TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

                                      const char* path, TF_TransactionToken** token,
                                      TF_Status* status);
    
      /// Returns transaction token for `path` if it is part of a transaction else
      /// starts a new transaction and adds `path` to that transaction
      ///
      /// Transaction token is returned in `token`. Ownership of the token is in
    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)
Back to top