Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for element (0.2 sec)

  1. tensorflow/c/c_api_test.cc

      const int num_dims = 2;
      int64_t* dims = new int64_t[num_dims];
      int64_t num_elements = 1;
      dims[0] = batch_size;
      dims[1] = 1;
      for (int64_t i = 0; i < num_dims; ++i) {
        num_elements *= dims[i];
      }
      TF_Tensor* t = TF_AllocateTensor(TF_STRING, dims, num_dims,
                                       sizeof(TF_TString) * num_elements);
      delete[] dims;
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///   * `statuses` is either null or an array of `num_files` non-null elements
      ///     of type `TF_Status*`.
      ///
      /// If `statuses` is not null, plugins must fill each element with detailed
      /// status for each file, as if calling `path_exists` on each one. Core
      /// TensorFlow initializes the `statuses` array and plugins must use
      /// `TF_SetStatus` to set each element instead of directly assigning.
      ///
    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)
  3. tensorflow/c/c_api.h

    // `oper` and `num_dims` with the corresponding number of dimensions. On return,
    // for every i where `num_dims[i]` > 0, `dims[i]` will be an array of
    // `num_dims[i]` elements. A value of -1 for `num_dims[i]` indicates that the
    // i-th shape in the list is unknown.
    //
    // The elements of `dims` will point to addresses in `storage` which must be
    // large enough to hold at least `storage_size` int64_ts.  Ideally, `num_shapes`
    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)
Back to top