Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for countBuf (0.86 sec)

  1. src/runtime/profbuf.go

    	return uint32(x >> 34)
    }
    
    // countSub subtracts two counts obtained from profIndex.dataCount or profIndex.tagCount,
    // assuming that they are no more than 2^29 apart (guaranteed since they are never more than
    // len(data) or len(tags) apart, respectively).
    // tagCount wraps at 2^30, while dataCount wraps at 2^32.
    // This function works for both.
    func countSub(x, y uint32) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      // input and the outputs are all using this type).
      Type control_type = ControlType::get(parser.getBuilder().getContext());
      if (FunctionType type = mlir::dyn_cast<FunctionType>(types.front())) {
        if (llvm::count_if(type.getInputs(),
                           [=](Type type) { return type != control_type; }) != 1)
          return parser.emitError(parser.getNameLoc())
                 << " expects a single data type";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // The main_outputs may include tokens that are not among the op_results;
      mlir::TypeRange main_output_types = loader->OutputTypes();
      int nr_main_token_outputs =
          llvm::count_if(main_output_types, tensorflow::IsTokenType);
      if (op_results.size() != main_output_types.size() - nr_main_token_outputs) {
        llvm::errs() << "XlaCallModule has " << op_results.size()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top