Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for Tidx (0.22 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, axis, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpSetAttrBool(op, "keep_dims", 1);
      TFE_OpSetAttrType(op, "Tidx", TF_INT32);
      TF_DeleteStatus(status);
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(input));
    
      return op;
    }
    
    TFE_Op* AllReduceOp(TFE_Context* ctx, TFE_TensorHandle* in, int group_size) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  2. cmd/admin-handlers_test.go

    	// Test all combinations!
    	for pIdx, params := range qParamsArr {
    		for vIdx, vars := range varsArr {
    			_, err := extractHealInitParams(vars, params, bytes.NewReader([]byte(body)))
    			isErrCase := false
    			if pIdx < 4 || vIdx < 1 {
    				isErrCase = true
    			}
    
    			if err != ErrNone && !isErrCase {
    				t.Errorf("Got unexpected error: %v %v %v", pIdx, vIdx, err)
    			} else if err == ErrNone && isErrCase {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    func (h *sizeHistogram) mergeV1(v sizeHistogramV1) {
    	var oidx, nidx int
    	for oidx < len(v) {
    		intOld, intNew := ObjectsHistogramIntervalsV1[oidx], ObjectsHistogramIntervals[nidx]
    		// skip intervals that aren't common to both histograms
    		if intOld.start != intNew.start || intOld.end != intNew.end {
    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  4. cmd/admin-handlers-pools.go

    				return
    			}
    		}
    		var pool *erasureSets
    		for pidx := range z.serverPools {
    			if pidx == idx {
    				pool = z.serverPools[idx]
    				break
    			}
    		}
    		if pool == nil {
    			// We didn't find any matching pools, invalid input
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    			return
    		}
    
    		poolIndices = append(poolIndices, idx)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    		p.Pools[idx].LastUpdate = UTCNow()
    		p.Pools[idx].Decommission.StartTime = time.Time{}
    		p.Pools[idx].Decommission.Complete = false
    		p.Pools[idx].Decommission.Failed = true
    		p.Pools[idx].Decommission.Canceled = false
    		return true
    	}
    	return false
    }
    
    func (p *poolMeta) DecommissionCancel(idx int) bool {
    	if p.Pools[idx].Decommission != nil && !p.Pools[idx].Decommission.Canceled {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  6. callbacks/create.go

    					values.Columns = append(values.Columns, clause.Column{Name: field.DBName})
    					for idx := range values.Values {
    						if vs[idx] == nil {
    							values.Values[idx] = append(values.Values[idx], stmt.DefaultValueOf(field))
    						} else {
    							values.Values[idx] = append(values.Values[idx], vs[idx])
    						}
    					}
    				}
    			}
    		case reflect.Struct:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. scan.go

    	if db.Statement.Schema != nil {
    		for idx, name := range columns {
    			if field := db.Statement.Schema.LookUpField(name); field != nil {
    				values[idx] = reflect.New(reflect.PtrTo(field.FieldType)).Interface()
    				continue
    			}
    			values[idx] = new(interface{})
    		}
    	} else if len(columnTypes) > 0 {
    		for idx, columnType := range columnTypes {
    			if columnType.ScanType() != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    	for idx, client := range sys.peerClients {
    		idx := idx
    		client := client
    		g.Go(func() error {
    			if client == nil {
    				return errPeerOffline
    			}
    			res, err := client.HealBucket(ctx, bucket, opts)
    			if err != nil {
    				return err
    			}
    			healBucketResults[idx] = res
    			return nil
    		}, idx)
    	}
    
    	errs = g.Wait()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    					if err != nil {
    						return err
    					}
    					var buf bytes.Buffer
    					if _, err := msgp.UnmarshalAsJSON(&buf, meta); err != nil {
    						return err
    					}
    					versions[idx] = version{
    						Idx:      idx,
    						Header:   b,
    						Metadata: buf.Bytes(),
    					}
    					type erasureInfo struct {
    						V2Obj *struct {
    							EcDist  []int
    							EcIndex int
    							EcM     int
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  10. tensorflow/c/c_api_function.cc

        input_tensors->emplace_back(node, idx);
    
        const auto& iter = input_nodes->find(node);
        if (iter == input_nodes->end()) {
          input_nodes->insert({node, {idx}});
        } else {
          auto& indices = iter->second;
          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
Back to top