Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Reed (0.17 sec)

  1. cmd/test-utils_test.go

    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      Define(-1, {}, {feed}, {feed}, {});
    
      // Use, run, and verify
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed});
      Run({{func_feed, Int32Tensor(3)}}, func_op, 3);
      VerifyFDef(empty_, {{"feed_0", DT_INT32}}, {{"feed", DT_INT32}},
                 {{"feed_0", "feed"}}, {});
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. tensorflow/c/c_api_test.cc

    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. configure.py

        environ_cp['TF_NEED_CUDA'] = '0'
      else:
        environ_cp['TF_NEED_CUDA'] = str(
            int(get_var(environ_cp, 'TF_NEED_CUDA', 'CUDA', False)))
      if (environ_cp.get('TF_NEED_CUDA') == '1' and
          'TF_CUDA_CONFIG_REPO' not in environ_cp):
    
        set_action_env_var(
            environ_cp,
            'TF_NEED_TENSORRT',
            'TensorRT',
            False,
            bazel_config_name='tensorrt')
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

            ),
        ] = None,
        include_in_schema: Annotated[
            bool,
            Doc(
                """
                To include (or not) this parameter field in the generated OpenAPI.
                You probably don't need it, but it's available.
    
                This affects the generated OpenAPI (e.g. visible at `/docs`).
                """
            ),
        ] = True,
        json_schema_extra: Annotated[
            Union[Dict[str, Any], None],
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    				// Linux returns InvalidArg for directory O_DIRECT
    				// we need to keep this fallback code to return correct
    				// errors upwards.
    				return nil, dmTime, errFileNotFound
    			}
    			return nil, dmTime, errUnsupportedDisk
    		}
    		return nil, dmTime, err
    	}
    
    	if discard {
    		// This discard is mostly true for DELETEEs
    		// so we need to make sure we do not keep
    		// page-cache references after.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    		//   however writing the response doesn't need to serialize
    		//   concurrent writers
    		unlockOnDefer = true
    		nsUnlocker = func() { lock.RUnlock(lkctx) }
    	}
    
    	fi, metaArr, onlineDisks, err := er.getObjectFileInfo(ctx, bucket, object, opts, true)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 76.3K bytes
    - Viewed (2)
  8. .bazelrc

    build:tpu --copt=-DLIBTPU_ON_GCE
    build:tpu --define=enable_mlir_bridge=true
    
    build:tensorrt --repo_env TF_NEED_TENSORRT=1
    
    build:rocm --crosstool_top=@local_config_rocm//crosstool:toolchain
    build:rocm --define=using_rocm_hipcc=true
    build:rocm --define=tensorflow_mkldnn_contraction_kernel=0
    build:rocm --repo_env TF_NEED_ROCM=1
    
    build:sycl --crosstool_top=@local_config_sycl//crosstool:toolchain
    build:sycl --define=using_sycl=true
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 23 01:21:54 GMT 2024
    - 53.4K bytes
    - Viewed (2)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //
    // Note that to test the local filesystem we use an empty value.
    
    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    // As we need to test multiple URI schemes we need a parameterized test.
    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top