Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for d2_shape (0.1 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    // 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,
                                               TF_Status* s);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

      TF_DeleteExecutionContext(ctx);
      return wrap(func);
    }
    
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
                                               TF_Status* s) {
      DCHECK_GE(shape.num_dims, -1);
      TracingTensorHandle* t;
      TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(func));
      if (!tracing_ctx) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top