Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for male (0.32 sec)

  1. tensorflow/c/eager/tfe_monitoring_reader_internal.h

    #include <memory>
    
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    
    struct TFE_MonitoringCounterReader {
      explicit TFE_MonitoringCounterReader(const char* name) {
        counter = std::make_unique<
            ::tensorflow::monitoring::testing::CellReader<int64_t>>(name);
      }
      template <typename... LabelType>
      int64_t Read(const LabelType&... labels);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
        lru_list_.push_front(key);
        Entry entry{timer_seconds_(), value, lru_list_.begin()};
        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_) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // Deletes the eager Executor without waiting for enqueued nodes. Please call
    // TFE_ExecutorWaitForAllPendingNodes before calling this API if you want to
    // make sure all nodes are finished.
    TF_CAPI_EXPORT extern void TFE_DeleteExecutor(TFE_Executor*);
    
    // Returns true if the executor is in async mode.
    TF_CAPI_EXPORT extern bool TFE_ExecutorIsAsync(TFE_Executor*);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    // * Backing store for tensor memory has an associated deallocation
    //   function.  This deallocation function will point to client code
    //   for tensors populated by the client.  So the client can do things
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      TF_DataType datatype_enum(
          static_cast<TF_DataType>(DataTypeToEnum<DataType>().value));
      for (int device_index = 0; device_index < num_underlying_devices();
           ++device_index) {
        auto device_value = absl::make_unique<DataType>();
        *device_value = values[device_index];
        std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

    //
    // Very similar to TF_OperationDescription with some differences:
    // (1) TF_Output or TFE_TensorHandle* as arguments to TF_AddInput,
    //     TF_AddInputList
    // (2) TF_ColocateWith, TF_AddControlInput etc. do not make sense.
    // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since
    //     the additional sanity checks there seem unnecessary;
    typedef struct TFE_Op TFE_Op;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  7. tensorflow/c/eager/tape.h

      }
      if (!ShouldRecord(input_tensor_id, input_dtypes)) {
        return absl::OkStatus();
      }
    
      // We may need to allocate zero inputs for trainable dtypes we don't have JVPs
      // for. Make sure they get cleaned up.
      std::vector<Gradient*> new_zeros;
      auto delete_new_zeros = gtl::MakeCleanup([&new_zeros, this] {
        for (Gradient* tensor : new_zeros) {
          this->vspace_.DeleteGradient(tensor);
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. tensorflow/c/eager/abstract_tensor_handle.h

    namespace internal {
    struct AbstractTensorHandleDeleter {
      void operator()(AbstractTensorHandle* p) const {
        if (p != nullptr) {
          p->Unref();
        }
      }
    };
    }  // namespace internal
    
    // TODO(b/185908092): Make AbstractTensorHandlePtr an IntrusivePtr.
    using AbstractTensorHandlePtr =
        std::unique_ptr<AbstractTensorHandle,
                        internal::AbstractTensorHandleDeleter>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients_internal.h

    Status SetAttrFunctionList(AbstractOperation*, const char* attr_name,
                               absl::Span<const AbstractOperation*> values,
                               ForwardOperation*);
    
    // Make the call to `Tape::RecordOperation`.
    Status Execute(AbstractOperation*, AbstractContext*,
                   absl::Span<AbstractTensorHandle*> retvals, int* num_retvals,
                   ForwardOperation*, Tape*, const GradientRegistry&);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_internal.h

      virtual Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                  TracingTensorHandle**) = 0;
    
      // Finalize this context and make a function out of it. The context is in a
      // invalid state after this call and must be destroyed.
      virtual Status Finalize(OutputList* outputs, AbstractFunction**) = 0;
    
      // For LLVM style RTTI.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top