Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for num_dims (0.08 sec)

  1. tensorflow/c/c_api.h

                                                        TF_Status* status);
    
    // Fills in `dims` with the list of shapes in the attribute `attr_name` of
    // `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
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

    TEST(CAPI, TestTensorNonScalarBytesAllocateDelete) {
      const int batch_size = 4;
      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);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            sidArray.num_sids = 2;
            sidArray.sids = new lsarpc.LsarSidPtr[2];
            sidArray.sids[0] = mock(lsarpc.LsarSidPtr.class);
            sidArray.sids[1] = mock(lsarpc.LsarSidPtr.class);
    
            sidArray.encode(mockNdrBuffer);
    
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_long(sidArray.num_sids);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
Back to top