Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get$1 (0.33 sec)

  1. tensorflow/c/c_api_test.cc

      std::unique_ptr<char[]> value(new char[1]);
    
      TF_OperationGetAttrName(oper, 0, value.get(), s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ("v", string(static_cast<const char*>(value.get()), 1));
    }
    
    TEST_F(CApiAttributesTest, Errors) {
      auto desc = init("int");
      TF_SetAttrInt(desc, "v", 3);
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	origIndexMap := map[int][]int{}
    
    	// Always perform 1/10th of the number of objects per delete
    	concurrent := len(objects) / 10
    	if concurrent <= 10 {
    		// if we cannot get 1/10th then choose the number of
    		// objects as concurrent.
    		concurrent = len(objects)
    	}
    
    	var mu sync.Mutex
    	eg := errgroup.WithNErrs(len(objects)).WithConcurrency(concurrent)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top