Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 153 for getUnit (0.17 sec)

  1. tests/fuzz/pilot_model_fuzzer.go

    	if err != nil {
    		return si, err
    	}
    	return si, nil
    }
    
    // Gets a protocol from global var protocols
    func getProtocolInstance(f *fuzz.ConsumeFuzzer) (protocol.Instance, error) {
    	pIndex, err := f.GetInt()
    	if err != nil {
    		return protocol.Unsupported, errors.New("could not create protocolInstance")
    	}
    	i := protocols[pIndex%len(protocols)]
    	return i, nil
    }
    
    // Creates a new fuzzed Port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      for (int i = 0; i < low_pads.size(); ++i) {
        new_low_pads[i] = low_pads[i].getInt() + parent_low_pads[i].getInt();
        new_high_pads[i] = high_pads[i].getInt() + parent_high_pads[i].getInt();
        new_interior_pads[i] =
            interior_pads[i].getInt() + parent_interior_pads[i].getInt();
      }
    
      // Replace pad_op with a new pad having new attributes, taking the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc

      if (!producer) return mlir::failure();
      versions->set_producer(producer.getInt());
    
      auto min_consumer = mlir::dyn_cast_or_null<mlir::IntegerAttr>(
          version_attr.get("min_consumer"));
      if (min_consumer) versions->set_min_consumer(min_consumer.getInt());
    
      auto bad_consumers = mlir::dyn_cast_or_null<mlir::ArrayAttr>(
          version_attr.get("bad_consumers"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

        << op->getAttrOfType<mlir::IntegerAttr>("op_key").getInt() << ") device("
        << op->getAttr("device") << ") " << op->getAttr("op_name") << "()";
    
      fallback_common::PrintExecuteOpCommon(p, op);
      fallback_common::PrintExecuteOpFuncAttribute(p, op);
    
      p << " num_args(" << op->getAttrOfType<mlir::IntegerAttr>("num_args").getInt()
        << ')';
    }
    
    void ExecuteOp::print(OpAsmPrinter &p) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/replica_id_to_device_ordinal.cc

        for (auto op : require_device_ordinal_ops) {
          if (op->getAttrOfType<IntegerAttr>(kDeviceOrdinalAttr).getInt() == -1) {
            OpBuilder builder(op);
            int device_ordinal =
                op->getAttrOfType<IntegerAttr>(kReplicaIdAttr).getInt() %
                device_num;
            op->setAttr(kDeviceOrdinalAttr,
                        builder.getI64IntegerAttr(device_ordinal));
          }
        }
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. src/packaging/common/scripts/preinst

        . "$FESS_ENV_FILE"
    fi
    
    case "$1" in
    
        # Debian ####################################################
        install|upgrade)
    
            # Create fess group if not existing
            if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_GROUP group..."
                addgroup --quiet --system "$FESS_GROUP"
                echo " OK"
            fi
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

      for (int i : llvm::seq<int>(1, num_dims - 1)) {
        Value input_size_i = GetDimValue(builder, loc, input_shape_value, i);
        const int stride_i = mlir::cast<IntegerAttr>(strides[i]).getInt();
        const int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt();
        const int filter_i = filter_shape.getDimSize(i - 1);
        Value pad_i_low, pad_i_high;
        GetSamePaddingValues(builder, loc, input_size_i, filter_i, dilation_i,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformChain.java

            this.init = init;
            this.last = last;
        }
    
        /**
         * @return The initial steps of this chain, or null if this chain only contains one step.
         */
        @Nullable
        public TransformChain getInit() {
            return init;
        }
    
        /**
         * @return The last step of this chain.
         */
        public TransformStep getLast() {
            return last;
        }
    
        public boolean requiresDependencies() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. tests/fuzz/aggregate_controller_fuzzer.go

    	err := f.GenerateStruct(&opts)
    	if err != nil {
    		return 0
    	}
    	opts.MeshHolder = meshHolder
    	c := aggregate.NewController(opts)
    
    	iterations, err := f.GetInt()
    	if err != nil {
    		return 0
    	}
    	for i := 0; i < iterations%30; i++ {
    		opType, err := f.GetInt()
    		if err != nil {
    			return 0
    		}
    		switch ops[opType%maxOps] {
    		case "AddRegistry":
    			err = runAddRegistry(f, c)
    		case "DeleteRegistry":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top