Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,381 for Reserve (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

        mlir::func::FuncOp func, Builder* builder,
        OptionalOpShardingVector& sharding_for_args) {
      // Look up function definition from module.
      Block& function_block = func.front();
    
      sharding_for_args.reserve(function_block.getNumArguments());
    
      // Iterate through operands of `cluster_func`.
      // The computation operand can either be:
      //   1) a TPUPartitionedInput Op if the input has a non-resource type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. src/runtime/sys_windows_amd64.s

    	// if called from a non-go thread.
    	XORPS	X15, X15
    	XORQ	R14, R14
    
    	get_tls(AX)
    	CMPQ	AX, $0
    	JE	2(PC)
    	// Exception from Go thread, set R14.
    	MOVQ	g(AX), R14
    
    	// Reserve space for spill slots.
    	ADJSP	$16
    	MOVQ	CX, AX
    	MOVQ	DX, BX
    	// Calling ABIInternal because TLS might be nil.
    	CALL	runtimeĀ·sigtrampgo<ABIInternal>(SB)
    	// Return value is already stored in AX.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        tensorflow::shape_inference::InferenceContext* ic, int num_dims,
        const int64_t* dims) {
      if (num_dims != -1) {
        std::vector<tensorflow::shape_inference::DimensionHandle> dim_vec;
        dim_vec.reserve(num_dims);
        for (int i = 0; i < num_dims; ++i) {
          dim_vec.push_back(ic->MakeDim(dims[i]));
        }
        return ic->MakeShape(dim_vec);
      } else {
        return ic->UnknownShape();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    ConvertI64ArrayAttrForOptionWriter(mlir::ArrayAttr attrArray,
                                       flatbuffers::FlatBufferBuilder* builder) {
      std::vector<int32_t> intVec;
      intVec.reserve(attrArray.getValue().size());
      for (auto attr : attrArray.getValue()) {
        intVec.push_back(mlir::cast<mlir::IntegerAttr>(attr).getInt());
      }
      return builder->CreateVector(intVec);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/qos_container_manager_linux.go

    	// update qos cgroup tiers on startup and in periodic intervals
    	// to ensure desired state is in sync with actual state.
    	go wait.Until(func() {
    		err := m.UpdateCgroups()
    		if err != nil {
    			klog.InfoS("Failed to reserve QoS requests", "err", err)
    		}
    	}, periodicQOSCgroupUpdateInterval, wait.NeverStop)
    
    	return nil
    }
    
    // setHugePagesUnbounded ensures hugetlb is effectively unbounded
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    		// remaining time.
    		if gp := timeout / 20; gp > gracePeriod {
    			gracePeriod = gp
    		}
    
    		// When we run commands that execute subprocesses, we want to reserve two
    		// grace periods to clean up. We will send the first termination signal when
    		// the context expires, then wait one grace period for the process to
    		// produce whatever useful output it can (such as a stack trace). After the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

      std::vector<int64_t> size_as_vector;
    };
    
    std::vector<int64_t> IntTensorAsVector(const Tensor& t) {
      DCHECK(t.dtype() == DT_INT32 || t.dtype() == DT_INT64);
      std::vector<int64_t> result;
      result.reserve(t.NumElements());
      for (int i = 0; i < t.NumElements(); i++) {
        int64_t element = t.dtype() == DT_INT32
                              ? static_cast<int64_t>(t.flat<int32>()(i))
                              : t.flat<int64_t>()(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

    }
    
    Value GetR1Const(ArrayRef<int64_t> r1, OpBuilder builder, Location loc,
                     int bitwidth) {
      llvm::SmallVector<APInt, 4> values;
      int64_t rank = r1.size();
      values.reserve(rank);
      for (int i = 0; i < rank; ++i) values.push_back(APInt(bitwidth, r1[i]));
      auto result_type = tensorflow::GetTypeFromTFTensorShape(
          {rank}, IntegerType::get(builder.getContext(), bitwidth));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. cmd/kubelet/app/options/options.go

    	fs.StringVar(&c.KubeReservedCgroup, "kube-reserved-cgroup", c.KubeReservedCgroup, "Absolute name of the top level cgroup that is used to manage kubernetes components for which compute resources were reserved via '--kube-reserved' flag. Ex. '/kube-reserved'. [default='']")
    	logsapi.AddFlags(&c.Logging, fs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  10. src/runtime/arena.go

    }
    
    // userArenaChunkReserveBytes returns the amount of additional bytes to reserve for
    // heap metadata.
    func userArenaChunkReserveBytes() uintptr {
    	// In the allocation headers experiment, we reserve the end of the chunk for
    	// a pointer/scalar bitmap. We also reserve space for a dummy _type that
    	// refers to the bitmap. The PtrBytes field of the dummy _type indicates how
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top