Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RuntimeBuilder (0.17 sec)

  1. tensorflow/cc/experimental/base/public/runtime_builder.h

      RuntimeBuilder(RuntimeBuilder&&) = default;
      RuntimeBuilder& operator=(RuntimeBuilder&&) = default;
    
     private:
      // RuntimeBuilder is not copyable
      RuntimeBuilder(const RuntimeBuilder&) = delete;
      RuntimeBuilder& operator=(const RuntimeBuilder&) = delete;
    
      struct TFEContextOptionsDeleter {
        void operator()(TFE_ContextOptions* p) const {
          TFE_DeleteContextOptions(p);
        }
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/experimental/tests/saved_model_api_test.cc

    #include "tensorflow/core/platform/stringpiece.h"
    #include "tensorflow/core/platform/test.h"
    
    
    namespace {
    
    using tensorflow::experimental::cc::Runtime;
    using tensorflow::experimental::cc::RuntimeBuilder;
    using tensorflow::experimental::cc::SavedModelAPI;
    using tensorflow::experimental::cc::Status;
    
    constexpr char kTestData[] = "cc/saved_model/testdata";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 14 23:59:14 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/base/tests/tensorhandle_test.cc

    #include "tensorflow/core/lib/gtl/array_slice.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    using tensorflow::experimental::cc::Runtime;
    using tensorflow::experimental::cc::RuntimeBuilder;
    using tensorflow::experimental::cc::Status;
    using tensorflow::experimental::cc::Tensor;
    using tensorflow::experimental::cc::TensorHandle;
    
    using SimpleTypes = ::testing::Types<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:56:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/base/public/runtime.h

    namespace experimental {
    namespace cc {
    
    // Runtime represents an opaque instance of a Tensorflow runtime, with its own
    // resources, threadpools, etc. Clients are expected to construct a Runtime
    // object through tensorflow::cc::RuntimeBuilder::Build, after setting any
    // relevant configuration options. Many Tensorflow functions take a reference to
    // the runtime as an argument (eg: tensorflow::cc::SavedModelAPI::Load), and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/base/public/status.h

      void SetStatus(TF_Code code, const std::string& msg);
    
      // Status is movable, but not copyable.
      Status(Status&&) = default;
      Status& operator=(Status&&) = default;
    
     private:
      friend class RuntimeBuilder;
      friend class Runtime;
      friend class SavedModelAPI;
      friend class TensorHandle;
    
      // Wraps a TF_Status*, and takes ownership of it.
      explicit Status(TF_Status* status) : status_(status) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3.1K bytes
    - Viewed (0)
Back to top