Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for OK (0.21 sec)

  1. tensorflow/c/eager/c_api_test.cc

        TFE_OpReset(matmul, "MatMul", nullptr, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_OpAddInput(matmul, m, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_OpAddInput(matmul, m, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_Execute(matmul, &retvals[0], &num_retvals, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* b = Placeholder(graph, s, "B");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* two = ScalarConst(2, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* plus2 = Add(a, two, graph, s, "plus2");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
    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)
  3. tests/migrate_test.go

    				}
    				if v, ok := columnType.Comment(); !ok || v != "my age" {
    					t.Fatalf("column age comment should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "code":
    				if v, ok := columnType.Unique(); !ok || !v {
    					t.Fatalf("column code unique should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    		subClaimValue := cred.ParentUser
    		if v, ok := claims[subClaim]; ok {
    			subFromToken, ok := v.(string)
    			if ok {
    				subClaimValue = subFromToken
    			}
    		}
    
    		roleArn := openid.DummyRoleARN.String()
    		s, ok := claims[roleArnClaim]
    		val, ok2 := s.(string)
    		if ok && ok2 {
    			roleArn = val
    		}
    		v, ok := res[cred.ParentUser]
    		if ok {
    			res[cred.ParentUser] = ParentUserInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/iam.go

    	case <-sys.configLoaded:
    	default:
    		sys.store.LoadUser(ctx, accessKey)
    		loadUserCalled = true
    	}
    
    	u, ok = sys.store.GetUser(accessKey)
    	if !ok && !loadUserCalled {
    		sys.store.LoadUser(ctx, accessKey)
    		u, ok = sys.store.GetUser(accessKey)
    	}
    
    	return u, ok && u.Credentials.IsValid()
    }
    
    // Notify all other MinIO peers to load group.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. src/cmd/cgo/gcc.go

    	needsUnsafe := false
    	f.walk(arg, ctxExpr, func(f *File, arg interface{}, context astContext) {
    		px, ok := arg.(*ast.Expr)
    		if !ok {
    			return
    		}
    		sel, ok := (*px).(*ast.SelectorExpr)
    		if ok {
    			if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    				return
    			}
    
    			for _, r := range f.Ref {
    				if r.Expr == px {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->cond_output = {less_than, 0};
    
        TF_Operation* add1 = Add(params->body_inputs[0], params->body_inputs[1],
                                 params->body_graph, s_, "add1");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Operation* one = ScalarConst(1, params->body_graph, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. cmd/erasure-server-pool.go

    		}
    		// let's the rest shutdown
    	}
    	return nil
    }
    
    // Legacy returns 'true' if distribution algo is CRCMOD
    func (z *erasureServerPools) Legacy() (ok bool) {
    	ok = true
    	for _, set := range z.serverPools {
    		ok = ok && set.Legacy()
    	}
    	return ok
    }
    
    func (z *erasureServerPools) BackendInfo() (b madmin.BackendInfo) {
    	b.Type = madmin.Erasure
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	wg.Wait()
    	return nil
    }
    
    func (s *peerRESTServer) BackgroundHealStatusHandler(_ *grid.MSS) (*grid.JSON[madmin.BgHealState], *grid.RemoteErr) {
    	state, ok := getLocalBackgroundHealStatus(context.Background(), newObjectLayerFn())
    	if !ok {
    		return nil, grid.NewRemoteErr(errServerNotInitialized)
    	}
    	return madminBgHealState.NewJSONWith(&state), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    	// all bucket entries with new domain name.
    	domainMissing := err == dns.ErrDomainMissing
    	if dnsBuckets != nil {
    		for _, bucket := range buckets {
    			bucketsSet.Add(bucket.Name)
    			r, ok := dnsBuckets[bucket.Name]
    			if !ok {
    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top