Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for batch_size (0.05 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(differencer.Compare(node_in, node_out));
    }
    
    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];
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tests/query_test.go

    	}
    
    	targetUsers := users[3:8]
    	for i := 0; i < len(targetUsers); i++ {
    		AssertEqual(t, results[i], targetUsers[i])
    	}
    
    	var sub1 []User
    	// limit < batchSize
    	if result := DB.Limit(5).Where("name = ?", users[0].Name).FindInBatches(&sub1, 10, func(tx *gorm.DB, batch int) error {
    		return nil
    	}); result.Error != nil || result.RowsAffected != 5 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top