Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for defaults (0.67 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_TensorHandle* h_default = TestMatrixTensorHandle(ctx);
      const char* device_type = TFE_TensorHandleDeviceType(h_default, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_TRUE(absl::StrContains(device_type, "CPU")) << device_type;
      int device_id = TFE_TensorHandleDeviceID(h_default, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_macros.h

    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
      __attribute__((visibility("default"))) __attribute((weak))
    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    #endif  // TF_CAPI_WEAK
    #endif  // _WIN32
    #endif  // SWIG
    
    // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
    // the datatype for boolean tensors.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  3. 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;
    
      tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu);
    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)
  4. tensorflow/c/checkpoint_reader.cc

      // Depending on whether this is a V2 ckpt, initializes "reader_" or
      // "v2_reader_".
      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
        v2_reader_.reset(
            new BundleReader(Env::Default(), filename /* prefix to a V2 ckpt */));
        if (!v2_reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/BUILD

    load(
        "//tensorflow:tensorflow.bzl",
        "tf_cc_test",
    )
    load("//tensorflow:tensorflow.default.bzl", "filegroup")
    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    # Currently pybind extension shared objects must use only C API headers since
    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)
  6. ci/official/utilities/get_versions.sh

    # Variables containing version strings extracted from the canonical sources:
    # tensorflow/core/public/version.h and tools/pip_package/setup.py.
    #
    # These variables aren't available by default. Scripts must source this file
    # explicitly, *after* checking if update_version.py needs to be run for a
    # nightly job. update_version.py affects TF_VER_SUFFIX, TF_VER_PYTHON, and
    # TF_VER_FULL.
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Builds and returns a `TracingContext` using the default tracing impl.
    AbstractContext* BuildFunction(const char* fn_name);
    
    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

      }
    };
    REGISTER_KERNEL_BUILDER(
        Name("TestNonCommUnavailable").Device(tensorflow::DEVICE_DEFAULT),
        TestUnavailableErrorOp);
    REGISTER_KERNEL_BUILDER(
        Name("TestCommUnavailable").Device(tensorflow::DEVICE_DEFAULT),
        TestUnavailableErrorOp);
    
    string FunctionWithErrorOp(const tensorflow::StringPiece op_name) {
      const std::string& func_str =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                               std::vector<std::string>* result) {
      if (ops_->get_matching_paths == nullptr)
        return internal::GetMatchingPaths(this, Env::Default(), pattern, result);
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      // Note that `matches` is allocated by the plugin and freed by core
    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)
  10. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    // If `device` is non-empty, run Min op on that device.
    // Otherwise run it on the default device (CPU).
    void RunMinTest(const string& device, bool use_XLA) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Make a placeholder operation.
    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)
Back to top