Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for dana (0.12 sec)

  1. tensorflow/c/eager/c_api_experimental.h

      // shape is explicitly requested where possible.
      int (*num_dims)(void* data, TF_Status* status);
    
      // Computes the axis length at `dim_index`.
      int64_t (*dim)(void* data, int dim_index, TF_Status* status);
    
      void (*deallocator)(void* data);
    
      // Summarizes the value of this tensor. The caller takes ownership of the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.h

     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
                             absl::Span<AbstractTensorHandle* const> inputs,
                             int input_index, bool use_function,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler.h

    // optimization pass. Nodes modified during optimization pass have to be
    // invalidated, to prevent further incorrect optimizations based on wrong shape
    // and data type properties.
    typedef struct TF_GraphProperties TF_GraphProperties;
    
    // Create GraphProperties. The item must outlive the properties.
    TF_CAPI_EXPORT extern TF_GraphProperties* TF_NewGraphProperties(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback_c.c

    // license that can be found in the LICENSE file.
    
    #include <string.h>
    
    #include "_cgo_export.h"
    
    void
    callback(void *f)
    {
    	// use some stack space
    	volatile char data[64*1024];
    
    	data[0] = 0;
    	goCallback(f);
            data[sizeof(data)-1] = 0;
    }
    
    void
    callGoFoo(void)
    {
    	extern void goFoo(void);
    	goFoo();
    }
    
    void
    IntoC(void)
    {
    	BackIntoGo();
    }
    
    void
    Issue1560InC(void)
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

      return SetAttrShape(attr_name, shape.dim_sizes().data(), shape.dims());
    }
    
    inline Status AbstractOperation::SetAttrStringList(
        const char* attr_name, absl::Span<string const> values) {
      std::vector<const char*> raw_strs;
      std::vector<size_t> lengths;
      raw_strs.reserve(values.size());
      lengths.reserve(values.size());
      for (const auto& s : values) {
        raw_strs.emplace_back(s.data());
        lengths.emplace_back(s.size());
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //
    // Example:
    //   void func() {
    //     FILE* fp = fopen("data.txt", "r");
    //     if (fp == nullptr) return;
    //     auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); });
    //     // No matter what, fclose(fp) will happen.
    //     DataObject d;
    //     while (ReadDataObject(fp, &d)) {
    //       if (d.IsBad()) {
    //         LOG(ERROR) << "Bad Data";
    //         return;
    //       }
    //       PushGoodData(d);
    //     }
    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)
  7. tensorflow/c/eager/c_api.h

    // Returns the number of elements in dimension `dim_index`.
    // Tensor representation on device can be transposed from its representation
    // on host. The data contained in dimension `dim_index` on device
    // can correspond to the data contained in another dimension in on-host
    // representation. The dimensions are indexed using the standard TensorFlow
    // major-to-minor order (slowest varying dimension first),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// be accessed while holding the Block's mu lock. The data vector should only
      /// be accessed after state == FINISHED, and it should never be modified.
      ///
      /// In order to prevent deadlocks, never grab the block-cache-wide mu_ lock
      /// AFTER grabbing any block's mu lock. It is safe to grab mu without locking
      /// mu_.
      struct Block {
        /// The block data.
        std::vector<char> data;
    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)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///   1. Opaque plugin private data structures and wrappers for type safety;
    ///   2. Function tables for plugin functionality;
    ///   3. Versioning metadata;
    ///   4. Plugin registration API and the DSO entry point.
    
    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    /// SECTION 1. Opaque data structures to hold plugin specific data
    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)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.h

          : region_(std::move(region)), ops_(ops) {}
    
      ~ModularReadOnlyMemoryRegion() override { ops_->cleanup(region_.get()); };
    
      const void* data() override { return ops_->data(region_.get()); }
      uint64 length() override { return ops_->length(region_.get()); }
    
     private:
      std::unique_ptr<TF_ReadOnlyMemoryRegion> region_;
      const TF_ReadOnlyMemoryRegionOps* ops_;  // not owned
    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)
Back to top