Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for uniqBy (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      std::unique_ptr<ParallelTensor> CopyToParallelDevice(TFE_Context* context,
                                                           TFE_TensorHandle* tensor,
                                                           TF_Status* status) const;
    
      // Construct a parallel tensor consisting of the scalar values from `values`.
      template <typename DataType>
      std::unique_ptr<ParallelTensor> ScalarsFromSequence(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      return TensorHandlePtr(result_handle);
    }
    
    template <typename value_type>
    void ExpectScalarEq(TFE_TensorHandle* handle, value_type expected_value) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> actual_value(
          TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/abstract_context.h

    struct AbstractContextDeleter {
      void operator()(AbstractContext* p) const {
        if (p != nullptr) {
          p->Release();
        }
      }
    };
    }  // namespace internal
    
    using AbstractContextPtr =
        std::unique_ptr<AbstractContext, internal::AbstractContextDeleter>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

      std::shared_ptr<RamFileBlockCache> file_block_cache
          ABSL_GUARDED_BY(block_cache_lock);
      uint64_t block_size;  // Reads smaller than block_size will trigger a read
                            // of block_size.
      std::unique_ptr<ExpiringLRUCache<GcsFileStat>> stat_cache;
      GCSFile(google::cloud::storage::Client&& gcs_client);
      // This constructor is used for testing purpose only.
      GCSFile(google::cloud::storage::Client&& gcs_client, bool compose,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

    // conflicting names will be treated as an error. Note that this option has no
    // effect if a prefix is set, since the prefix will guarantee all names are
    // unique. Defaults to false.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetUniquifyNames(
        TF_ImportGraphDefOptions* opts, unsigned char uniquify_names);
    
    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)
  6. tensorflow/c/eager/tfe_monitoring_internal.h

      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    
    struct TFE_MonitoringBuckets {
      explicit TFE_MonitoringBuckets(
          std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
              fn) {
        create_buckets = fn;
      }
    
      std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)>
          create_buckets;
    };
    
    struct TFE_MonitoringSamplerCell {
      tensorflow::monitoring::SamplerCell cell;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      Cleanup(Cleanup<G>&& src)  // NOLINT
          : released_(src.is_released()), f_(src.release()) {}
    
      // Assignment to a Cleanup object behaves like destroying it
      // and making a new one in its place, analogous to unique_ptr
      // semantics.
      Cleanup& operator=(Cleanup&& src) {  // NOLINT
        if (!released_) f_();
        released_ = src.released_;
        f_ = src.release();
        return *this;
      }
    
      ~Cleanup() {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_operation.h

    struct AbstractOperationDeleter {
      void operator()(AbstractOperation* p) const {
        if (p != nullptr) {
          p->Release();
        }
      }
    };
    }  // namespace internal
    
    using AbstractOperationPtr =
        std::unique_ptr<AbstractOperation, internal::AbstractOperationDeleter>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      // TODO(apassos) consider narrowing down this interface.
      BackwardFunction* backward_function;
    
      // Should be called before deleting the backward function. TODO(apassos) use
      // unique_ptrs to ensure this happens.
      std::function<void(BackwardFunction*)> backward_function_deleter;
    };
    
    // Map from tensor_id to internally-defined operation-id of the operation which
    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)
  10. tensorflow/c/eager/tfe_monitoring_reader_internal.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);
      std::unique_ptr<::tensorflow::monitoring::testing::CellReader<int64_t>>
          counter;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top