Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for max_iters (0.15 sec)

  1. tensorflow/compiler/aot/benchmark_test.cc

    // benchmark with max_iters, and ensure we end up with that many iter stats.
    TEST(Benchmark, Benchmark) {
      AddComp add;
    
      Options options;
      options.max_iters = 1;
      Stats stats1;
      Benchmark(options, [&] { add.Run(); }, &stats1);
      EXPECT_EQ(stats1.per_iter_us.size(), 1);
    
      options.max_iters = 5;
      Stats stats5;
      Benchmark(options, [&] { add.Run(); }, &stats5);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 09 20:26:35 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/benchmark.cc

               g.second);
      }
    }
    
    void Benchmark(const Options& options, const BenchmarkFn& fn, Stats* stats) {
      // If neither max_seconds or max_iters is set, stop at kDefaultMicros.
      const int64_t max_us = (options.max_micros <= 0 && options.max_iters <= 0)
                                 ? Options::kDefaultMicros
                                 : options.max_micros;
      // NOLINTNEXTLINE
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 19:45:29 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/benchmark.h

    struct Options {
      // kDefaultMicros specifies the default time to run the benchmark, and is used
      // if neither max_iters nor max_micros is set.
      static constexpr int64_t kDefaultMicros = 3000000;
    
      int64_t max_iters = 0;   // Maximum iterations to run, ignored if <= 0.
      int64_t max_micros = 0;  // Maximum microseconds to run, ignored if <= 0.
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. tests/test_tuples.py

                                    "schema": IsDict(
                                        {
                                            "title": "Square",
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array",
                                            "prefixItems": [
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/LimitedDescription.java

        private final LinkedList<String> content;
        private final int maxItems;
    
        public LimitedDescription(int maxItems) {
            this.maxItems = maxItems;
            this.content = new LinkedList<String>();
        }
    
        public LimitedDescription append(String line) {
            content.add(0, line);
            if (content.size() > maxItems) {
                content.removeLast();
            }
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private int searchAttributes;
        private int tflags;
        private int informationLevel;
        private int searchStorageType = 0;
        private int maxItems;
        private String wildcard;
    
        // information levels
    
        static final int SMB_INFO_STANDARD = 1;
        static final int SMB_INFO_QUERY_EA_SIZE = 2;
        static final int SMB_INFO_QUERY_EAS_FROM_LIST = 3;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go

    		// each occurrence of the object they are fields of
    		return uint64ptr(1)
    	case "array":
    		if schema.MaxItems != nil {
    			maxItems := uint64(zeroIfNegative(*schema.MaxItems))
    			return &maxItems
    		}
    		return unbounded
    	default:
    		return uint64ptr(1)
    	}
    }
    
    func zeroIfNegative(v int64) int64 {
    	if v < 0 {
    		return 0
    	}
    	return v
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

    import jcifs.util.Hexdump;
    
    
    /**
     * 
     */
    public class Trans2FindNext2 extends SmbComTransaction {
    
        private int sid, informationLevel, resumeKey, tflags;
        private String filename;
        private long maxItems;
    
    
        /**
         * 
         * @param config
         * @param sid
         * @param resumeKey
         * @param filename
         * @param batchCount
         * @param batchSize
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/deepcopy.go

    		}
    	}
    
    	if in.MinLength != nil {
    		in, out := &in.MinLength, &out.MinLength
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    	if in.MaxItems != nil {
    		in, out := &in.MaxItems, &out.MaxItems
    		if *in == nil {
    			*out = nil
    		} else {
    			*out = new(int64)
    			**out = **in
    		}
    	}
    
    	if in.MinItems != nil {
    		in, out := &in.MinItems, &out.MinItems
    		if *in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    			if itemsType == nil {
    				return nil
    			}
    			var maxItems int64
    			if s.MaxItems() != nil {
    				maxItems = zeroIfNegative(*s.MaxItems())
    			} else {
    				maxItems = estimateMaxArrayItemsFromMinSize(itemsType.MinSerializedSize)
    			}
    			return apiservercel.NewListType(itemsType, maxItems)
    		}
    		return nil
    	case "object":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top