Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for function (0.17 sec)

  1. tensorflow/c/eager/gradients.h

    using GradientFunctionFactory =
        std::function<GradientFunction*(const ForwardOperation& op)>;
    
    // Map from op name to a `GradientFunctionFactory`.
    class GradientRegistry {
     public:
      Status Register(const string& op,
                      GradientFunctionFactory gradient_function_factory);
      Status Lookup(const ForwardOperation& op,
                    std::unique_ptr<GradientFunction>* gradient_function) const;
    
     private:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/grad_test_helper.h

    namespace tensorflow {
    namespace gradients {
    namespace internal {
    
    void CompareNumericalAndAutodiffGradients(
        Model model, Model grad_model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error = 1e-2);
    
    void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals,
                          absl::Span<const int64_t> dims, double abs_error = 1e-2);
    
    C
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Jan 14 20:36:51 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.h

          std::unique_ptr<const TF_WritableFileOps> writable_file_ops,
          std::unique_ptr<const TF_ReadOnlyMemoryRegionOps>
              read_only_memory_region_ops,
          std::function<void*(size_t)> plugin_memory_allocate,
          std::function<void(void*)> plugin_memory_free)
          : filesystem_(std::move(filesystem)),
            ops_(std::move(filesystem_ops)),
            random_access_file_ops_(std::move(random_access_file_ops)),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

        if (!released_) f_();
        released_ = src.released_;
        f_ = src.release();
        return *this;
      }
    
      ~Cleanup() {
        if (!released_) f_();
      }
    
      // Releases the cleanup function instead of running it.
      // Hint: use c.release()() to run early.
      F release() {
        released_ = true;
        return std::move(f_);
      }
    
      bool is_released() const { return released_; }
    
     private:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// assume that before any function using path arguments is invoked, the path is
    /// made canonical by calling the function provided by `translate_name` or a
    /// default implementation of that (supplied by core TensorFlow).
    ///
    /// The only time the pointer to the `TF_*` structures from section 1 is not
    /// marked `const` in these functions is when these function are either
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// call).
      typedef std::function<int64_t(const std::string& filename, size_t offset,
                                    size_t buffer_size, char* buffer,
                                    TF_Status* status)>
          BlockFetcher;
    
      RamFileBlockCache(size_t block_size, size_t max_bytes, uint64_t max_staleness,
                        BlockFetcher block_fetcher,
                        std::function<uint64_t()> timer_seconds = TF_NowSeconds)
    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/parallel_device/parallel_device_testlib.h

    // `first_device` and `second_device`.
    void BasicTestsForTwoDevices(TFE_Context* context, const char* first_device,
                                 const char* second_device);
    
    // Implementations of templated functions ******************************
    
    template <std::size_t num_replicas>
    TensorHandlePtr CreatePerDeviceValues(
        TFE_Context* context,
        const std::array<TFE_TensorHandle*, num_replicas>& components,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_internal.h

    }  // namespace tracing
    
    DEFINE_CONVERSION_FUNCTIONS(AbstractContext, TF_ExecutionContext)
    DEFINE_CONVERSION_FUNCTIONS(AbstractTensorHandle, TF_AbstractTensor)
    DEFINE_CONVERSION_FUNCTIONS(AbstractFunction, TF_AbstractFunction)
    DEFINE_CONVERSION_FUNCTIONS(AbstractOperation, TF_AbstractOp)
    DEFINE_CONVERSION_FUNCTIONS(OutputList, TF_OutputList)
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.h

    bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def);
    
    bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def);
    
    bool GetAttrValue(TF_Operation* oper, const char* attr_name,
                      tensorflow::AttrValue* attr_value, TF_Status* s);
    
    // Returns a sorted vector of std::pair<function_name, gradient_func> from
    // graph_def.library().gradient()
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler_internal.h

    namespace tensorflow {
    namespace grappler {
    
    // Plugin initialization function that a device plugin
    // must define.
    typedef void (*TFInitGraphPluginFn)(TP_OptimizerRegistrationParams* const,
                                        TF_Status* const);
    
    // Registers Graph optimizers.
    Status InitGraphPlugin(void* dso_handle);
    
    // Allow registering a graph optimizer using a function (used for
    // testing).
    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)
Back to top