Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for PRIVATE (0.16 sec)

  1. 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)
  2. tensorflow/c/experimental/gradients/math_grad.cc

        name = "Mul_Exp_Grad";
        TF_RETURN_IF_ERROR(
            Mul(ctx, conj_output, grad_outputs[0], &grad_inputs[0], name.c_str()));
        return absl::OkStatus();
      }
      ~ExpGradientFunction() override {}
    
     private:
      AbstractTensorHandlePtr exp_;
    };
    
    class SqrtGradientFunction : public GradientFunction {
     public:
      explicit SqrtGradientFunction(AbstractTensorHandle* sqrt) : sqrt_(sqrt) {
        sqrt->Ref();
      }
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      TF_Graph* graph_;  // For shape inference.
    };
    
    // GraphOperation wraps and populates a TF_OperationDescription.
    class GraphOperation : public TracingOperation {
     public:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  4. tensorflow/c/eager/BUILD

        hdrs = ["tfe_executor_internal.h"],
        visibility = ["//visibility:private"],
        deps = [
            "//tensorflow/core/common_runtime/eager:eager_executor",
        ],
    )
    
    cc_library(
        name = "tfe_monitoring_internal",
        hdrs = ["tfe_monitoring_internal.h"],
        visibility = ["//visibility:private"],
        deps = [
            "//tensorflow/core:lib",
            "@com_google_absl//absl/memory",
    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)
  5. tensorflow/c/eager/gradients.cc

      void MarkAsResult(AbstractTensorHandle* gradient) const override;
    
      void DeleteGradient(AbstractTensorHandle* gradient) const override;
    
     private:
      // The context where the aggregation op `Add` is to be created.
      AbstractContext* ctx_;
    };
    
    // Returns the number of elements in the gradient tensor.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      static void PruneThread(void* param) {
        auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param);
        ram_file_block_cache->Prune();
      }
    
     private:
      /// The size of the blocks stored in the LRU cache, as well as the size of the
      /// reads from the underlying filesystem.
      const size_t block_size_;
    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)
  7. tensorflow/c/eager/c_api.cc

          return device_.shall_pin_to_this_device(tensorflow::wrap(op), &status);
        }
        return errors::Unimplemented("No custom device pinning implementation.");
      }
    
     private:
      TFE_Context* context_;
      TFE_CustomDevice device_;
      void* info_;
      string name_;
    };
    
    // An adapter which wraps the shape/data produced by C custom devices and uses
    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)
  8. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      fstat(fd, &st);
      if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory");
      } else {
        const void* address =
            mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
        if (address == MAP_FAILED) {
          TF_SetStatusFromIOError(status, errno, path);
        } else {
          region->plugin_memory_region =
              new tf_read_only_memory_region::PosixMemoryRegion{
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

          bool build_default_zeros_grads = true);
    
      // Whether the tape is persistent. See ctor for detailed description.
      bool IsPersistent() const { return persistent_; }
    
     private:
      TensorTape tensor_tape_;
      OpTape<BackwardFunction, TapeTensor> op_tape_;
      int64_t next_op_id_{0};
    
      // Map from tensor id to number of remaining usages (i.e. how many entries in
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
      std::vector<std::string> SummarizeDeviceNames() const;
    
     private:
      // A sequence of device names, indicating which devices replicated operations
      // are forwarded to.
      const std::vector<std::string> underlying_devices_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
Back to top