Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for private (0.18 sec)

  1. tensorflow/c/eager/abstract_op_attrs.h

      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
          absl::string_view attr_name,
          absl::InlinedVector<DataType, 4>* type_list) const = 0;
    
     private:
      const AbstractOpAttrsKind kind_;
    };
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.h

      // "out_tensor".
      void GetTensor(const string& name,
                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler_internal.h

                      GraphDef* optimized_graph_def) override;
    
      ~CGraphOptimizer() override {
        if (optimizer_.destroy_func != nullptr) {
          (*optimizer_.destroy_func)(c_optimizer_);
        }
      }
    
     private:
      TP_Optimizer optimizer_;
      std::string device_type_;
      void* c_optimizer_;
    };
    
    // Registration function to register a CGraphOptimizer along with plugin configs
    // and device type.
    void CGraphOptimizerRegister(
    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)
  4. tensorflow/c/eager/parallel_device/BUILD

        ],
        visibility = ["//tensorflow/python:__pkg__"],
    )
    
    cc_library(
        name = "parallel_device",
        srcs = [":device_sources"],
        hdrs = [":device_headers"],
        visibility = ["//visibility:private"],
        deps = [
            ":parallel_device_lib",
            "//tensorflow/c:c_api",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_experimental",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_internal.h

      tensorflow::NodeBuilder node_builder;
      TF_Graph* graph;
      std::set<tensorflow::string> colocation_constraints;
    };
    
    struct TF_Operation {
      tensorflow::Node node;
    
     private:
      ~TF_Operation() = default;
    };
    
    struct TF_Session {
      TF_Session(tensorflow::Session* s, TF_Graph* g);
    
      tensorflow::Session* session;
      TF_Graph* const graph;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    #include "tensorflow/core/platform/file_system_helper.h"
    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      }
    
      static void SetTmpDir(const std::string& tmp_dir) {
        tmp_dir_ = tmp_dir.empty() ? ::testing::TempDir() : tmp_dir;
      }
    
     protected:
      Env* env_;
    
     private:
      std::string root_dir_;
      static int rng_val_;
      static std::string cloud_path_;
      static std::string tmp_dir_;
    };
    
    int ModularFileSystemTest::rng_val_;
    std::string ModularFileSystemTest::cloud_path_;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

        }
        op_name += type;
        return TF_NewOperation(
            graph_, op_name.c_str(),
            ::tensorflow::strings::StrCat("name", counter_++).c_str());
      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  9. tensorflow/c/experimental/filesystem/plugins/posix/BUILD

    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        default_visibility = ["//visibility:private"],
        licenses = ["notice"],
    )
    
    # Filesystem implementation for POSIX environments: Linux, MacOS, Android, etc.
    tf_cc_shared_object(
        name = "libposix_filesystem.so",
        framework_so = [],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/tape/tape_context.h

      Status RemoveFunction(const string& func) override;
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeContext() override;
    
     private:
      AbstractContext* parent_ctx_;  // Not owned.
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    }  // namespace gradients
    }  // namespace tensorflow
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.6K bytes
    - Viewed (0)
Back to top