Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Data (0.14 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/c_api_test_util.h

    TFE_TensorHandle* TestMatrixTensorHandle(TFE_Context* ctx);
    
    // Return a tensor handle containing 2D matrix containing given data and
    // dimensions
    TFE_TensorHandle* TestMatrixTensorHandleWithInput(TFE_Context* ctx,
                                                      float data[], int64_t dims[],
                                                      int num_dims);
    
    // Get a Matrix TensorHandle with given float values and dimensions
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // --------------------------------------------------------------------------
    // Used to return strings across the C API. The caller does not take ownership
    // of the underlying data pointer and is not responsible for freeing it.
    typedef struct TF_StringView {
      const char* data;
      size_t len;
    } TF_StringView;
    
    // --------------------------------------------------------------------------
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/checkpoint_reader.h

      // tensor are combined into a single entry.
      const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const;
    
      // Returns a map from variable names to their data types.  Slices of a
      // partitioned tensor are combined into a single entry.
      const TensorSliceReader::VarToDataTypeMap& GetVariableToDataTypeMap() const;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/unified_api_testutil.h

    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
                                    AbstractTensorHandle** tensor) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top