Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 7,453 for Reserve (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_parallel_execute_sink_resource_write.cc

        Block& block = parallel_execute.GetRegionBlockWithIndex(i);
        auto results = parallel_execute.GetRegionOutputs(i);
        auto& results_to_remove = results_to_remove_by_region[i];
        results_to_remove.reserve(results.size());
        Operation* terminator = block.getTerminator();
        for (auto result : llvm::enumerate(results)) {
          TF::AssignVariableOp assign_var =
              GetSingleUseResourceWrite(parallel_execute, result.value());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 06 04:46:18 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  2. src/runtime/rt0_netbsd_arm64.s

    	CBZ	R4, nocgo
    	MOVD	$_rt0_arm64_netbsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_netbsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc

      computeInputsOutputs(ops, &inputs, &outputs);
    
      std::vector<Type> input_types;
      std::vector<Type> output_types;
    
      input_types.reserve(inputs.size());
      for (Value v : inputs) {
        input_types.push_back(v.getType());
      }
      output_types.reserve(outputs.size());
      for (Value v : outputs) {
        output_types.push_back(v.getType());
      }
    
      // Create the function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

                            llvm::SmallVectorImpl<int64_t>* shape) {
      shape->reserve(input_shape.dims());
      for (const auto& d : input_shape) {
        shape->push_back(d.size == kTFDynamicSize ? ShapedType::kDynamic : d.size);
      }
    }
    
    Status ConvertToMlirShape(const TensorShapeProto& input_shape,
                              llvm::SmallVectorImpl<int64_t>* shape) {
      shape->reserve(input_shape.dim_size());
      auto& dims = input_shape.dim();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/runtime/rt0_linux_arm64.s

    	CBZ	R4, nocgo
    	MOVD	$_rt0_arm64_linux_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_linux_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    	BL	(R4)
    
    restore:
    	// Restore callee-save registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/rt0_openbsd_arm64.s

    	BL	(R4)
    
    	// Create a new thread to do the runtime initialization and return.
    	MOVD	_cgo_sys_thread_create(SB), R4
    	CBZ	R4, nocgo
    	MOVD	$_rt0_arm64_openbsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP		// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_openbsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. src/runtime/rt0_freebsd_arm64.s

    	MOVD	_cgo_sys_thread_create(SB), R4
    	CBZ	R4, nocgo
    	MOVD	$_rt0_arm64_freebsd_lib_go(SB), R0
    	MOVD	$0, R1
    	SUB	$16, RSP	// reserve 16 bytes for sp-8 where fp may be saved.
    	BL	(R4)
    	ADD	$16, RSP
    	B	restore
    
    nocgo:
    	MOVD	$0x800000, R0                     // stacksize = 8192KB
    	MOVD	$_rt0_arm64_freebsd_lib_go(SB), R1
    	MOVD	R0, 8(RSP)
    	MOVD	R1, 16(RSP)
    	MOVD	$runtime·newosproc0(SB),R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 01:28:43 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/variable_info_util.cc

                                      const std::set<int>* variables_updated,
                                      std::vector<VariableInfo>* result) {
      result->clear();
      result->reserve(variable_indices.size());
      for (int var_idx : variable_indices) {
        Var* variable = nullptr;
        if (inputs[var_idx]->NumElements() == 0) {
          return errors::InvalidArgument("Empty resource tensor passed  at index ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

      if (!session) return module.emitOpError() << "no session provided";
    
      // Read all resource variables from the session.
      std::vector<std::string> variable_names;
      variable_names.reserve(resource_names.size());
      for (StringRef name : resource_names) variable_names.push_back(name.str());
    
      std::vector<Tensor> resource_tensors;
      Status status = session->Run(
          /*inputs=*/{}, variable_names,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

        return (emitError(loc, "unsupported FakeQuant number of bits: ") << numBits,
                nullptr);
      }
    
      SmallVector<double, 4> scales;
      SmallVector<int64_t, 4> zeroPoints;
      scales.reserve(axisSize);
      zeroPoints.reserve(axisSize);
      for (size_t axis = 0; axis != axisSize; ++axis) {
        double rmin = rmins[axis];
        double rmax = rmaxs[axis];
        if (std::fabs(rmax - rmin) < std::numeric_limits<double>::epsilon()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top