Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for publish (0.21 sec)

  1. tensorflow/c/eager/gradient_checker_test.cc

    // result of `gradient_checker` and `[*]_grad`. The tests here test the
    // functionality of `gradient_checker` by comparing the result with expected
    // manual user-provided gradients.
    class GradientCheckerTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
    
        {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_context.h

    // Abstract interface to a context.
    //
    // A context is responsible for creating key objects such as Tensors,
    // TensorHandles & Operations.
    class ImmediateExecutionContext : public AbstractContext {
     public:
      // Optimized scalar creation functions
      virtual AbstractTensorInterface* CreateInt64Scalar(int64_t value) = 0;
      virtual AbstractTensorInterface* CreateUint64Scalar(uint64 value) = 0;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

        return nullptr;
      }
      return const_cast<void*>(
          static_cast<const void*>(tensor->tensor_data().data()));
    }
    
    namespace tensorflow {
    namespace {
    class CustomDeviceAPI : public tensorflow::CustomDevice {
     public:
      CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info,
                      string name)
          : context_(context), device_(device), info_(info), name_(name) {}
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. tensorflow/c/c_api_experimental_test.cc

      EXPECT_EQ(assign, 1);
      int id = TF_OpIsStateful("Identity", status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      EXPECT_EQ(id, 0);
    }
    
    class ShapeInferenceTest : public ::testing::Test {
     protected:
      ShapeInferenceTest()
          : status_(TF_NewStatus()), tfe_context_options_(TFE_NewContextOptions()) {
        tfe_context_ = TFE_NewContext(tfe_context_options_, status_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  5. tensorflow/c/eager/BUILD

            "c_api_debug.cc",
            "c_api_experimental.h",
            "c_api_internal.h",
            "c_api_unified_experimental.h",
        ],
        hdrs = ["c_api.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = select({
            "//tensorflow:android": [
                "//tensorflow/core:portable_tensorflow_lib_lite",
            ],
            "//conditions:default": [
                ":immediate_execution_context",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_test_util.h

        const tensorflow::GraphDef& graph_def);
    
    // Returns a sorted vector of names contained in `grad_def`
    std::vector<string> GetFuncNames(const tensorflow::GraphDef& graph_def);
    
    class CSession {
     public:
      CSession(TF_Graph* graph, TF_Status* s, bool use_XLA = false);
      explicit CSession(TF_Session* session);
    
      ~CSession();
    
      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    /// \brief An LRU block cache of file contents, keyed by {filename, offset}.
    ///
    /// This class should be shared by read-only random access files on a remote
    /// filesystem (e.g. GCS).
    class RamFileBlockCache {
     public:
      /// The callback executed when a block is not found in the cache, and needs to
      /// be fetched from the backing filesystem. This callback is provided when the
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function_test.cc

    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
      typedef std::pair<string, string> Base;
    
      // Inherit the set of constructors
      using Base::pair;
    
      string ToString() const { return strings::StrCat(first, "->", second); }
    };
    
    class CApiFunctionTest : public ::testing::Test {
     protected:
      CApiFunctionTest()
          : s_(TF_NewStatus()),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  9. tensorflow/c/experimental/next_pluggable_device/BUILD

        licenses = ["notice"],
    )
    
    cc_library(
        name = "c_api",
        srcs = ["c_api.cc"],
        hdrs = ["c_api.h"],
        visibility = ["//visibility:public"],
        deps = [
            ":tensor_pjrt_buffer_util",
            "//tensorflow/c:c_api_macros_hdrs",
            "//tensorflow/c:kernels_experimental_hdrs",
            "//tensorflow/c:kernels_hdrs",
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/array_grad.cc

    #include "tensorflow/c/experimental/gradients/array_grad.h"
    
    #include "tensorflow/c/eager/abstract_context.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace {
    class IdentityNGradientFunction : public GradientFunction {
     public:
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top