Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Item (0.14 sec)

  1. tensorflow/c/experimental/grappler/grappler.cc

    namespace grappler {
    
    Status CGraphOptimizer::Optimize(Cluster* cluster, const GrapplerItem& item,
                                     GraphDef* optimized_graph_def) {
      OwnedTFStatus c_status(TF_NewStatus());
      OwnedTFBuffer graph_buf(TF_NewBuffer());
      OwnedTFBuffer optimized_graph_buf(TF_NewBuffer());
      TF_RETURN_IF_ERROR(MessageToBuffer(item.graph, graph_buf.get()));
    
      optimizer_.optimize_func(c_optimizer_, graph_buf.get(),
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  2. tensorflow/c/experimental/grappler/grappler.h

    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
        const TF_GrapplerItem* item, char** values, size_t* lengths, int num_values,
        void* storage, size_t storage_size, TF_Status* status);
    
    // Get a set of node names for fetch nodes. Fills in `values` and `lengths`,
    // they will be used in `TF_GetFetchNodesList`
    TF_CAPI_EXPORT extern void TF_GetFetchNodesListSize(const TF_GrapplerItem* item,
                                                        int* num_values,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/BUILD

            "//tensorflow/c:tf_status",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/core:framework",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core/grappler:grappler_item",
            "//tensorflow/core/grappler/costs:graph_properties",
            "//tensorflow/core/grappler/optimizers:custom_graph_optimizer",
            "//tensorflow/core/grappler/optimizers:custom_graph_optimizer_registry",
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler_internal.h

      Status Init(
          const tensorflow::RewriterConfig_CustomGraphOptimizer* config) override {
        return OkStatus();
      }
      Status Optimize(Cluster* cluster, const GrapplerItem& item,
                      GraphDef* optimized_graph_def) override;
    
      ~CGraphOptimizer() override {
        if (optimizer_.destroy_func != nullptr) {
          (*optimizer_.destroy_func)(c_optimizer_);
        }
      }
    
     private:
    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)
  5. tensorflow/c/experimental/grappler/grappler_test.cc

    }
    
    TEST(TF_GrapplerItem, NodesToPreserve) {
      GrapplerItem item;
      item.fetch = std::vector<string>{"Conv", "BiasAdd"};
      std::unordered_set<string> nodes_preserved = item.NodesToPreserve();
      TF_GrapplerItem* c_item = reinterpret_cast<TF_GrapplerItem*>(&item);
    
      int list_total_size = 0;
      for (const string& s : nodes_preserved) {
        list_total_size += s.size();
      }
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

    #include "absl/synchronization/mutex.h"
    #include "tensorflow/c/env.h"
    #include "tensorflow/c/tf_status.h"
    
    namespace tf_gcs_filesystem {
    
    /// \brief An LRU cache of string keys and arbitrary values, with configurable
    /// max item age (in seconds) and max entries.
    ///
    /// This class is thread safe.
    template <typename T>
    class ExpiringLRUCache {
     public:
      /// A `max_age` of 0 means that nothing is cached. A `max_entries` of 0 means
    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)
  7. ci/official/README.md

    # Finally: Run your script of choice.
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a
    #   "build_file" item that indicates the script used.
    ci/official/wheel.sh
    
    # Advanced: Select specific build/test targets with "any.sh".
    # TF_ANY_TARGETS=":your/target" TF_ANY_MODE="test" ci/official/any.sh
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      for (auto&& item : gcs_file->gcs_client.ListObjectsAndPrefixes(
               bucket, gcs::Prefix(prefix), gcs::Delimiter(delimiter),
               gcs::Fields("items(name),prefixes"))) {
        if (count == max_results) {
          TF_SetStatus(status, TF_OK, "");
          return result;
        }
        if (!item) {
          TF_SetStatusFromGCSStatus(item.status(), status);
          return result;
        }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  9. tensorflow/c/env.h

                                             TF_Status* status);
    
    // Retrieves the next item from the given TF_StringStream and places a pointer
    // to it in *result. If no more items are in the list, *result is set to NULL
    // and false is returned.
    //
    // Ownership of the items retrieved with this function remains with the library.
    // Item points are invalidated after a call to TF_StringStreamDone.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/BUILD

            "//tensorflow/core/grappler/graph_analyzer:graph_analyzer_tool",
            "//tensorflow/core/grappler/optimizers:meta_optimizer",
            "//tensorflow/core/grappler:grappler_item",
            "//tensorflow/core/grappler:grappler_item_builder",
            "//tensorflow/core/kernels:data_service_ops",
            "//tensorflow/core/kernels:dataset_ops",
            "//tensorflow/core/platform:logging",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
Back to top