Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for Kata (0.13 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.h

      Status Execute(absl::Span<AbstractTensorHandle*> retvals,
                     int* num_retvals) override;
      Status SetAttrString(const char* attr_name, const char* data,
                           size_t length) override;
      Status SetAttrInt(const char* attr_name, int64_t value) override;
      Status SetAttrFloat(const char* attr_name, float value) override;
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  2. tensorflow/c/eager/tape.h

    #ifndef TENSORFLOW_C_EAGER_TAPE_H_
    #define TENSORFLOW_C_EAGER_TAPE_H_
    
    // Language-agnostic gradient tape. Does not perform backpropagation, just
    // maintains the data structures required to do so.
    
    #include <stack>
    #include <unordered_map>
    #include <unordered_set>
    #include <vector>
    
    #include "tensorflow/core/config/flag_defs.h"
    #include "tensorflow/core/config/flags.h"
    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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/c/eager/immediate_execution_context.h

      typedef void (*MemoryReleaser)(void* data, size_t len, void* arg);
    
      // Create a tensor instance from the given data buffer and description.
      // `memory_releaser` will be called on destruction, and it's responsible for
      // cleaning up the underlying buffer.
      virtual AbstractTensorInterface* CreateTensor(
          DataType dtype, const int64_t* dims, int num_dims, void* data, size_t len,
    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)
Back to top