Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dim (0.14 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // ImmediateExecutionTensorHandles, but comes up for example when computing
      // the shape of a parallel tensor with component shapes differing across
      // devices.
      virtual Status Dim(int dim_index, int64_t* dim) const = 0;
    
      // Returns the device which created the handle.
      virtual const char* DeviceName(Status* status) const = 0;
      // Returns the device where the tensor was placed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims(
        TFE_TensorDebugInfo* debug_info);
    
    // 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
    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)
  3. tensorflow/c/c_api.h

    // has registration:
    //   REGISTER_OP("Concat")
    //       .Input("concat_dim: int32")
    //       .Input("values: N * T")
    //       .Output("output: T")
    //       .Attr("N: int >= 2")
    //       .Attr("T: type");
    // that defines two inputs, "concat_dim" and "values" (in that order).
    // You must use TF_AddInput() for the first input (since it takes a
    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/abstract_operation.h

    // fastbuild.
    inline Status AbstractOperation::SetAttrShape(const char* attr_name,
                                                  const PartialTensorShape shape) {
      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;
    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/eager/c_api_unified_experimental.h

    void TF_DeleteExecutionContext(TF_ExecutionContext*);
    
    // Represents a (partially-defined) shape.
    typedef struct TF_Shape {
      int num_dims;  // Must be >= -1; -1 represents unknown rank.
      int64_t* dim_sizes;
    } TF_Shape;
    
    // Add a new parameter to a TensorFlow Function.
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    // Information about the shape of a Tensor and its type.
    struct TF_ShapeAndType {
      // Number of dimensions. -1 indicates unknown rank.
      int num_dims;
      // Array of dimensions. -1 indicates unknown dim.
      int64_t* dims;
      // The data type. May be 0 to denote unknown type.
      TF_DataType dtype;
    };
    
    typedef struct TF_ShapeAndType TF_ShapeAndType;
    
    // A list of TF_ShapeAndType elements..
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/c/eager/immediate_execution_context.h

      virtual AbstractTensorInterface* CreateBoolScalar(bool value) = 0;
    
      // Tensor creation functions
      virtual AbstractTensorInterface* CreateTensor(
          DataType dtype, absl::Span<const int64_t> dim_sizes) = 0;
    
      typedef void (*MemoryReleaser)(void* data, size_t len, void* arg);
    
      // Create a tensor instance from the given data buffer and description.
    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