Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for Reserve (0.14 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy

        def "does not reserve idle client when no clients"() {
            expect:
            manager.reserveIdleClient(options) == null
        }
    
        def "does not reserve idle client when no matching client found"() {
            def noMatch = Stub(WorkerDaemonClient) {
                isCompatibleWith(_) >> false
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/runtime/cgo/asm_arm.s

    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	SUB	$(8*9), R13 // Reserve space for the floating point registers.
    	// The C arguments arrive in R0, R1, R2, and R3. We want to
    	// pass R0, R1, and R3 to Go, so we push those on the stack.
    	// Also, save C callee-save registers R4-R12.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

      mlir::DictionaryAttr tf_attrs =
          entry_function->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function");
      llvm::SmallVector<llvm::StringRef, 4> function_input_names;
      function_input_names.reserve(model_flags.input_arrays().size());
      auto input_attr = tf_attrs.get("inputs");
      if (!input_attr) {
        return errors::InvalidArgument("no inputs attribute found");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

                         llvm::ArrayRef<Value> outputs, OpBuilder* builder) {
      llvm::SmallVector<Type, 4> operand_types;
      operand_types.reserve(inputs.size());
      for (Value v : inputs) operand_types.emplace_back(v.getType());
      llvm::SmallVector<Type, 4> output_types;
      output_types.reserve(outputs.size());
      for (Value v : outputs) output_types.emplace_back(v.getType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc

        llvm::SmallVectorImpl<tf_executor::IslandOp>& executes,
        bool legacy_graph_export, int parallel_group_idx) {
      const int num_regions = parallel_execute_op.getOperation()->getNumRegions();
      executes.reserve(num_regions);
    
      for (int i : llvm::seq<int>(0, num_regions)) {
        Block& execute_block = parallel_execute_op.GetRegionBlockWithIndex(i);
    
        // Replace terminator with tf_executor.YieldOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

      mlir::OpBuilder builder(func.getBody());
      auto& bb = func.front();
      auto loc = func.getLoc();
    
      int num_args = bb.getNumArguments();
      llvm::SmallVector<Type, 4> input_types;
      input_types.reserve(num_args);
      // Edit the block arguments and create the new input ops in place to replace
      // the old input ops and quantize ops.
      for (int i = 0; i != num_args; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.cc

      if (!attr) return success();
    
      // ID pairs are separated by `,`.
      llvm::SmallVector<std::string, 8> str_list =
          absl::StrSplit(attr.getValue().str(), ',', absl::SkipWhitespace());
      id_pairs.reserve(str_list.size());
      for (const std::string& str : str_list) {
        // IDs of one pair are separated by `:`.
        llvm::SmallVector<std::string, 8> id_pair = absl::StrSplit(str, ':');
    
        // Check for malformed IDs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    GetTPUDevices(ParsedDevices devices,
                  llvm::ArrayRef<ParsedDevice> system_devices) {
      llvm::SmallVector<llvm::SmallVector<ParsedDevice, 8>, 8> tpu_devices;
      tpu_devices.reserve(system_devices.size());
    
      auto lookup = [&devices](ParsedDevice device_spec) {
        device_spec.has_type = true;
        device_spec.type = kDeviceTPU;
        // Enumerate all the available TPUs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      std::vector<int64_t> targets;
      std::vector<Gradient*> used_in_grads;
      // We may end up with slightly fewer elements than we reserve, but grad.size()
      // should be a reasonably tight upper bound.
      targets.reserve(grad.size());
      used_in_grads.reserve(grad.size());
      std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
      for (int grad_index = 0, end = grad.size(); grad_index < end; ++grad_index) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

              IsWeightOnlyQuantizableOp(*candidate_op);
    
          // Collect all the quantized inputs and "clone" the matched op by these
          // inputs.
          SmallVector<Value, 4> inputs;
          inputs.reserve(candidate_op->getNumOperands());
          for (auto operand : candidate_op->getOperands()) {
            Type operand_type = operand.getType();
            if (mlir::isa<NoneType>(operand_type)) {
              inputs.push_back(operand);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top